Specify a model and parameter space first
The product assumes independent observations in the stated model. Dependent data need the appropriate joint likelihood.[1]
For discrete data, f is a probability mass function; for continuous data, it is a density. The probability of one exact continuous value is not that density. Likelihood as a function ofθ is also not a posterior distribution overθ; that would require a prior and the corresponding normalization.[2]
Logs help but do not remove boundary checks
Where L>0, the logarithm is strictly increasing and preserves the maximizer.[1]
Solve the score equationℓ′=0 inside an admissible open region, then check maximization and boundary points or limiting sequences. A maximum need not exist. Bernoulli p∈[0,1] allows 0 and 1; with p∈(0,1), an all-failure sample can have only an unattained boundary supremum.[2]
Normal mean and variance:a different denominator
For an iid normal model with unknown mean and positive variance, this interior solution applies when the observations are not all identical.[2]
If all observations are identical, the likelihood can grow without bound as variance tends to zero. Butσ2=0 is not an allowed positive variance of the normal density model, so no such finite MLE exists. The unbiased sample variance divides by n−1 in the nondegenerate case and solves a different estimation problem. ML does not automatically mean unbiased or optimal at every sample size.[2]
An estimated mean has data units and variance squared data units; Bernoulli p is dimensionless. A bounded calculator for k successes in n trials computes k/n, not arbitrary likelihood optimization or posterior probabilities.[1]
Two worked examples
Bernoulli:an interior maximum and a boundary case
- Given
- Seven successes in ten iid Bernoulli trials, p∈[0,1].
- Find
- Find the MLE.
The ordered observed sequence has likelihood p7(1−p)3.
The second derivative is negative in the interior.
Result: p̂=0.7 is the unique maximum. With zero successes, the valid boundary answer on[0,1] would be 0.
Check: For seven successes, both boundary likelihoods are zero; with no successes, L=(1−p)10 is maximal at 0.
Normal model with unknown variance
- Given
- IID normal observations 1,2,6; unknownμ andσ2>0.
- Find
- Find both MLEs and compare variances.
The mean is 3 and centered squares sum to 14.
The normal score equation forσ2 uses n=3.
Result: μ̂=3 andσ̂2ML=14/3; the unbiased sample variance is 7.
Check: The data are not identical, so the MLE variance is positive. The different denominators serve different criteria.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five exercises with solutions
Calculate · Foundation
Three successes in eight iid Bernoulli trials:find p̂.
Show hint
Use the parameter space[0,1].
Learning goal: Compute a Bernoulli MLE.
Rearrange · Application
Why may a positive likelihood product be replaced by a log sum?
Show hint
Strict monotonicity preserves ordering.
Learning goal: Justify log-likelihood without boundary mistakes.
Show solution and calculation
Log is strictly increasing on positive numbers, so maximizers are preserved.
Zero values and boundary limits need separate handling.
Error analysis · Application
For data 0,2, someone gives normal MLE variance 2. Correct it.
Show hint
The mean is 1 and squared sum 2.
Learning goal: Distinguish ML and unbiased sample variance.
Show solution and calculation
ML divides by n=2, giving 1.
The value 2 uses the unbiased denominator n−1=1 and is a different estimate.
Interpret · Application
Is L(p)=p7(1−p)3 already a probability distribution over p?
Show hint
Data and parameter do not automatically exchange probabilistic roles.
Learning goal: Distinguish likelihood and posterior probability.
Show solution and calculation
No.
L compares parameters with data fixed.
A posterior needs a Bayesian model with prior and normalization; the ML point is not a parameter probability.
Transfer · Challenge
No successes with n>0 and p restricted to(0,1):does an MLE exist?
Show hint
The best boundary point is excluded.
Learning goal: Check maximum existence against the parameter space.
Show solution and calculation
L=(1−p)n approaches 1 as p→0+ but never attains it in the open domain.
There is a supremum, no maximum; on[0,1], p̂=0 is allowed.
Check your understanding with the formula’s reference test.
7 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Useful next steps
For the density behind the continuous example, see Normal Distribution (Gaussian Bell Curve).
For why n−1 serves a different criterion, see Sample Variance.
A point estimate is not yet an uncertainty interval: Confidence interval and standard error of the mean.
Sources for this explanation
Quanta · Updated November 8, 2026
- NIST Handbook: Maximum Likelihood
- Jeremy Orloff and Jonathan Bloom, MIT 18.05 Reading 10b: Maximum Likelihood Estimates
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added likelihood roles, logarithms, boundary existence and normal MLE variance with original DE/EN examples and exercises.
Cite this reference page
Quanta. Maximum Likelihood Estimation. Updated November 8, 2026. https://quanta-study.de/en/formula-sheet/maximum-likelihood-schaetzung
When citing a specific scientific statement, also cite the specialist source linked to that statement.