Gamma Distribution
The following functions are associated with the gamma equation:
Click to copy this expression
dgamma(x, s)—Returns the probability density for value x.
pgamma(x, s)—Returns the cumulative probability distribution for value x.
qgamma(p, s)—Returns the inverse cumulative probability distribution for probability p.
rgamma(m, s)—Returns a vector of m random numbers having the gamma distribution.
x is a scalar or vector of real values, x > 0. To allow integration and other operations over this argument, values outside of the stated range are allowed, but they produce a 0 result.
s is a real shape parameter, s > 0.
p is a real probability, 0 ≤ p ≤ 1.
m is an integer, m > 0.
Was this helpful?