|
SOLUTIONS
|
Mathematica
>
Data Manipulation
>
Statistical Data Analysis
>
Probability & Statistics
>
Random Variables
>
Parametric Statistical Distributions
>
Exponential-Related Distributions
>
GammaDistribution
BUILT-IN MATHEMATICA SYMBOL
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]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
| In[3]:= |
| Out[3]= | ![]() |
Cumulative distribution function of a gamma distribution:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
| In[3]:= |
| Out[3]= |
Mean and variance of a gamma distribution:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
Median of a gamma distribution:
| In[1]:= |
| Out[1]= |
Probability density function of a generalized gamma distribution:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
| In[3]:= |
| Out[3]= | ![]() |
Cumulative distribution function of a generalized gamma distribution:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
| In[3]:= |
| Out[3]= |
Mean and variance of a generalized gamma distribution:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
Median of a generalized gamma distribution:
| In[1]:= |
| Out[1]= |
New in 6 | Last modified in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »












