Post · 5 min read· pp. 179–181

Bootstrapping and Subsampling: Part II

BOOTSTRAPPING AND SUBSAMPLING: PART II

In part I we discussed the bootstrap and we saw that sometimes it does not work. By “doesn’t work” I mean that the coverage of the nominal 1−α{1-\alpha} level confidence intervals does not approach 1−α{1-\alpha} as the sample size increases. In this post I’ll discuss subsampling which works under broader conditions than the bootstrap.

1. Subsampling

Suppose that X1,…,Xn∼P{X_1,\ldots, X_n \sim P}. Let θ^n=g(X1,…,Xn){\hat\theta_n = g(X_1,\ldots,X_n)} be some estimator of θ=T(P){\theta = T(P)}.

We need to make one main assumption:

Assume that nβ(θ^n−θ){n^\beta (\hat\theta_n - \theta)} converges in distribution to some continuous, non-degenerate distribution J{J}.

We do not need to know J{J}; we only need to know that such a J{J} exists. We don’t even need to know β{\beta} but for simplicity I’ll assume that β=1/2{\beta=1/2}. So our assumption is that n(θ^n−θ){\sqrt{n} (\hat\theta_n - \theta)} converges to some J{J}. Here is the subsampling algorithm.

  1. Choose a number b=bn{b = b_n} such that

    bn→∞,    bnn→0\displaystyle b_n \rightarrow \infty,\ \ \ \ \frac{b_n}{n}\rightarrow 0

    as n→∞{n\rightarrow\infty}.

  2. Draw b{b} observations (without replacement) from the data {X1,…,Xn}{\{X_1,\ldots, X_n\}} This is one subsample. Repeat this N{N} times. So we have N{N} subsamples, each of size b{b}. Denote these subsamples by S1,…,SN{S_1,\ldots, S_N}.

  3. From each subsample Sj{S_j} we compute the estimator. This yields N{N} values

    θ^b1,…,θ^bN.\displaystyle \hat\theta_b^1,\ldots, \hat\theta_b^N.

    Note that each estimator is based on one subsample of size b{b}.

  4. Now define

    Ln(t)=1N∑j=1NI(b(θ^bj−θ^n)≤t)\displaystyle L_n(t) = \frac{1}{N}\sum_{j=1}^N I\Bigl( \sqrt{b} (\hat\theta_b^j - \hat\theta_n) \leq t\Bigr)

    where I{I} denotes the indicator function.

  5. Let t^α/2{\hat t_{\alpha/2}} and t^1−α/2{\hat t_{1-\alpha/2}} be the α/2{\alpha/2} and 1−α/2{1-\alpha/2} quantiles of Ln{L_n}:

    t^α/2=Ln−1(α/2),   t^1−α/2=Ln−1(1−α/2).\displaystyle \hat t_{\alpha/2} = L_n^{-1}(\alpha/2),\ \ \ \hat t_{1-\alpha/2} = L_n^{-1}(1-\alpha/2).

  6. Define the confidence interval

    Cn=[θ^n−t^1−α/2n, θ^n−t^α/2n].\displaystyle C_n = \left[\hat\theta_n - \frac{\hat t_{1-\alpha/2}}{\sqrt{n}},\ \hat\theta_n - \frac{\hat t_{\alpha/2}}{\sqrt{n}}\right].

Theorem:

P(θ∈Cn)→1−α\displaystyle \mathop{\mathbb P}(\theta\in C_n)\rightarrow 1-\alpha

as n→∞{n\rightarrow\infty}.

Note: There are N=(nb){N = \binom{n}{b}} possible subsamples of size b{b}. In practice it is not necessary to use all of these subsamples. Usually, one selects, say, N=1,000{N=1,000} subsamples at random.

2. Why It Works

Here is an outline of the proof of the Theorem. (See Chapter 2 of Politis, Romano and Wolf 1999 for details.) Define

Jn(x)=P(n(θ^n−θ)≤x).\displaystyle J_n(x) = \mathbb{P}( \sqrt{n}(\hat\theta_n - \theta) \leq x).

By assumption Jn(x)=J(x)+o(1){J_n(x) = J(x) + o(1)}. Also, Jb(x)=J(x)+o(1){J_b(x) = J(x) + o(1)} since b→∞{b\rightarrow\infty} as n→∞{n\rightarrow\infty}. The key fact is that Ln(x)−Jb(x)→P0{L_n(x)-J_b(x)\stackrel{P}{\rightarrow}0} as n→∞{n\rightarrow \infty}. To see this, note that

