[R] problem with boot

Juan Ramon Gonzalez jrgonzalez at ico.scs.es
Wed Jun 19 15:29:30 CEST 2002


Hello R-users,

I'm using the boot's library. I have two questions:

1. I execute for example

                    data<-rnorm(100)
                    boot(data,mean,500)

and I obtain 500 equal bootstrap samples of data. Why?


2. I need to calculate the bootstrap confidence intervals for a statistic,
but when I use the function boot.ci it shows the error message:

       Error in if (!all(rk > 1 & rk < R)) warning("Extreme Order Statistics
used as Endpoi...

What is happening?

Thank you,

Juan

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list