Learn R Programming

dse (version R2000.6-1)

ARMA: ARMA Model Constructor

Description

Constructs an ARMA TSmodel object as used by the DSE package.

Usage

ARMA(A=NULL, B=NULL, C=NULL, TREND=NULL, description=NULL,
          names=NULL, input.names=NULL, output.names=NULL)
	is.ARMA(...)

Arguments

A
(axpxp) array. (The auto-regressive polynomial array.)
B
(bxpxp) array. (The moving-average polynomial array.)
C
(cxpxm) array. (The input polynomial array.) C should be NULL if there is no input

Value

  • An ARMA TSmodel

Details

The ARMA model is defined by:

Ay = Bw + Cu sometimes written

A(L)y(t) = B(L)w(t) + C(L)u(t)

where A{(axpxp) is the auto-regressive polynomial array.} B{(bxpxp) is the moving-average polynomial array.} C{ (cxpxm) is the input polynomial array. C should be NULL if there is no input} y{is the p dimensional output data.} u{is the m dimensional control (input) data.}

See Also

TSmodel

Examples

Run this code
mod1 <- ARMA(A=array(c(1,-.25,-.05), c(3,1,1)), B=array(1,c(1,1,1)))

Run the code above in your browser using DataLab