Description Usage Arguments Details Value See Also
Function approxSMM
computes the linear Gaussian
approximation of a state space model where the
observations have a non-Gaussian exponential family
distribution. Currently only Poisson and Binomial
distributions are supported.
1 |
object |
Non-Gaussian state space model object of
class |
theta |
Initial values for conditional mode theta.
Default is |
maxiter |
Maximum number of iterations used in linearisation. Default is 100. |
The linear Gaussian approximating model is a model defined by
ytilde[t] = Z[t]α[t] + ε[t], ε[t] ~ N(0,Htilde[t]),
α[t+1] = T[t]α[t] + R[t]η[t], η[t] ~ N(0,Q[t]),
and α[1] ~ N(a[1],P[1]), where ytilde and Htilde is chosen in a way that the linear Gaussian approximating model has the same conditional mode of θ=Zα given the observations y as the original non-Gaussian model. Models also have same curvature at the mode.
The linearization of the exponential family state space model is based on the first two derivatives of the observational logdensity.
The approximating Gaussian model is used in computation of the log-likelihood of the non-Gaussian model and in importance sampling of non-Gaussian model.
An object which contains the approximating Gaussian state
space model with additional components
original.distribution
, original.y
,
thetahat
, and iterations
(the number of
iterations used).
Importance sampling of non-Gaussian state space models
importanceSSM
, construct a SSModel
object SSModel
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.