Computes the approximate log-likelihood using the forward filter clouds. See
the vignette("Particle_filtering", "dynamichazard")
for details.
# S3 method for PF_EM
logLik(object, ...)# S3 method for PF_clouds
logLik(object, df = NA_real_, nobs = NA_integer_, ...)
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.
an object of class PF_clouds
or PF_EM
.
unused.
degrees of freedom used in the model.
integer with number of individuals used to estimate the model.