Skip to content
Prev 20693 / 398498 Next

bootstraping

hello,


I?ve got a problem:

I have two samples
x <- rnorm(30, 0,1)
y <- rnorm(30,0.1,1)

and i want to test the equality of them.
Here i've got a problem:
w <- c(x, y)
r <- bootstrap(w,100, mean)  # from the bootstrap package

and save the values r$thetastar

But i do H0: Fx=Fy so i create w and after this i wish to separate the
bootstraped values of w into two new population xb e yb and in this
values calculate the mean. How i do that?

thanks & sorow by my english


Rafael Bertola
Undergraduate in Statistics at UNICAMP - Brasil
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._