predict-methods         package:fRegression         R Documentation

_R_e_g_r_e_s_s_i_o_n _M_o_d_e_l_s _P_r_e_d_i_c_t_i_o_n _F_u_n_c_t_i_o_n

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

     Predicts a time series from a fitted regression model.

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

     ## S4 method for signature 'fREG':
     predict(object, newdata, se.fit = FALSE, type = "response", ...)

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

 newdata: new data. 

  object: an object of class 'fREG' as returned from the function
          'regFit()'. 

  se.fit: a logical flag. Should standard errors be included? By
          default 'FALSE'. 

    type: a character string by default '"response"'. 

     ...: arguments to be passed. 

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

     returns ...

_M_e_t_h_o_d_s:



     _o_b_j_e_c_t = "_A_N_Y" Generic function

     _o_b_j_e_c_t = "_f_R_E_G" Predict method for regression models.


_A_u_t_h_o_r(_s):

     Diethelm Wuertz for the Rmetrics R-port.

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

     ## regSim -
        x = regSim(model = "LM3", n = 50)
       
     ## regFit -
        fit = regFit(Y ~ X1 + X2 + X3, data = x, use = "lm")
        
     ## predict - 

