negative.binomial            package:MASS            R Documentation

_F_a_m_i_l_y _f_u_n_c_t_i_o_n _f_o_r _N_e_g_a_t_i_v_e _B_i_n_o_m_i_a_l _G_L_M_s

_D_e_s_c_r_i_p_t_i_o_n:

     Specifies the information required to fit a Negative Binomial
     generalized linear model, with known 'theta' parameter, using
     'glm()'.

_U_s_a_g_e:

     negative.binomial(theta = stop("'theta' must be specified"), link = "log")

_A_r_g_u_m_e_n_t_s:

   theta: The known value of the additional parameter, 'theta'. 

    link: The link function, as a character string, name or one-element
          character vector specifying one of 'log', 'sqrt' or
          'identity', or an object of class '"link-glm"'. 

_V_a_l_u_e:

     An object of class '"family"', a list of functions and expressions
     needed by 'glm()' to fit a Negative Binomial generalized linear
     model.

_R_e_f_e_r_e_n_c_e_s:

     Venables, W. N. and Ripley, B. D. (1999) _Modern Applied
     Statistics with S-PLUS._ Third Edition. Springer.

_S_e_e _A_l_s_o:

     'glm.nb', 'anova.negbin', 'summary.negbin'

_E_x_a_m_p_l_e_s:

     # Fitting a Negative Binomial model to the quine data
     #   with theta = 2 assumed known.
     #
     glm(Days ~ .^4, family = negative.binomial(2), data = quine)

