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
Statistics & Math
Data Scientist
Capital One
November 29, 2026
Data Scientist
Take-home Project
Statistics & Math
Medium

0

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
bootstrap
resampling
median
skewed distributions
confidence intervals
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. 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 Questions
Sample 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 BB resamples of size nn with replacement, compute the median of each, and take the 2.5th and 97.5th percentiles of those medians as the interv...


Submit Your Answer
Markdown supported