Bootstrap
Study guide: Exam MAS-I
A Bootstrap is a method of estimating the sampling distribution of a statistic by drawing many samples from the observed data and computing the statistic on each. In the nonparametric bootstrap, each bootstrap sample is n values drawn with replacement from the n observed values, so some observations appear more than once and others not at all. The statistic computed on the rth bootstrap sample is the bootstrap estimate \hat{\alpha}^{*r}, for r = 1, 2, \ldots, B. The bootstrap standard error of the estimator \hat{\alpha} is the sample standard deviation of the B bootstrap estimates:
\mathrm{SE}_B(\hat{\alpha}) = \sqrt{\frac{1}{B-1}\sum_{r=1}^{B}\left(\hat{\alpha}^{*r} - \bar{\hat{\alpha}}^{*}\right)^{2}}
\bar{\hat{\alpha}}^{*}is the mean of theBbootstrap estimates.
The bootstrap needs no assumption about the distribution of the data and no formula for the standard error. It measures how variable an estimate is. Cross-validation instead measures how well a model predicts.
Five bootstrap samples of a claim sample give sample means of 10.2, 11.0, 9.6, 10.8 and 10.4. What is the bootstrap standard error of the sample mean?
- The mean of the five bootstrap estimates is
52/5 = 10.4.- Their deviations from 10.4 are
-0.2,0.6,-0.8,0.4and0, whose squares add up to 1.2.- The bootstrap standard error is
\sqrt{1.2/4} = 0.548.
Observations left out of a bootstrap sample
Each draw misses a given observation with probability 1 - 1/n, so the probability that the observation is not in a bootstrap sample is
\left(1 - \frac{1}{n}\right)^n
For large n this is close to e^{-1} = 0.368, so a bootstrap sample holds about 63.2% of the distinct observations. The observations left out are the out-of-bag observations used to estimate the error of bagging (out-of-bag error).
A bootstrap sample of 250 claims is drawn with replacement from 250 claims. What is the probability that a given claim is not in it, and how many distinct claims does it hold on average?
- The probability that a given claim is not drawn is
(1 - 1/250)^{250} = 0.367.- On average the sample holds
250(1 - 0.367) = 158distinct claims.
The bootstrap in other exams
A model's parameter stability can be checked by refitting it to many bootstrap samples of the data and comparing the coefficient estimates, their means, standard errors and confidence intervals. A bootstrap of observed losses builds an empirical distribution of losses, so no parametric distribution has to be chosen. The ODP bootstrap model of loss reserving resamples the residuals of a model fitted to a loss triangle rather than the observations themselves.
Practice questions
- CAS Exam 7 Spring 2013, Question 7
- CAS Exam 7 Spring 2014, Question 7
- CAS Exam 7 Spring 2014, Question 9
- CAS Exam 7 Spring 2015, Question 10
- CAS Exam 7 Spring 2015, Question 11
- CAS Exam 7 Spring 2016, Question 12
- CAS Exam 7 Spring 2016, Question 13
- CAS Exam 7 Spring 2016, Question 14
- CAS Exam 7 Spring 2017, Question 10
- CAS Exam 7 Spring 2017, Question 12
- CAS Exam 7 Spring 2018, Question 1
- CAS Exam 7 Spring 2018, Question 11
- CAS Exam 7 Spring 2018, Question 13
- CAS Exam 7 Spring 2019, Question 10
- Exam 7 Practice Question 5
- CAS Exam 8 Fall 2016, Question 6
- CAS Exam MAS-I Spring 2018, Question 31
- CAS Exam MAS-I Spring 2019, Question 35
- Exam MAS-II Practice Question 8
- Exam MAS-II Practice Question 9