Description Slots Methods References See Also
This class defines a structural time series model.
callObject of class call. Call to stsm.model.
modelObject of class character. Name or label for the selected model (see
stsm.model for available models).
yObject of class ts. Original time series.
diffyObject of class ts. Differenced series y. The differencing
operator that renders stationarity in the model is applied to the series y.
xregAn optinal matrix or numeric vector of external regressors.
fdiffObject of class function. Function with arguments
x: a ts object, s: periodicity of the data. This function
applies the differencing operator that renders stationarity in the model
to a ts object passed to it.
ssObject of class list. Matrices of the state space form
of the structural model.
parsObject of class numeric. Named vector with the parameters of the model.
noparsOptional object of class numeric. An optional named vector with the remaining
parameters of the model not included in pars.
This slot is not affected by the transformation of parameters transPars.
These parameters are considered fixed in the optimization procedures implemented in package stsm.
cparOptional object of class numeric. Named vector of length one containing the
parameter that is concentrated out of the likelihood function (if any).
lowerObject of class numeric. Named vector with the lower bounds for
pars.
upperObject of class numeric. Named vector with the upper bounds
for pars.
transParsCharacter string referring to the parameterization of the model, see
transPars.
ssdOptional object of class numeric. Sample spectral density
(periodogram) of the differenced series diffy.
sgfcOptional object of class matrix. Constant elements in the spectral
generating function of the model (for pure variance models).
char2numericReturn a list containing the matrices of the state
space representation of the model. The matrices are the same as those in the slot ss
but the characters are replaced by the corresponding numeric values defined
in pars, nopars and cpar.
checkboundsCheck whether the values of pars lie within the
lower and upper bounds.
get.parsReturn the slot pars, the parameters of the model.
If the model is parameterized in terms of a set of auxiliary parameters such as those considered
in transPars, then the transformed parameters are returned.
Thus, when the slot transPars is not NULL
x@pars will not be equal to get.pars(x).
get.cparReturn the slot cpar.
get.noparsReturn the slot nopars.
set.cparSet or modify the value of the slot cpar
set.noparsSet or modify the value of the slot nopars.
set.parsSet or modify the value of the slot pars.
set.sgfcCompute and set the value of the slot sgfc.
set.xregSet or modify the value of the slot xreg.
setValidityCheck the validity of the arguments passed to the function.
showShow a brief summary of the object.
transParsTransform the parameters of the model according to the parameterization
defined in the slot transPars.
Christophe Genolini. A (Not So) Short Introduction to S4. Object Oriented Programming in R. V0.5.1. August 20, 2008.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.