Run the simulation to see the bootstrap distribution
The bootstrap is a powerful resampling method introduced by Bradley Efron in 1979. It estimates the sampling distribution of a statistic by repeatedly sampling with replacement from the original data. This lets you quantify uncertainty (standard errors, confidence intervals) without making assumptions about the population distribution.
"The bootstrap treats the sample as if it were the population, and resampling from it simulates the process of drawing new samples from the population."
Given a sample , each bootstrap sample is drawn with replacement. For each bootstrap sample , compute the statistic:
The bootstrap standard error is the standard deviation of the bootstrap statistics:
The percentile confidence interval uses the quantiles of the bootstrap distribution directly:
Run the simulation to see the bootstrap distribution
The bootstrap is a powerful resampling method introduced by Bradley Efron in 1979. It estimates the sampling distribution of a statistic by repeatedly sampling with replacement from the original data. This lets you quantify uncertainty (standard errors, confidence intervals) without making assumptions about the population distribution.
"The bootstrap treats the sample as if it were the population, and resampling from it simulates the process of drawing new samples from the population."
Given a sample , each bootstrap sample is drawn with replacement. For each bootstrap sample , compute the statistic:
The bootstrap standard error is the standard deviation of the bootstrap statistics:
The percentile confidence interval uses the quantiles of the bootstrap distribution directly: