3
$\begingroup$

Suppose we want to calculate confidence interval of mean value. If the dataset is massive ($n$ samples), classical bootstrapping is hard to apply since the size of the resample must be $n$.

But if I resample the dataset with a smaller size $k$, the variance of the bootstrap distribution will be different from the original one. Can I simply divide it by $\frac{n}{k}$? Is there some advice to choose $k$?

Thanks.

$\endgroup$
4
  • 1
    $\begingroup$ See Hastie and Efron's new book Computer Age Statistical Inference where these issues are dealt with in depth. $\endgroup$
    – user78229
    Commented Jan 15, 2017 at 13:59
  • 1
    $\begingroup$ There is a bootstrap method called m out of n bootstrap where the bootstrap sample size is m<n for n being the sample size of the original data set. Whether or not this helps you with very large n I am not sure because it requires that m/n does not go to zero with large n. so you can't conveniently take a small m and a very large n. $\endgroup$ Commented Jan 15, 2017 at 15:46
  • $\begingroup$ Why do you want to estimate the variance? You state you actually want the confidence interval. $\endgroup$
    – mdewey
    Commented Jan 15, 2017 at 16:28
  • $\begingroup$ @mdewey It's actually used to evaluate an AB test, so I use a t-test after estimating the variance of each experiment group. $\endgroup$
    – Morrissss
    Commented Jan 16, 2017 at 2:39

2 Answers 2

1
$\begingroup$

If your sample is large enough, you could simply use the Central Limit Theorem to derive your confidence interval of the mean.

$\endgroup$
0
2
$\begingroup$

Although the classical bootstrap requires you to resample for $n$ samples, but this is always not necessary especially if you have a large data set.

You should set $k$ to as large as you can handle computationally.

Standard error for your sample mean is defined as:

enter image description here

If your k ($n$ in the formula) is large enough, your sample mean should be unbiased and your confidence interval should be small enough practically.

$\endgroup$
2
  • $\begingroup$ Thanks for reply. One more question: can I estimate the standard error of the original $n$ samples as $\frac{s \sqrt{k}}{\sqrt{n}}$, where $s$ is the SE of bootstrap distribution. $\endgroup$
    – Morrissss
    Commented Jan 16, 2017 at 2:42
  • $\begingroup$ @Morrissss I'm not sure, maybe you start a new question for it? $\endgroup$
    – SmallChess
    Commented Jan 17, 2017 at 2:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.