

masp(timeslab)                               R Documentation

_C_a_l_c_u_l_a_t_e _M_A _S_p_e_c_t_r_a_l _D_e_n_s_i_t_y _F_u_n_c_t_i_o_n

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

     Calculate MA Spectral Density Function

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

     masp(beta,rvar=1,Q=256)

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

    beta: Array of length $q$ containing coefficients $eta$.

    rvar: Real scalar containing error variance
          $sigma^2(>0)$.

       Q: Integer $(>q)$ containing the number of frequen-
          cies between 0 and 1 at which to calculate the
          spectral density.

_V_a_l_u_e_:

    masp: returns the array {`f'} of length $m =
          [{t{Q}}/2]+1$ containing the MA spectra at fre-
          quencies $(j-1)/{t{Q}},j=1...,m$.

