Skip to contents

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

Usage

zeitzeigerEnsembleLikelihood(timeDepLike, timeRange)

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.