Bootstrap Confidence Interval

medium
Unit 12 · Statistics IV0/2 to milestone

Implement bootstrap_ci(data, stat=np.mean, n_boot=5000, alpha=0.05, seed=0) returning (low, high) — the percentile bootstrap confidence interval.

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Bootstrap Confidence Interval · TechGradify