Log-likelihood of a Non-linear State Space Model
Computes the log-likelihood of a state space model of class ssm_nlg
package.
## S3 method for class 'ssm_nlg' logLik( object, particles, method = "bsf", max_iter = 100, conv_tol = 1e-08, iekf_iter = 0, seed = sample(.Machine$integer.max, size = 1), ... )
object |
Model model. |
particles |
Number of samples for particle filter. If 0,
approximate log-likelihood is returned either based on the Gaussian approximation or EKF,
depending on the |
method |
Sampling method. Default is the bootstrap particle filter ( |
max_iter |
Maximum number of iterations for gaussian approximation algorithm. |
conv_tol |
Tolerance parameter for the approximation algorithm. |
iekf_iter |
If |
seed |
Seed for the random number generator. |
... |
Ignored. |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.