KatInterview

Maximum Likelihood Estimation and Conditional Gaussian Distributions

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsmaximum-likelihoodgaussian-distributionconditional-probability

Last updated

Derive maximum likelihood estimators for Gaussian parameters under various constraints, compute conditional distributions in bivariate Gaussians, and analyze estimator bias.

You have n independent observations X₁, X₂, …, Xₙ drawn from a Gaussian distribution with mean μ and variance σ². Separately, you have a single observation (X, Y) from a bivariate Gaussian distribution with means μₓ and μᵧ, variances σ²ₓ and σ²ᵧ, and correlation coefficient ρ.

Complete the following tasks, providing full derivations:

Part A: Write down the probability density function and cumulative distribution function for a Gaussian random variable with mean μ and variance σ². Using these, express the probability P(μ − σ ≤ X₁ ≤ μ + σ) using the standard Gaussian CDF Φ(z).

Part B: Find the maximum likelihood estimators for μ and σ² in three scenarios:

  • (i) When σ² is a known constant
  • (ii) When both μ and σ² are unknown parameters
  • (iii) When μ is constrained to be non-negative (μ ≥ 0). Provide the closed-form solution and explain the boundary behavior when the unconstrained estimate would be negative.

Part C: For the bivariate Gaussian pair (X, Y), derive the conditional distribution X | Y = y. Specifically:

  • Find the conditional mean and conditional variance
  • Write the conditional PDF and CDF
  • Express P(X > t | Y = y) in terms of Φ

Part D: Determine whether the standard MLE for σ² is an unbiased estimator. If it is biased, construct an unbiased estimator and express its relationship to the MLE.

Show all algebraic steps and verify that your solutions represent true maxima where applicable.

Hints

Hint 1

For the constrained MLE, consider when the unconstrained optimum lies inside versus outside the feasible region

Hint 2

The conditional Gaussian can be derived by recognizing that Z = X − βY for an appropriate β creates independence with Y

Hint 3

Use the decomposition Σ(xᵢ − μ)² = Σ(xᵢ − x̄)² + n(x̄ − μ)² to analyze bias