Estimation and confidence intervals interview questions
25 questions interviewers ask on estimation, from first principles to the follow-ups. The first 3 model answers are free to read; Pro opens the rest.
Sampling distributions
- What is a sampling distribution?●
The distribution of a sample statistic, such as a sample mean, across repeated samples drawn under the same design. In 5.1, 3,000 samples of 25 invoice IDs give 3,000 means; their histogram is the sampling distribution of the 25-ID mean.
- What is a standard error, and how does it differ from a standard deviation?●
The standard error is the standard deviation of a statistic across repeated samples; the standard deviation describes individual values. Here single invoices have an SD of about £1,780, while the mean of 400 invoices has an empirical SE of £92.20.
- Why does the standard error shrink as n grows, and what does the finite population correction add?●●
A mean of more independent values averages away more of each value's deviation, so the SE falls roughly as σ/√n. Drawing without replacement from a finite frame reduces it further by √((N − n)/(N − 1)); at n = N every sample is the whole frame and the SE is zero.
- What does the central limit theorem say, and what does it not say?●●
- Why is "n = 30 is enough" a poor rule?●
Maximum likelihood
- What is a likelihood?●
- Why maximize the log likelihood instead of the likelihood?●
- Derive the Bernoulli MLE.●●
- How is log loss related to likelihood?●●
- A feature lowers in-sample log loss. Does it improve prediction?●●
Confidence intervals
- What does a 95% confidence interval mean?●
- Why use a Wilson interval for a proportion rather than the Wald interval?●●
- How would you use an interval for a threshold decision?●●
- How can you check whether an interval procedure works for your data?●●
- Why does a t interval undercover on a heavy-tailed frame?●●
The bootstrap
- What is the bootstrap?●
- Why must bootstrap resampling use replacement?●
- What is a paired bootstrap, and when is it needed?●●
- Why do ties matter for ROC-AUC?●●
- What does a bootstrap interval over fixed fitted models leave out?●●
Bayesian estimation
- What is a prior, and what is a posterior?●
- Why is the Beta distribution convenient for a Bernoulli rate?●
- Why does a posterior depend so much on the prior when data are few?●●
- How does a credible interval differ from a confidence interval?●●
- What must hold before a posterior rate from an archive describes the future?●●