How to Find a Distribution from Its Moment Generating Function
At a glance
- 1. Check the MGF
Confirm the function equals 1 at zero and is finite on an open interval around zero.
- 2. Match a known form
Compare it with standard MGFs, or factor it into forms that identify familiar random variables.
- 3. Read off parameters
Use coefficients and standard parameterizations carefully, especially variance and rate conventions.
- 4. Apply uniqueness
An MGF finite near zero determines the distribution uniquely, so a valid match identifies the law.
A moment generating function (MGF) can identify a probability distribution because it encodes all the moments, and—under the usual existence condition—it uniquely determines the law. The practical method is usually to recognize the formula as a standard MGF, then match its parameters.
The key condition is that the MGF is finite for all in some open interval around . If it is, two random variables with the same MGF on such an interval have the same distribution. If no familiar form matches, derivatives at zero can still reveal moments, but a list of moments does not always determine a distribution by itself.
The basic method
For a random variable , its MGF is
for the values of where this expectation is finite. Start by checking that . Then compare the expression with standard forms, including these:
| Distribution | MGF | Parameters |
|---|---|---|
| Bernoulli | success probability | |
| Poisson | rate | |
| Exponential | , for | rate |
| Normal | mean , variance |
Match the whole expression, not just one term. Pay attention to the convention used for parameters: for example, an exponential distribution may be described by its rate or its scale.
If the MGF is a product of MGFs, it often describes a sum of independent random variables. Specifically, for independent and , wherever the MGFs exist. Recognizing such a factorization can identify the distribution even when the expression is not written in a single standard form.
Worked example: a normal distribution
Suppose
The MGF of a normal random variable with mean and variance is
Match coefficients in the exponent:
Thus , so has a normal distribution with mean and variance (standard deviation ). The expression is finite for every real , so the MGF uniqueness theorem applies. This confirms that the identified normal distribution is the only distribution with this MGF.
As a quick discrete example, matches . Therefore is Bernoulli with success probability ; equivalently, it takes the value with probability and with probability .
When the form is not familiar
You can differentiate the MGF at zero to obtain moments, provided the relevant derivatives exist:
In particular, gives the mean, and gives the second raw moment. The variance is . These values can help you check a proposed distribution, but a few matching moments do not prove that two distributions are identical.
If you cannot recognize the MGF, first simplify it algebraically and look for standard pieces or products. You can also derive a candidate distribution from other information and calculate its MGF to see whether it matches. If an MGF does not exist around zero, this method may not apply; characteristic functions, which always exist, are a broader tool for identifying distributions.
Common mistakes
- Confusing variance and standard deviation. In the normal MGF, the coefficient of is , not .
- Treating a few moments as a full identification. The first several derivatives give only a finite list of moments. Without an applicable uniqueness result, that is not enough to establish the distribution.
- Ignoring the domain. The MGF must be finite on an open interval around zero for the standard uniqueness theorem to apply. A formula valid only at zero does not meet this condition.
- Forgetting to check that the expression is valid. A genuine MGF satisfies and, wherever finite, is positive. A proposed expression that violates basic requirements cannot be an MGF.
When a recognized MGF matches a valid MGF on an interval around zero, the identification is not just a guess based on moments: uniqueness makes it definitive.
References
- Statistical Inference, 2nd ed., George Casella and Roger L. Berger
- A First Course in Probability, Sheldon Ross
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.