Last chance! 50% off unlimited learning
Sale ends in
Convert ARMA process to infinite MA process.
ARMAtoMA(ar = numeric(), ma = numeric(), lag.max)
numeric vector of AR coefficients
numeric vector of MA coefficients
Largest MA(Inf) coefficient required.
A vector of coefficients.
Brockwell, P. J. and Davis, R. A. (1991) Time Series: Theory and Methods, Second Edition. Springer.
# NOT RUN {
ARMAtoMA(c(1.0, -0.25), 1.0, 10)
## Example from Brockwell & Davis (1991, p.92)
## answer (1 + 3*n)*2^(-n)
n <- 1:10; (1 + 3*n)*2^(-n)
# }
Run the code above in your browser using DataLab