GammaDistribution

GammaDistribution[, ]
represents a gamma distribution with shape parameter and scale parameter .

GammaDistribution[, , , ]
represents a generalized gamma distribution with shape parameters and , scale parameter , and location parameter .

DetailsDetails

  • The probability density for value in a gamma distribution is proportional to for , and is zero for . »
  • The probability density for value in a generalized gamma distribution is proportional to for , and is zero elsewhere.
  • GammaDistribution allows , , and to be any positive real numbers and to be any real number.
  • GammaDistribution can be used with such functions as Mean, CDF, and RandomVariate. »

ExamplesExamplesopen allclose all

Basic Examples (8)Basic Examples (8)

Probability density function of a gamma distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Cumulative distribution function of a gamma distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Mean and variance of a gamma distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Median of a gamma distribution:

In[1]:=
Click for copyable input
Out[1]=

Probability density function of a generalized gamma distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Cumulative distribution function of a generalized gamma distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Mean and variance of a generalized gamma distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Median of a generalized gamma distribution:

In[1]:=
Click for copyable input
Out[1]=
New in 6 | Last modified in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »