pdl                package:fUtilities                R Documentation

_P_o_l_y_n_o_m_i_a_l _D_i_s_t_r_i_b_u_t_e_d _L_a_g_s

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

     Returns a regressor matrix for polynomial distributed  lags.

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

     pdl(x, d = 2, q = 3, trim = FALSE)

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

       x: a numeric vector. 

       d: an integer specifying the order of the polynomial.  

       q: an integer specifying the number of lags to use in  creating
          polynomial distributed lags. This must be  greater than d.  

    trim: a logical flag; if TRUE, the missing values at  the beginning
          of the returned matrix will be trimmed.   

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

     'tslag'.

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

     ## pdl -
        #                                      

