# Combine predictions into an ensemble using the log-likelihood

Source:`R/zeitzeiger_predict.R`

`zeitzeigerEnsembleLikelihood.Rd`

Make predictions by finding the maximum of the sum of the log-likelihoods.

## Arguments

- timeDepLike
List or 3-D array of time-dependent likelihood from

`zeitzeigerPredict()`

. If a list, then each element (for each member of the ensemble) should be a matrix in which rows correspond to observations and columns correspond to time-points. If a 3-D array, the three dimensions should correspond to observations, time-points, and members of the ensemble.- timeRange
Vector of time-points at which the likelihood was calculated.

## Value

- timeDepLike
Matrix of likelihood for observations by time-points.

- timePred
Vector of predicted times. Each predicted time will be an element of timeRange.