Learn R Programming

dse (version 2003.6-1)

toARMA: Convert to an ARMA Model

Description

Convert a state space model to an ARMA representation. The state is eliminated by a method which uses an equivalence that can be demonstrated by the Cayley Hamilton theorem.

Usage

toARMA(model, ...)
    ## S3 method for class 'ARMA':
toARMA(model, ...)
    ## S3 method for class 'SS':
toARMA(model, fuzz=1e-10, ...)
    ## S3 method for class 'TSestModel':
toARMA(model, ...)

Arguments

model
An object of class TSmodel.
fuzz
Parameters closer than fuzz to one or zero are set to 1.0 or 0.0 respectively
...
arguments to be passed to other methods.

Value

  • An object of class 'ARMA' 'TSmodel' containing an ARMA model.

References

See for example Aoki(1989)

See Also

toSS fixConstants

Examples

Run this code
if(is.R()) data("eg1.DSE.data.diff", package="dse1")
model <- toSS(estVARXls(eg1.DSE.data.diff))
model <- toARMA(model)

Run the code above in your browser using DataLab