LibraryInterview questions

Sample Variance Bias and the Right Divisor

Quant interview question · intro · members

The question

X1, ..., Xn are independent draws from some distribution with unknown mean μ and unknown variance σ². Define the sample mean and the naive variance estimate:

Xˉ=1n∑Xi\bar{X} = \frac{1}{n} \sum X_i
V=1n∑(Xi−Xˉ)2V = \frac{1}{n} \sum (X_i - \bar{X})^2

Compute E[V]\mathbb{E}[V]. If ...

The rest of the question is for members

Hint

Try a sample of only a couple of draws by hand. Compare the spread measured around their own average with the spread measured around the true mean, and ask which is larger.

The idea behind it

The sample mean is fitted to the same data it is subtracted from, so it sits closer to the points than the true mean does. Exactly one variance is lost, and the decomposition of the total sum of squares shows where it goes.

The rest of the question and the solution are for members

You have the opening of the question, a hint and the idea. It computes the bias of the obvious estimate exactly, shows which divisor removes it, and explains where the missing variance goes.

The full question and its solution are part of Thuztra Learn membership, which is a paid subscription. Install the app to read them:

Download on the Microsoft Store Download for Android

On Android, the app is a direct download, not a Google Play listing. Which devices, and what each one needs.

Further reading

Topics

Also in the library