Learn R Programming

astsa (version 1.9)

ARMAtoAR: Convert ARMA Process to Infinite AR Process

Description

Gives the \(\pi\)-weights in the invertible representation of an ARMA model.

Usage

ARMAtoAR(ar = 0, ma = 0, lag.max=20)

Arguments

ar

vector of AR coefficients

ma

vector of MA coefficients

lag.max

number of pi-weights desired

Value

A vector of coefficients.

References

http://www.stat.pitt.edu/stoffer/tsa4/ and http://www.stat.pitt.edu/stoffer/tsda/

Examples

Run this code
# NOT RUN {
ARMAtoAR(ar=.9, ma=.5, 10)
# }

Run the code above in your browser using DataLab