When and why is the MLE for the variance of a normal biased, and how does dividing by n minus p relate to it?

Quick Overview

Asks when and why the maximum likelihood estimator of a normal variance is biased and how dividing by n minus p relates to that bias. Tests understanding of degrees of freedom, the residual sum of squares in regression, and the trade-off between bias and mean squared error.

When and why is the MLE for the variance of a normal biased, and how does dividing by n minus p relate to it?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

When and why is the MLE for the variance of a normal distribution biased, and how does dividing by $n - p$ relate to it? ```hint Split the sum of squares Write each deviation from the true mean $\mu$ as a deviation from the sample mean plus the gap between the sample mean and $\mu$, then take expectations. ``` ```hint The regression case For a linear model with $p$ fitted coefficients, think about the dimension of the space the residual vector is confined to. ``` ### What a Strong Answer Covers - Why measuring deviations from the sample mean makes the sum of squares systematically too small - The expected value of the MLE and the size of its bias - Where the $n - 1$ and $n - p$ divisors come from, including the regression case - What changes when the mean is known, and how the bias behaves as $n$ grows - Whether removing the bias is always the right goal, given variance and mean squared error ### Follow-up Questions - Is $s = \sqrt{s^2}$ an unbiased estimator of $\sigma$? Why or why not? - For normal data, which multiple of the sum of squared deviations gives the lowest mean squared error? - How does REML relate to the $n - p$ correction in linear mixed models? - Does the $n - p$ result require normally distributed errors?

Overview: Asks when and why the maximum likelihood estimator of a normal variance is biased and how dividing by n minus p relates to that bias. Tests understanding of degrees of freedom, the residual sum of squares in regression, and the trade-off between bias and mean squared error.

PracHub logo
General
Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

When and why is the MLE for the variance of a normal distribution biased, and how does dividing by n−pn - p relate to it?

What a Strong Answer Covers Guidance

  • Why measuring deviations from the sample mean makes the sum of squares systematically too small
  • The expected value of the MLE and the size of its bias
  • Where the n−1n - 1 and n−pn - p divisors come from, including the regression case
  • What changes when the mean is known, and how the bias behaves as nn grows
  • Whether removing the bias is always the right goal, given variance and mean squared error

Follow-up Questions Guidance

  • Is s=s2s = \sqrt{s^2} an unbiased estimator of σ\sigma ? Why or why not?
  • For normal data, which multiple of the sum of squared deviations gives the lowest mean squared error?
  • How does REML relate to the n−pn - p correction in linear mixed models?
  • Does the n−pn - p result require normally distributed errors?