logLik.PF_EM | R Documentation |
Computes the approximate log-likelihood using the forward filter clouds. See
the vignette("Particle_filtering", "dynamichazard")
for details.
## S3 method for class 'PF_EM' logLik(object, ...) ## S3 method for class 'PF_clouds' logLik(object, df = NA_real_, nobs = NA_integer_, ...)
object |
an object of class |
... |
unused. |
df |
degrees of freedom used in the model. |
nobs |
integer with number of individuals used to estimate the model. |
The approximate log-likelihood value given the observed data and set of
parameter used when simulating the clouds. An attribute
"P(y_t|y_{1:(t-1)})"
has the P(y_t|y_{1:(t-1)}) terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.