Description Usage Arguments Value
The likelihood approximation is based on an approximation of the process by a second-order equivalent process with complete reporting.
1 2 3 4 5 6 7 8 9 10 | nllik_homog(
observed,
nu,
phi,
kappa,
psi,
q,
max_lag = 5,
return_contributions = FALSE
)
|
observed |
a time series of counts (numeric vector) |
nu, phi, kappa, psi |
the model parameters (scalars) |
q |
the assumed reporting probability |
max_lag |
in evaluation of likelihood only lags up to max_lag are taken into account |
return_contributions |
shall the log-likelihood contributions of each time point be returned (as vector)? |
The log-likelihood as scalar or (if return_contributions == TRUE
) the vector of
log-likelihood contributions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.