|Authors:||Claus Dethlefsen, Søren Lundbye-Christensen|
|Title:||Formulating State Space Models in R with Focus on Longitudinal Regression Models|
|Abstract:||We provide a language for formulating a range of state space models with response densities within the exponential family. The described methodology is implemented in the R-package sspir. A state space model is specified similarly to a generalized linear model in R, and then the time-varying terms are marked in the formula. Special functions for specifying polynomial time trends, harmonic seasonal patterns, unstructured seasonal patterns and time-varying covariates can be used in the formula. The model is fitted to data using iterated extended Kalman filtering, but the formulation of models does not depend on the implemented method of inference. The package is demonstrated on three datasets.|
Page views:: 17970. Submitted: 2005-05-25. Published: 2006-04-26.
Formulating State Space Models in R with Focus on Longitudinal Regression Models
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.