Create an ARMA model representing a filter or system model, or convert other forms to an ARMA model.
Arma(b, a)as.Arma(x,...)## S3 method for class 'Arma'as.Arma(x,...)## S3 method for class 'Ma'as.Arma(x,...)## S3 method for class 'Sos'as.Arma(x,...)## S3 method for class 'Zpg'as.Arma(x,...)
Arguments
b: moving average (MA) polynomial coefficients.
a: autoregressive (AR) polynomial coefficients.
x: model or filter to be converted to an ARMA representation.
...: additional arguments (ignored).
Returns
A list of class 'Arma' with the following list elements:
b: moving average (MA) polynomial coefficients
a: autoregressive (AR) polynomial coefficients
Details
The ARMA model is defined by:
a(L)y(t)=b(L)x(t)
The ARMA model can define an analog or digital model. The AR and MA polynomial coefficients follow the convention in 'Matlab' and 'Octave' where the coefficients are in decreasing order of the polynomial (the opposite of the definitions for filterfilter and polyroot). For an analog model,
For a z-plane digital model,
as.Arma converts from other forms, including Zpg and Ma.
Examples
filt <- Arma(b = c(1,2,1)/3, a = c(1,1))zplane(filt)
See Also
See also Zpg, Ma, filter, and various filter-generation functions like butter and cheby1 that return Arma models.