 if the i th flip lands heads, and 0 otherwise.From normal theory, we can use t-statistic to estimate the distribution of the sample mean,

Instead, we use bootstrap, specifically case resampling, to derive the distribution of formula_4.We first resample the data to obtain a "bootstrap resample".