full.score               package:mgcv               R Documentation

_G_C_V/_U_B_R_E _s_c_o_r_e _f_o_r _u_s_e _w_i_t_h_i_n _n_l_m

_D_e_s_c_r_i_p_t_i_o_n:

     Evaluates GCV/UBRE score for a GAM, given smoothing parameters.
     The routine calls 'gam.fit' to fit the model, and is usually
     called by 'nlm' to optimize the smoothing parameters. 

     This is basically a service routine for 'gam', and is not usually 
     called directly by users. It is only used in this context for GAMs
     fitted by outer iteration (see 'gam.outer') when the the outer
     method is  '"nlm.fd"' (see 'gam.method').

_U_s_a_g_e:

     full.score(sp,G,family,control,gamma,pearson)

_A_r_g_u_m_e_n_t_s:

      sp: The logs of the smoothing parameters

       G: a list returned by 'gam.setup'

  family: The family object for the GAM.

 control: a list returned be 'gam.control'

   gamma: the degrees of freedom inflation factor (usually 1).

 pearson: whether the GCV/UBRE score should be based on the Pearson
          statistic or the deviance. The deviance is usually
          preferable.

_V_a_l_u_e:

     The value of the GCV/UBRE score, with attribute
     '"full.gam.object"' which is the full object returned by
     'gam.fit'.

_A_u_t_h_o_r(_s):

     Simon N. Wood simon.wood@r-project.org

