scglm                package:forward                R Documentation

_G_o_o_d_n_e_s_s _o_f _L_i_n_k _T_e_s_t _i_n _G_L_M

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

     Computes the score test statistic for the goodness of link test in
     generalized linear models.

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

     scglm(x, y, family, weights, beta, phi = 1, offset)

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

       x: a matrix or data frame containing the explanatory variables.

       y: the response: a vector of length the number of rows of `x'.

  family: a description of the error distribution and link function to
          be used in the model. See `family' for details.

 weights: an optional vector of weights to be used in the fitting
          process.

    beta: a vector of coefficients estimates

     phi: the dispersion parameter

  offset: optional, a priori known component to be included in the
          linear predictor during fitting.

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

     See pag. 200-201 of Atkinson and Riani (2000).

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

     Return the value of the score test statistic.

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

     Originally written for S-Plus by: Kjell Konis
     kkonis@insightful.com and Marco Riani mriani@unipr.it 
      Ported to R by Luca Scrucca luca@stat.unipg.it

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

     Atkinson, A.C. and Riani, M. (2000),  _Robust Diagnostic
     Regression Analysis_, First Edition. New York: Springer, Chapter
     6.

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

     'fwdglm', 'fwdlm', 'score.s'.

