

ar(bats)                                     R Documentation

_F_i_t _a_u_t_o_r_e_g_r_e_s_s_i_v_e _m_o_d_e_l_s _t_o _t_i_m_e _s_e_r_i_e_s

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

     This is just a wrapper for the functions `ar.yw' and
     `ar.burg'.

_U_s_a_g_e_:

     ar(x, aic=TRUE, order.max=NULL, method=c("yule-walker", "burg"))

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

       x: A time series

     aic: Logical flag. If `TRUE' then the Akaike Informa-
          tion Criterion is used to choose the order of the
          autoregressive model.

order.max: Maximum order of model to fit. Defaults to
          10*log10(N) where N is the number of observations.

  method: Character string giving the method used to fit the
          model.  Must be one of `yule-walker' or `burg'
          (the first few characters are sufficient).
          Defaults to `yule-walker'.

_A_u_t_h_o_r_(_s_)_:

     Martyn Plummer

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

     `ar.yw'

