cpLogLik | R Documentation |
The function used to calculate the negative-loglikelihood of
a given carcass persistence model (cpm
) with a given data
set
cpLogLik(t1, t2, beta, nbeta_l, cellByCarc, cellMM, dataMM, dist)
t1 |
last times observed present |
t2 |
first times observed absent |
beta |
Parameters to be optimized. |
nbeta_l |
Number of parameters associated with l. |
cellByCarc |
Which cell each observation belongs to. |
cellMM |
Combined model matrix. |
dataMM |
Combined model matrix expanded to the data. |
dist |
Name of distribution. |
Negative log likelihood of the observations, given the parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.