[R] Simple 95% confidence interval for a median

From: Georgina Imberger <gimberger_at_gmail.com>
Date: Thu, 12 May 2011 15:36:14 +0200


I have a data set of 86 values that are non-normally distributed (counts).

The median value is 10. I want to get an estimate of the 95% confidence interval for this median value.

I tried to use a one-sample Wiolcoxin test:


and got the following output:

 Wilcoxon signed rank test with continuity correction

data: Comps
V = 2111, p-value = 0.05846
alternative hypothesis: true location is not equal to 10 95 percent confidence interval:
 10.00000 17.49993
sample estimates:


I wonder if someone would mind helping me out?

What am I doing wrong?
What is the '(psuedo)median'?
Can I get R to estimate the confidence around the actual median of 10?

With thanks,

        [[alternative HTML version deleted]]

R-help_at_r-project.org 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 Thu 12 May 2011 - 14:56:29 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 12 May 2011 - 16:40:07 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.

list of date sections of archive