home *** CD-ROM | disk | FTP | other *** search
-
- _T_h_e _G_a_m_m_a _D_i_s_t_r_i_b_u_t_i_o_n
-
- dgamma(x, shape, scale=1)
- pgamma(q, shape, scale=1)
- qgamma(p, shape, scale=1)
- rgamma(n, shape, scale=1)
-
- _A_r_g_u_m_e_n_t_s:
-
- x,q : vector of quantiles.
-
- p : vector of probabilites.
-
- n : number of observations.
-
- shape, scale : shape and scale parameters.
-
- _V_a_l_u_e:
-
- These functions provide information about the gamma
- distribution with parameters shape and scale. dgamma
- gives the density, pgamma gives the distribution func-
- tion qgamma gives the quantile function and rgamma gen-
- erates random deviates.
-
- The gamma distribution with parameters shape EQUALS a
- and scale EQUALS b has density
-
- f(x) = 1/(b^a Gamma(a)) x^(a-1) e^-(x/b)
-
- for x > 0 , a > 0 and b > 0 .
-
- _S_e_e _A_l_s_o:
-
- gamma.
-
- _E_x_a_m_p_l_e_s:
-
- -log(dgamma(1:4, shape=1))
- p <- (1:9)/10
- pgamma(qgamma(p,shape=2), shape=2)
- 1 - 1/exp(qgamma(p, shape=1))
-
-