ARMAtoMA                package:stats                R Documentation

_C_o_n_v_e_r_t _A_R_M_A _P_r_o_c_e_s_s _t_o _I_n_f_i_n_i_t_e _M_A _P_r_o_c_e_s_s

_D_e_s_c_r_i_p_t_i_o_n:

     Convert ARMA process to infinite MA process.

_U_s_a_g_e:

     ARMAtoMA(ar = numeric(0), ma = numeric(0), lag.max)

_A_r_g_u_m_e_n_t_s:

      ar: numeric vector of AR coefficients

      ma: numeric vector of MA coefficients

 lag.max: Largest MA(Inf) coefficient required.

_V_a_l_u_e:

     A vector of coefficients.

_R_e_f_e_r_e_n_c_e_s:

     Brockwell, P. J. and Davis, R. A. (1991) _Time Series: Theory and
     Methods_, Second Edition.  Springer.

_S_e_e _A_l_s_o:

     'arima', 'ARMAacf'.

_E_x_a_m_p_l_e_s:

     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)

