Statistics · Estimation and sampling · Medium
Median against mean
Observations are independent draws from a normal distribution, and its centre can be estimated by the sample mean or by the sample median. Using large-sample approximations, and treating the sample size as a continuous quantity that need not be a whole number, what sample size does the median need in order to have the same standard error as the mean of 200 observations?
a fraction, an expression or a decimal to two significant figures · 5/8 · ln 2 · pi · inf
Answer and solution
Answer
314.1593
Solution
For normal data the median's variance is π/2 times the mean's, so it needs π/2 times as much data.
var(median) ≈ 1 / (4n f²) = 2πσ² / (4n) = (π/2) σ²/n. Matching σ²/200 needs n = 200 × π/2 = 100π ≈ 314.
Estimation and sampling comes up in 7 firms' roundsD. E. Shaw · Two Sigma · Citadel · +4
These 7 rounds ask this kind of problem live, with follow-ups. Every round on every track is in Premium.