1
$\begingroup$

Let's say I have a vector $x$ on $n=250,$

(in R)

x = rnorm(250)

The quantile of $\alpha=0.01$ is :


quantile(x,0.01)
       1% 
-2.700463 

Now is that theoretically right to estimate the bootstrap quantiles of the quantile function at any confidence level ? For example I am using the BCa method described by Efron in his book:

# setting the function to estimate 
theta1 = function(x){  
 ql = quantile(x,0.01)
 return(ql)
}
# bootstrap the data with BCa method 
bca = bootstrap::bcanon(x,5000,theta1,alpha=c(0.01,(1-0.01)))
# extract the two quantiles of the function
bca$confpoints

Resulting to :

     alpha bca point
[1,]  0.01 -3.086066
[2,]  0.99 -2.192914

Now, what I have took, I think, is the upper(0.99) and lower(0.01) bootstrap quantiles of the quantile function at level $alpha=0.01$.

Question 1) Am I right in the last phrase? Do I interpret correctly the output? Question 2) Am I theoretically allowed to do so ?

$\endgroup$
1
  • $\begingroup$ With a sample of only $250$ values, there's a good chance (about $1/6$) that either all values will be less than the $0.99$ quantile or all will exceed the $0.01$ quantile. Bootstrapping with such a sample is hopeless because none of the quantiles of any bootstrap sample will reach the intended quantile. Use a different method of quantile estimation, preferably a parametric one. $\endgroup$
    – whuber
    Mar 23, 2022 at 13:37

1 Answer 1

1
$\begingroup$

The endpoints of a confidence interval are quantiles of the sampling distribution of the statistic.

So yes theoritically these are the 0.01- and 0.99-quantiles of the sampling distribution of the 0.01-quantile of a standard normal distribution. But isn't this a mouthful? Why not say this is a 98% two-sided confidence interval for the 0.01-quantile of the standard normal?

$\endgroup$
6
  • $\begingroup$ Although often confidence intervals can be computed using an analysis derived from quantiles of sampling distributions, that's not what confidence intervals are; and some CIs cannot be computed in this way at all. After all, you don't know the underlying data distribution, so you don't know the sampling distribution of the statistic. As far as terminology goes, confidence intervals for quantiles are usually known as tolerance limits. $\endgroup$
    – whuber
    Mar 23, 2022 at 14:23
  • 1
    $\begingroup$ @whuber Does it hold for the BCa bootstrap confidence intervals that their endpoints are quantiles of the sampling distribution, even if it's not always true? $\endgroup$
    – dipetkov
    Mar 23, 2022 at 14:43
  • $\begingroup$ Googled "tolerance limits" and it's one of those unhappy instances when the a term means one thing in statistics and another thing to the rest of the world: it's used in ecology to indicate environmental extremes beyond which an organism won't survive. $\endgroup$
    – dipetkov
    Mar 23, 2022 at 14:52
  • $\begingroup$ My purpose is to estimate “better” the value at risk of a time series.I thought that I if I can bootstrap the data non parametrically then I can find two limits of each side of the empirical distribution.Backtesting the BCa method believe it not works superb. $\endgroup$
    – user326765
    Mar 23, 2022 at 15:18
  • 2
    $\begingroup$ Consider posting another question that describes your actual problem. One obvious complexity that's missing from the current question is that you are working with time series. Observations in a time series are not independent as in rnorm(250). $\endgroup$
    – dipetkov
    Mar 23, 2022 at 15:29

Your Answer

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