[ top | up ]

The Gamma Distribution

Syntax

dgamma(x, a, b=1)
pgamma(x, a, b=1)
qgamma(x, a, b=1)
rgamma(x, a, b=1)

Value

These functions provide information about the gamma distribution with parameters a and b. dgamma gives the density, pgamma gives the distribution function qgamma gives the quantile function and rgamma generates random deviates.

The gamma distribution with parameters a and b has density

Equations will come with HTML3

for x > 0, a > 0 and b > 0.