12
$\begingroup$

This question came up at work when someone asked me what the relationship was between a percentile and a confidence interval, and I had a very hard time articulating my thoughts. The context was a very simple question regarding estimating a 95% confidence interval on a sample mean.

I understand that the central limit theorem states that the sampling distribution of the mean of any independent, random variable will be normal or nearly normal, if the sample size is large enough. Thus, the sample mean has a normal distribution $N(\bar{x}, s/\sqrt{n})$ where $s$ is the sample standard deviation.

Now, let's say that the null hypothesis $H_0: \mu_{\bar{x}} = \mu$ is true. Then under the null hypothesis, the 95% confidence interval around the sample mean is $\mu_{\bar{x}} \pm 1.96 * s/\sqrt{n}$

The question from my coworker was specifically the following: the standard error is just the standard deviation of the sampling distribution of the mean. Thus, would $\mu_{\bar{x}} + 1.96 * s/\sqrt{n}$ be equivalent to the 97.5 percentile of a distribution created by calculating the sample means of many samples of size $n$?

The question was really odd to me because percentiles and confidence intervals are two separate concepts and my coworker's question was asking about the relationship between the two, and I got very confused but couldn't articulate my points.

$\endgroup$
3
  • 2
    $\begingroup$ To my understanding, to build the simplest bootstrap 95% confidence interval for a statistic of interest (here the mean), you look at the 2.5% percentile of the vector of bootstrapped values (the sampling distribution) and at the 97.5% one. So, the 2.5% percentile is the lower limit and the 97.5% percentile is the upper limit of the 95% CI. $\endgroup$ Commented May 13, 2019 at 16:03
  • $\begingroup$ @Valentin_Ștefan Does the percentile approach work even when the sampling distribution is not normal? $\endgroup$
    – ado sar
    Commented Aug 30, 2023 at 12:27
  • $\begingroup$ @adosar, to my understanding I would use some form of bootstrapped confidence intervals, or some bootstrapped "expression" of variance in your data especially when the distribution of your observed values is assumed to not be normal. $\endgroup$ Commented Sep 18, 2023 at 8:24

1 Answer 1

9
$\begingroup$

Your coworker is correct, confidence intervals are based on the percentiles of the sampling distribution of the statistic of interest. In this case, the statistic is $\hat{\mu}=\frac{1}{n}\sum X_i$. The percentiles of $X$ are different.

You can try yourself to perform your experiment of drawing many $\hat{\mu}_i$ and calculating their percentiles. You will find good agreement with the normal theory formula provided the $n$ for each $\hat{\mu}_i$ is large enough. And if you keep thinking about it, you may end up reinventing the bootstrap, which uses the observed percentiles of $X$ to generate many $\hat{\mu}_i$ and then uses the percentiles of this generated sample to create a confidence interval.

$\endgroup$
1
  • $\begingroup$ But is this procedure general? I mean the sampling distribution of the mean follows a normal distribution so the two approaches are equivalent. What if the sampling distribution is not normal? $\endgroup$
    – ado sar
    Commented Aug 30, 2023 at 12:27

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.