Create a DLM for seasonal factors
Description
The function creates a DLM representation of seasonal component.
Usage
1 2 3 
Arguments
frequency 
how many seasons? 
dV 
variance of the observation noise. 
dW 
diagonal elements of the variance matrix of the system noise. 
m0 
m0, the expected value of the presample state vector. 
C0 
C0, the variance matrix of the presample state vector. 
Value
An object of class dlm representing a seasonal factor for a process
with frequency
seasons.
Author(s)
Giovanni Petris GPetris@uark.edu
References
Giovanni Petris (2010), An R Package for Dynamic Linear
Models. Journal of Statistical Software, 36(12), 116.
http://www.jstatsoft.org/v36/i12/.
Petris, Petrone, and Campagnoli, Dynamic Linear Models with
R, Springer (2009).
Harvey, Forecasting, structural time series models and the
Kalman filter, Cambridge University Press, 1989.
See Also
dlmModARMA
, dlmModPoly
,
dlmModReg
, and dlmModTrig
for the Fourier
representation of a seasonal component.
Examples
1 2  ## seasonal component for quarterly data
dlmModSeas(4, dV = 3.2)
