lof                package:quantchem                R Documentation

_L_a_c_k-_o_f-_F_i_t _t_e_s_t_i_n_g _o_f _c_a_l_i_b_r_a_t_i_o_n _m_o_d_e_l_s

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

     Performs 'a priori' ANOVA "Lack-of-Fit" tests on fitted
     calibration models.

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

     lof(obj)

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

     obj: An object inheriting from 'cal' (fitted by 'lmcal' or
          'nlscal') 

_D_e_t_a_i_l_s:

     This function performs lack-of-fit test on regression residuals.
     This test assumes, that overall residual error should not be
     significantly larger than error within groups with the same x
     (replicates). It is called by 'summary' methods, but also can be
     called directly by user.

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

     A matrix containing sum of squared residuals, sum of pure error,
     F-statistic and corresponding p-value.

_N_o_t_e:

     This test is possible to perform only with minimum 2 replicates of
     each x value.

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

     Lukasz Komsta

_R_e_f_e_r_e_n_c_e_s:

     see 'lmcal'

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

     'lmcal', 'nlscal'

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

     x = rep(1:10,10)
     y = jitter(x)
     fit = lmcal(x,y)
     lof(fit)

