What are the maximum likelihood estimates of and from independent samples of , and how do you derive them?
Probability and statistics, Estimation
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can write a log-likelihood, take partial derivatives cleanly, and check that you found a maximum.
Key idea
Maximise the log-likelihood . Setting both partial derivatives to zero gives (the sample mean) and .
Steps
- Write the likelihood, the probability density of the whole sample: . Take logs: this turns the product into a sum, and since log is increasing, the maximiser does not change. You get above.
- Differentiate with respect to : , so .
- Treat as the variable, so you do not have to differentiate through a square: , so .
- Check that it is a maximum. . At , with : .
- Add a remark. divides by , so it is biased: . It is still consistent (correct as ). In several dimensions the same steps give .
Common mistakes
- Differentiating with respect to and then reporting the result as if it were for . Either works (the MLE does not depend on how you parameterise), but say which one you are solving for.
- Maximising the likelihood itself instead of its log, which makes the algebra much harder.
- Claiming the MLE of the variance is unbiased.
How long your answer should be
Half a page; 3–4 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probability and statistics: Is KL divergence a distance, and why is minimising cross-entropy the same as maximum likelihood?
Next in Probability and statistics: Why is a biased estimator of , and why does dividing by instead remove the bias?