4.9.17 · D5Probability Theory & Statistics
Question bank — Statistical estimation — MLE, method of moments
Before the traps, three words we will lean on constantly:
True or false — justify
TF1. "The likelihood is a probability distribution over ."
False. is a function of for fixed data; it does not integrate to over and has no obligation to. It is the data's probability read backwards, not a belief about — that backwards-to-forwards flip is what Bayesian Estimation adds with a prior.
TF2. "Taking the log can change which maximizes the likelihood."
False. log is strictly increasing, so rises and falls in lockstep with ; they peak at the same . Log only changes the algebra, never the answer.
TF3. "An unbiased estimator is always better than a biased one."
False. What we care about is total error, . A slightly biased estimator with much smaller variance can beat an unbiased one — see Bias and Variance.
TF4. "The MLE is always unbiased because it is 'optimal'."
False. MLE optimizes likelihood, not unbiasedness — different goals. The normal MLE divides by and satisfies , so it is biased low.
TF5. "MLE and method of moments always give the same estimator."
False. They coincide for the exponential rate and the normal , but that is luck of the algebra. For , MoM gives while MLE gives — very different recipes.
TF6. "If is the MLE of , then is the MLE of ."
True. This is the invariance property: the MLE of any function is just . It works because relabelling the axis by doesn't move the peak of the likelihood.
TF7. "The method of moments can only ever produce values inside the parameter's legal range."
False. MoM solves equations blindly and can spit out impossible values (a negative variance, a probability above ). It has no built-in respect for the parameter's support.
TF8. "As every MLE lands exactly on the true ."
False. MLE is consistent — it converges in probability, — meaning the chance of being far off shrinks to zero. For any finite it still wobbles; "exactly" is never guaranteed.
TF9. "Adding a constant to the log-likelihood changes the MLE."
False. A constant (in ) shifts the whole curve up or down without moving its peak; , so the score equation is untouched. This is why we can drop freely.
TF10. "The method of moments needs exactly as many equations as unknown parameters."
True. With unknowns you match the first moments — equations for unknowns. Fewer leaves the system under-determined; the count is forced.
Spot the error
SE1. "To get the MLE I'll multiply out and differentiate that product directly."
The error is avoidable pain, not wrongness: products of many small densities underflow numerically and the product rule explodes. Take the log first — the product becomes a sum and differentiation is one line.
SE2. " for the exponential, so ; the estimator is unbiased."
The error is — you cannot pull expectation through a nonlinear function (Jensen's inequality). In fact is biased upward for finite .
SE3. "For I set and solve for the MLE."
Differentiation fails here. The support depends on ; the likelihood is where valid and once , so it increases as shrinks and jumps to zero — no interior critical point. The max is at the boundary , found by inspection.
SE4. "I solved the score equation , so I have the MLE."
A root of could be a minimum or a saddle. You must confirm (curving down = a peak), and also check that no boundary of the parameter space beats it.
SE5. "MoM says , and MLE gives the same, so both are the unbiased sample variance."
Both equal — division by , which is biased. The unbiased sample variance divides by ; neither MLE nor MoM produces it here.
SE6. "The likelihood at my is , so there's only a chance my estimate is right."
A likelihood value is not a probability about being correct. It is (proportional to) the probability of the data under that ; comparing 's means comparing these values to each other, not reading them as confidence in .
SE7. "Sample moments equal population moments, so MoM is exact."
They are approximately equal for large (that's the Law of Large Numbers: ). For finite data they differ, so MoM is an estimate, not an exact identity.
Why questions
WHY1. Why do we maximize a product of densities rather than their sum?
Independent observations mean their joint probability multiplies: . Maximizing that joint probability is literally "which makes exactly this data least surprising."
WHY2. Why is the log a legitimate shortcut and not a cheat?
Because it is monotonic — strictly increasing — so it preserves order: the biggest maps to the biggest . We change the landscape's height but never move its summit.
WHY3. Why does the method of moments work at all?
Population moment is a known formula in ; sample moment is measurable. Since by the Law of Large Numbers, setting them equal and solving lands us near the true .
WHY4. Why does MLE dividing by feel right yet give a biased variance?
Because is fit to the same data, the deviations are slightly too small (the mean is pulled toward the data). One degree of freedom is spent estimating , so we should divide by ; MLE ignores this because its target is likelihood, not unbiasedness.
WHY5. Why is MLE usually preferred over MoM despite harder algebra?
MLE is asymptotically efficient — for large it achieves the smallest possible variance any estimator can (the Cramér-Rao Lower Bound) — plus it is consistent and invariant. MoM is easy but often noisier and can leave the legal range.
WHY6. Why does MoM sometimes beat MLE in practice anyway?
It needs only moment formulas, no likelihood maximization, so it works when the density is unknown or the likelihood is intractable — a fast, robust starting guess.
WHY7. Why can two "optimal" estimators disagree about the same data?
Because "optimal" is defined relative to a goal. MLE optimizes likelihood; the unbiased estimator optimizes zero-bias; a minimum-MSE estimator trades the two off. Different objectives, different winners — as Bias and Variance makes explicit.
Edge cases
EC1. What is the MLE of for , and why not by calculus?
. The likelihood (on the valid region) shrinks as grows but must stay every observation, so the smallest legal — the largest data point — wins. It's a boundary maximum, invisible to .
EC2. What happens to the Bernoulli MLE when every trial is a success ()?
, a boundary of . The score equation has no interior root (the second term vanishes); the likelihood is maximized by pushing to its edge. Perfectly valid, just not an interior critical point.
EC3. What does the exponential MLE do if all observed values are near zero?
forces — a degenerate estimate saying "the rate is enormous." It flags too little data or an ill-fitting model rather than a usable number.
EC4. Can the method of moments return a negative variance?
Yes in principle if — but that can't happen for real data since always. For other parameters, however, MoM genuinely can leave the legal range, which is its notorious weakness.
EC5. What is the likelihood's shape when two very different values fit the data almost equally well?
The likelihood is flat/bimodal near the top, so is poorly determined — small data changes swing it a lot (high variance). A sharp, peaked likelihood means a confident estimate; a flat one warns you the data barely constrains .
EC6. With observation, is the normal MLE meaningful?
No — with one point , so . You cannot estimate spread from a single value; the estimator degenerates and the divisor would even divide by zero, honestly signalling "not enough data."
Recall One-line self-test
Cover every answer above and re-derive the reason, not the verdict. If you can say why for TF4, SE3, and EC1, you own the failure modes of estimation.