Maximum Likelihood interview question

StatisticsMaximum LikelihoodConfidence Intervalsmedium

Crashes on an inference cluster are modelled as a Poisson process, so the 50 observed times between crashes are i.i.d. exponential with rate λ. Their mean is 4 hours, so λ̂ = 0.25 per hour. Using the Fisher information, what are the standard error of λ̂ and an approximate 95% Wald CI?

  1. ASE = √(λ̂/n) = √(0.25/50) ≈ 0.071 and CI ≈ [0.11, 0.39] per hour: each observation carries information 1/λ, as with Poisson counts, since crashes follow a Poisson process.
  2. BSE = λ̂/√n = 0.25/√50 ≈ 0.035 and CI ≈ [0.18, 0.32] per hour: each gap carries information 1/λ², so the total is n/λ², and the SE is one over its square root.
  3. CSE = λ̂/n = 0.25/50 = 0.005 and CI ≈ [0.24, 0.26] per hour: the total information is n/λ², and the SE divides one by n times the root of a single gap's information.
  4. DSE = λ̂²/n = 0.0625/50 ≈ 0.0013 and CI ≈ [0.248, 0.252] per hour: the inverse of the total information n/λ² is itself the SE, so no square root is needed.
Show the answer and explanation

Correct answer: B, SE = λ̂/√n = 0.25/√50 ≈ 0.035 and CI ≈ [0.18, 0.32] per hour: each gap carries information 1/λ², so the total is n/λ², and the SE is one over its square root.

Explanation Maximum Likelihood

For an MLE, the large-sample variance is the inverse of the total Fisher information: Var(θ̂) ≈ 1/(n·I(θ)), so SE = 1/√(n·I(θ̂)), evaluated at the estimate.

For one exponential observation, log f(x | λ) = log λ − λx. Its second derivative is −1/λ², so I(λ) = 1/λ² per observation and n/λ² in total. Hence:

  • SE(λ̂) = 1/√(n/λ̂²) = λ̂/√n = 0.25/√50 ≈ 0.035 per hour
  • Wald 95% CI = 0.25 ± 1.96 × 0.035 ≈ [0.18, 0.32] per hour
SlipSECI
Poisson information 1/λ per observation√(λ̂/n) ≈ 0.071[0.11, 0.39]
Divide by n instead of √nλ̂/n = 0.005[0.24, 0.26]
Use the variance λ̂²/n as the SE≈ 0.0013[0.248, 0.252]

The Poisson slip treats each gap as a count in a one-hour window, i.e. 50 hours of exposure instead of the 200 observed. Done correctly, the Poisson view agrees: 50 crashes in T = 200 hours give information T/λ̂ = 800 = n/λ̂², so SE = √(λ̂/T) ≈ 0.035. The last two slips forget that the SE is the square root of the inverse information, and they give intervals far too narrow.

Practical notes: the Wald interval is symmetric, but the sampling distribution of λ̂ = 1/x̄ is right-skewed, so its two tails miss unequally at n = 50. Here an exact interval exists, because 2λΣxᵢ follows χ² with 2n degrees of freedom: [0.186, 0.324], close to the likelihood-ratio interval [0.187, 0.326]. Software standard errors come from the inverse Hessian of −log L at the optimum (the observed information), which here also equals n/λ̂².

Interview tip: walk through the recipe: log-likelihood, second derivative, information, invert, square root, then ±1.96·SE, and mention the delta method if asked for the SE of a function such as the mean time 1/λ̂.

Practice it as a quiz

Answer this and the other free questions with instant grading, streaks and weak-topic tracking, or unlock all 4,000 questions.

More Statistics questions

  1. An A/B test of a new recommendation widget gives a two-sided p = 0.03 (z ≈ 2.17). Suppose the true effect exactly equals the observed estimate, and you rerun…
  2. A streaming service checks how well a user's recommendation list matches their taste. The user's viewing history p splits drama / comedy / documentary as 0.5…
  3. Two trained fraud models are scored on the same 5,000-transaction test set: AUC 0.912 for the gradient-boosted model and 0.904 for the logistic model. You…
  4. A bank's prior for the mean monthly card spend μ of a new customer segment, based on similar segments, is μ ~ N(400, 20²) €. A pilot with 64 customers gives a…
  5. Which measure of central tendency is more robust to outliers, the mean or the median, and why?