Gamma Distribution
Statistics and Machine Learning Toolbox™ offers several ways to work with the gamma distribution.
Create a probability distribution object
GammaDistribution
by fitting a probability distribution to sample data or by specifying parameter values. Then, use object functions to evaluate the distribution, generate random numbers, and so on.Work with the gamma distribution interactively by using the Distribution Fitter app. You can export an object from the app and use the object functions.
Use distribution-specific functions with specified distribution parameters. The distribution-specific functions can accept parameters of multiple gamma distributions.
Use generic distribution functions (
cdf
,icdf
,pdf
,random
) with a specified distribution name ('Gamma'
) and parameters.
To learn about the gamma distribution, see Gamma Distribution.
Objects
GammaDistribution | Gamma probability distribution object |
Apps
Distribution Fitter | Fit probability distributions to data |
Probability Distribution Function | Interactive density and distribution plots |
Functions
Topics
- Gamma Distribution
The gamma distribution models sums of exponentially distributed random variables.