dnb2                  package:mmlcr                  R Documentation

_D_e_n_s_i_t_y _f_o_r _n_e_g_a_t_i_v_e _b_i_n_o_m_i_a_l, _u_s_e_d _i_n _m_m_l_c_r

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

     The density for the negative binomial function, in a form suitable
     for the mmlcrlike function.

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

     dnb2(y, mu, th)

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

       y: Observations 

      mu: The mean of the distribution 

      th: The parameter theta. 

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

     The variance function of the distribution is mu +mu^2/theta.

     The density is 

 f(y) = [Gamma(th + y) mu^y theta^th]  / [Gamma(th) y! (mu + th)^(mu + th)].

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

     The density.

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

     Venables, W. N. and Ripley, B. D. 2002 _Modern Applied Statistics
     with S_, Springer Verlag.

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

     'mmlcr', 'mmlcrlike'

