← Bank of America Interview Insights
I went straight to the sample variance and then had to backtrack when they asked about bias.
Start by stating the maximum likelihood estimator for sigma, which is the square root of the average of squared deviations from the mean. Then discuss its bias, noting that the MLE is biased but can be corrected by using n-1 in the denominator. Finally, mention the unbiased estimator and its properties.
Pro tip: Demonstrate awareness that in practice, for large samples the bias is negligible, but for small samples the correction matters. Also, mention that if the mean is known to be zero, the estimator changes and is unbiased.
State that we want to estimate the standard deviation sigma from 100 iid N(0, sigma^2) draws. The natural estimator is the maximum likelihood estimator (MLE): sigma_hat = sqrt( (1/n) * sum_{i=1}^n (X_i - X_bar)^2 ).
Explain that the MLE is biased because it uses n in the denominator, underestimating sigma on average. The bias arises from Jensen's inequality and the fact that the sample variance with n is biased for sigma^2.
Introduce the unbiased estimator: s = sqrt( (1/(n-1)) * sum_{i=1}^n (X_i - X_bar)^2 ). Note that while s^2 is unbiased for sigma^2, s itself is not unbiased for sigma; however, it is a common correction and reduces bias.
Point out that strictly speaking, no estimator of sigma based on the sample variance is exactly unbiased for sigma due to the square root. The unbiased estimator for sigma^2 is s^2, but for sigma, one might use c4(n) correction or acknowledge that s is approximately unbiased for large n.
If the mean is known to be zero (as given), the MLE for sigma is sqrt( (1/n) * sum X_i^2 ). This estimator is also biased, but the unbiased version uses n-1: sqrt( (1/(n-1)) * sum X_i^2 ).
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.