View source: R/bm_kalman_logLik.R
bm_kalman_logLik | R Documentation |
Computes the exact likelihood for a model constructed using bm
,
using the Kalman filter. This model is useful for testing methods
in a situation where an exact answer is available
bm_kalman_logLik(bm_object, params = coef(bm_object))
bm_object |
A spatPomp model built using |
params |
A parameter vector at which to evaluate the log-likelihood. whereas observations occur every one time unit |
A numeric value for the log-likelihood.
Edward L. Ionides
# Further examples are provided in the tests directory
## Not run:
b <- bm()
bm_kalman_logLik(b)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.