Bootstrap a Confidence Interval for Median Charge-Off Loss
Last updated: November 29, 2026
Quick Overview
Charge-off losses per account are extremely skewed, with a few very large balances. Explain how you would build a 95% confidence interval for the median loss using the bootstrap, implement it in Python, and describe when the bootstrap fails.
Capital One
November 29, 20260
0
0 solved
Charge-off losses per account are extremely skewed, with a few very large balances. Explain how you would build a 95% confidence interval for the median loss using the bootstrap, implement it in Python, and describe when the bootstrap fails.
Capital One take-home and onsite analytics questions often involve loss data where textbook normal formulas do not apply. The interviewer checks that you understand what resampling estimates, can code it correctly, and know its assumptions and failure cases.
What the Interviewer Expects
- Explain resampling with replacement and the sampling distribution it approximates
- Implement a percentile bootstrap correctly
- Justify the median over the mean for skewed losses
- Mention BCa or other improvements
- Name cases where the bootstrap is unreliable
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- Why does the bootstrap struggle with the maximum of a sample?
- How would you bootstrap if losses are clustered by branch or vintage?
- How many bootstrap replicates are enough?
- How would you compare median losses between two portfolios?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Data: one loss amount per charged-off account, i.i.d. draws from the loss distribution of interest. The target is the population median. The median has no simple standard error formula that works well...
Approach
Treat the sample as a stand-in for the population. Draw resamples of size with replacement, compute the median of each, and take the 2.5th and 97.5th percentiles of those medians as the interv...