Description Usage Arguments Value
This function calculates the log-likelihood (LL). It takes as input three vectors (or matrices) with one containing the real y's, one with the predicted y's from the model and the last one with the variance of the y's.
1 | loglik(y, ypred, Vpred)
|
y |
Response data |
ypred |
Mean of predicted responses |
Vpred |
Variance of the predicted responses |
LL for the given data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.