Description Usage Arguments Value
Produce a matrix of log likelihood density for each observational data point in each parameter sample for the model. The result is a matrix with data points in rows and model samples in columns. If the samples are uniform (i.e., instead of MCMC), then the samples will need to be weighted by their posterior probabilities. In this case, a vector of log weight factors is also produced.
1 | pointwise_loglike(aScenarioList, weighted)
|
aScenarioList |
A list of ScenarioInfo structures. They should all be from the same model (i.e., the same expectation type). |
weighted |
Flag indicating whether posterior probability weight factors should also be produce |
A list with the matrix of log likelihood density values and, if
weighted==TRUE
, a vector of log posterior probabilities for weighting.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.