Dear All,
   
  I would like to use a nonparametric bootstrap to calculate the confidence intervals for the 5% and 95% quantiles using boot.ci. As you know, boot.ci requires the use of boot to generate bootstrap replicates for my statistic. However this last function  doesn't work in my case because I am missing something. Here is an example
   
  y <- rnorm(100)
  Quantile <- function(df)
{
quantile(df,  probs=c(0.05,0.95))
  }
  boot.out <- boot(y,Quantile, R=999, sim="ordinary")
   
  Error in statistic(data, original, ...) : unused argument(s) (c(1, 2, 3, 4, 5, 6, 7, 8
   
  I think  that it's due to another parameter (stype) that I have not  included but I don't know what this paremeter represents. 
   
  Many thanks for any suggestion.
   
  Bernard
   

             
---------------------------------

	[[alternative HTML version deleted]]

