All jobs / Data science / ML / AI / Statistics
Data science / ML / AI interview question · 1–3 years
Your model’s AUC on the test set is 0.82 with a 95% confidence interval of 0.79 to 0.85. What does that interval mean, and what does it not mean?
The strongest answer
The procedure that produced it captures the true AUC in 95% of repeated samples; it is not a 95% chance the truth is in this interval, and it says nothing about performance on a different population
Why it works
Right — the confidence is in the procedure, and the interval is about sampling noise on this test set, not about drift or new populations.
What a good answer covers
- The confidence is in the procedure.
- Interval reflects sampling noise.
- Not a probability of truth.
- Not a claim about new data.
Answers that fall short
- Close, but not the strongest: The true AUC is between 0.79 and 0.85 — we can be sure of that range
Close, but “sure” is the wrong word: the interval is a statement about the method’s long-run coverage, not this specific range. - Weak: 95% of individual predictions have a score between 0.79 and 0.85
That confuses a confidence interval for a metric with the spread of prediction scores; the interval is about the AUC estimate. - Red flag: Confidence intervals are academic; the point estimate is what goes on the slide
A point estimate without uncertainty lets a 0.01 difference between models look like a win when it is noise.
Who gets asked this
More Statistics questions
- You tried twenty features and kept the one with p < 0.05 on the same set. What is the honest write-up?
- When is an A/B the wrong next step for a model?
- A linear regression gives ad spend a coefficient of 3.2 on revenue. A stakeholder says “every extra dollar…
- You will try three models and two metrics. How do you stay honest?
- You rank products by average rating. A new item with one 5-star review sits above an item rated 4.6 over…
- You are summarising customer spend. A few customers spend a hundred times the typical one. Which summary do…
- Ice cream sales and drowning rise together. The model uses ice cream to “predict risk.” What do you say?