zeitzeigerEnsembleLikelihood: Combine predictions into an ensemble using the log-likelihood

View source: R/zeitzeiger_predict.R

zeitzeigerEnsembleLikelihoodR Documentation

Combine predictions into an ensemble using the log-likelihood

Description

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.

See Also

zeitzeigerPredict(), zeitzeigerEnsembleMean()


hugheylab/zeitzeiger documentation built on Dec. 7, 2022, 2:29 a.m.