Bootstrap estimates the sampling distribution of a statistic
θ^=g(x1,…,xn) by resampling with replacement: independently
B times, draw
n observations from the original sample and compute
θ^∗b (
b=1,…,B); the empirical distribution of these
B values approximates the distribution of
θ^. Variance and standard error estimate: