[R] Bootstrapping Confidence Intervals for Medians

From: <gilbertg_at_musc.edu>
Date: Sat 06 Jan 2007 - 05:19:10 GMT

I apologize for this post. I am new to R (two days) and I have tried and tried to calculated confidence intervals for medians. Can someone help me?

Here is my data:



The first four observations compose group 1 and observations 5 through 9 compose group 2. I would like to create a bootstrapped 90% confidence interval on the difference of the medians (n2-n1). I have successfully calculated a permutation test.

This shouldn't be as difficult as I am making it, would someone please enlighten me?

Please reply to gilbertg@musc.edu as I have not subscribed to this list yet.

TIA, Greg Gilbert, Faculty Research Associate Department of Biostatistics, Bioinformatics, & Epidemiology Medical University of South Carolina

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat Jan 06 16:24:05 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 06 Jan 2007 - 09:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.