b(θ^b−θ^n)=b(θ^b−θ)+bn n(θ−θ^n)=b(θ^b−θ)+Rn\displaystyle \sqrt{b} (\hat\theta_b - \hat\theta_n) = \sqrt{b} (\hat\theta_b - \theta) + \sqrt{\frac{b}{n}}\ \sqrt{n}(\theta-\hat\theta_n)= \sqrt{b} (\hat\theta_b - \theta) + R_n

where Rn=oP(1){R_n= o_P(1)}. This follows since b/n→0{b/n \rightarrow 0} and since n(θ−θ^n){\sqrt{n}(\theta-\hat\theta_n)} is converging in distribution. So,

Ln(x)≈U(x)\displaystyle L_n(x) \approx U(x)

where

U(x)=1N∑j=1NI(b(θ^bj−θ)≤x).\displaystyle U(x) = \frac{1}{N}\sum_{j=1}^N I( \sqrt{b} (\hat\theta_b^j - \theta) \leq x).

By Hoeffding’s inequality for U-statistics, we have that, for every ϵ>0{\epsilon>0},

P(∣U(x)−Jb(x)∣>ϵ)≤2exp⁡(−2nϵ2b)\displaystyle \mathbb{P} ( |U(x) - J_b(x)| > \epsilon) \leq 2 \exp\left( - \frac{2 n \epsilon^2}{b}\right)

which goes to 0 since n/b→∞{n/b\rightarrow \infty} as n→∞{n\rightarrow\infty}. So

Ln(x)≈U(x)≈Jb(x)≈Jn(x)≈J(x).\displaystyle L_n(x) \approx U(x) \approx J_b(x) \approx J_n(x) \approx J(x).

The coverage of Cn{C_n} is

P(θ^n−t^1−α/2n≤θ≤θ^n−t^α/2n)=P(t^α/2≤n(θ^n−θ)≤t^1−α/2)=Jn(t^1−α/2)−Jn(t^α/2).\displaystyle P\left(\hat\theta_n - \frac{\hat t_{1-\alpha/2}}{\sqrt{n}} \leq \theta \leq \hat\theta_n - \frac{\hat t_{\alpha/2}}{\sqrt{n}}\right) = P(\hat{t}_{\alpha/2} \leq \sqrt{n}(\hat\theta_n-\theta) \leq \hat{t}_{1-\alpha/2})= J_n(\hat t_{1-\alpha/2}) - J_n(\hat t_{\alpha/2}).

But

Jn(t^1−α/2)−Jn(t^α/2)≈Ln(t^1−α/2)−Ln(t^α/2)=(1−α2)−α2=1−α.\displaystyle J_n(\hat t_{1-\alpha/2}) - J_n(\hat t_{\alpha/2}) \approx L_n(\hat t_{1-\alpha/2}) - L_n(\hat t_{\alpha/2}) = \left(1-\frac{\alpha}{2}\right) - \frac{\alpha}{2} = 1-\alpha.

The amazing thing about subsampling is that there are very few regularity conditions. It works under almost no conditions. This is in contrast to the bootstrap which does require fairly strong conditions to yield valid confidence intervals.

3. What’s the Catch?

There are a few catches. First, you need to choose b{b}. The only requirement is that b/n→0{b/n\rightarrow 0} and b→∞{b\rightarrow\infty} as n→∞{n\rightarrow\infty}. It’s great that it works for such a large range of values but we need a way to pick b{b}.

Fortunately, there are methods for choosing b{b}. I won’t go into detail, rather, I’ll point you to Chapter 9 of Politis, Romano, and (1999) and also Bickel and Sakov (2008).

A more serious problem is that the confidence guarantee is only an asymptotic guarantee. However, this is true of many statistical methods. I prefer to use methods with finite sample guarantees whenever possible but sometimes there is no choice but to resort to large sample approximations. Come to think of it, a good topic for a future blog post would be: for which problems are there accurate methods with finite sample guarantees?

Another concern about subsampling and bootstrapping is that they are computationally intensive. For a recent and very interesting approach to dealing with the computational burden, see this recent paper by Ariel Kleiner, Ameet Talwalkar, Purnamrita Sarkar and Mike Jordan.

By the way, see this paper by Joe Romano and Azeem Shaikh for some recent theoretical advances.

4. Conclusion

The bootstrap and subsampling are powerful techniques for constructing confidence intervals. Subsampling works under weaker conditions and relies on simpler theory. However, subsampling requires choosing a tuning parameter (the size b{b} of the subsamples) which probably explains why it is less popular. I think that if we had a fast method for automatically choosing b{b}, then subsampling would replace bootstrapping as the method of choice.

References

Bickel, P.J. and Sakov, A. (2008). On the choice of m in the m out of n bootstrap and confidence bounds for extrema. Statistica Sinica, 18, 967-985.

Politis, D.N. and Romano, J.P. and Wolf, M. (1999). Subsampling, Springer Verlag.