This question is for users of the `boot' library. Can anyone tell me how to bootstrap the difference means for two independent samples using the boot() function? For example, say I have samples x and y and I want to bootstrap mean(x) - mean(y) by independently resampling x and y. At first I thought I could just do two separate bootstraps and then take differences, but then you don't get the result in a "boot" object with the nice print and summary methods. Seems like a simple job but I can't seem to figure out a way. Thanks, -roger _______________________________ UCLA Department of Statistics rpeng at stat.ucla.edu http://www.stat.ucla.edu/~rpeng -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._