home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-I / help / base / NegBinomial < prev    next >
Encoding:
Text File  |  1997-04-23  |  654 b   |  23 lines

  1.     
  2.     _T_h_e _N_e_g_a_t_i_v_e _B_i_n_o_m_i_a_l _D_i_s_t_r_i_b_u_t_i_o_n
  3.     
  4.          dnbinom(x, n, p)
  5.          pnbinom(x, n, p)
  6.          qnbinom(px, n, p)
  7.          rnbinom(nobs, n, p)
  8.     
  9.     _D_e_s_c_r_i_p_t_i_o_n:
  10.     
  11.          These functions provide information about the negative
  12.          binomial distribution with parameters n and p.  dnbinom
  13.          gives the density, pnbinom gives the distribution func-
  14.          tion qnbinom gives the quantile function and rnbinom
  15.          generates random deviates.
  16.     
  17.          The negative binomial distribution has density
  18.     
  19.                    p(x) = Choose(x+n-1,x) p^n (1-p)^x
  20.     
  21.          for x = 0, 1, 2, ...
  22.     
  23.