A function to perform one iteration of ther EKF. Currently UNDER DEVELOPMENT.
EKFadvance(
obs,
oldmean,
oldvar,
phi,
phi.arglist,
psi,
psi.arglist,
W,
V,
loglik = FALSE,
na.rm = FALSE
)
list containing the new mean and variance, and if specified, the likelihood
observations
old mean
old variance
Function computing a Taylor Series approximation of the system equation. Can include higher (ie 2nd order and above) terms.
arguments for function phi
Function computing a Taylor Series approximation of the observation equation. Can include higher (ie 2nd order and above) terms.
arguments for function psi
system noise matrix
observation noise matrix
whether or not to compute the pseudo-likelihood
logical, whether or not to handle NAs. Defult is FALSE. Set to TRUE if there are any missing values in the observed data.