home *** CD-ROM | disk | FTP | other *** search
-
- _T_h_e _P_o_i_s_s_o_n _D_i_s_t_r_i_b_u_t_i_o_n
-
- dpois(x, lambda)
- ppois(q, lambda)
- qpois(p, lambda)
- rpois(n, lambda)
-
- _A_r_g_u_m_e_n_t_s:
-
- x : vector of (positive) quantiles.
-
- p : vector of probabilities.
-
- n : number of random values to return.
-
- lambda : vector of positive means.
-
- _D_e_s_c_r_i_p_t_i_o_n:
-
- These functions provide information about the Poisson
- distribution with parameter lambda. dpois gives the
- density, ppois gives the distribution function qpois
- gives the quantile function and rpois generates random
- deviates.
-
- The Poisson distribution has density
-
- p(x) = lambda^x exp(-lambda)/x!
-
- for x = 0, 1, 2, ....
-
- _E_x_a_m_p_l_e_s:
-
- -log(dpois(0:7, lambda=1) * gamma(1+ 0:7))
- Ni <- rpois(50, lam= 4); table(factor(Ni, 0:max(Ni)))
-
-