GammaDistribution
Gamma probability distribution object
Description
A GammaDistribution
object consists of parameters, a model
description, and sample data for a gamma probability distribution.
The gamma distribution is a two-parameter family of distributions used to model sums of exponentially distributed random variables. The chi-square and the exponential distributions, which are special cases of the gamma distribution, are one-parameter distributions that fix one of the two gamma parameters.
The gamma distribution uses the following parameters.
Parameter | Description | Support |
---|---|---|
a | Shape parameter | |
b | Scale parameter |
Creation
There are several ways to create a GammaDistribution
probability
distribution object.
Create a distribution with specified parameter values using
makedist
.Fit a distribution to data using
fitdist
.Interactively fit a distribution to data using the Distribution Fitter app.
Properties
Object Functions
cdf | Cumulative distribution function |
gather | Gather properties of Statistics and Machine Learning Toolbox object from GPU |
icdf | Inverse cumulative distribution function |
iqr | Interquartile range of probability distribution |
mean | Mean of probability distribution |
median | Median of probability distribution |
negloglik | Negative loglikelihood of probability distribution |
paramci | Confidence intervals for probability distribution parameters |
pdf | Probability density function |
plot | Plot probability distribution object |
proflik | Profile likelihood function for probability distribution |
random | Random numbers |
std | Standard deviation of probability distribution |
truncate | Truncate probability distribution object |
var | Variance of probability distribution |
Examples
Extended Capabilities
Version History
Introduced in R2013a