rv                  package:locfit                  R Documentation

_R_e_s_i_d_u_a_l _v_a_r_i_a_n_c_e _f_r_o_m _a "_l_o_c_f_i_t" _o_b_j_e_c_t.

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

     As part of the 'locfit' fitting procedure, an estimate of the
     residual variance is computed; the 'rv' function extracts the
     variance from the '"locfit"' object. The estimate used is the
     residual sum of squares (or residual deviance, for
     quasi-likelihood models), divided by the residual degrees of
     freedom.

     For likelihood (not quasi-likelihood) models, the estimate is 1.0.

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

     rv(fit)

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

     fit: '"locfit"' object. 

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

     Returns the residual variance estimate from the '"locfit"' object.

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

     locfit, rv<-

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

     data(ethanol)
     fit <- locfit(NOx~E,data=ethanol)
     rv(fit)

