[R] Q: Mean, median and confidence intervals with functions summary boxplot.stats

2007-08-30 Thread Tom Willems
Dear R ussers, My question is, How can my mean be outside the confidence intervals ?! I think i have the answer for it, but i would like to hear some other ideas on it. First my data is not continuose but categorical, it is a titre calculated on a dilution serie. It is stored as a column of

Re: [R] Q: Mean, median and confidence intervals with functions summary boxplot.stats

2007-08-30 Thread Uwe Ligges
Tom Willems wrote: Dear R ussers, My question is, How can my mean be outside the confidence intervals ?! I think i have the answer for it, but i would like to hear some other ideas on it. First my data is not continuose but categorical, it is a titre calculated on a dilution

Re: [R] Q: Mean, median and confidence intervals with functions summary boxplot.stats

2007-08-30 Thread S Ellison
If you look at ?boxplot.stats, you will find that the confidence interval it reports is centred on the median and : The notches (if requested) extend to '+/-1.58 IQR/sqrt(n)'. If you have skewed data it is very possible (as you have found) that the mean is outside median+/-1.58 IQR/sqrt(n).