Re: [R] boxplot notches

2004-03-02 Thread Christoph Scherber
Dear colleagues, I think it would be a good idea to include a short note in the R boxplot() help file, stating exactly how the confidence levels are calculated (the notches are +/- 1.58 IQR/sqrt(n)) - at least as a guidance for users not advanced enough to directly interpret the code. Would

Re: [R] boxplot notches

2004-03-02 Thread Prof Brian Ripley
On Mon, 1 Mar 2004, David James wrote: Prof Brian Ripley wrote: On Mon, 1 Mar 2004, Martin Maechler wrote: TL == Thomas Lumley [EMAIL PROTECTED] on Mon, 1 Mar 2004 09:54:48 -0800 (PST) writes: TL On Mon, 1 Mar 2004, Christoph Scherber wrote: Dear list members,

Re: [R] boxplot notches

2004-03-02 Thread kjetil
On 1 Mar 2004 at 9:54, Thomas Lumley wrote: On Mon, 1 Mar 2004, Christoph Scherber wrote: Dear list members, Can anyone tell me how the notches in boxplot(Y~X,notch=T) are calculated? What do these notches represent exactly? I´d suppose they are Conficence Intervals for the median,

re: [R] boxplot notches

2004-03-02 Thread Michael Friendly
I think John Tukey's idea was that this formula (or just the fact of using median and quartiles) is still often approximately correct for quite a few kinds of moderate contaminations... It may be approximately correct for the width of a CI (and when I checked it was only appproximately

Re: [R] boxplot notches

2004-03-02 Thread Christoph Scherber
In McGill et al. (1978) there´s a description of the calculation as follows (p. 16): The widths [are] computed from the midspread or interquartile range (R) of the data (...), and the number of observations (N) for each group. The Gaussian-based asymptotic approximation (Kendall and Stuart

Re: [R] boxplot notches

2004-03-02 Thread P. B. Pynsent
A Google search showed that all this was discussed in April 1988 with an extensive reply to the question from M Maechler. I, as a non-statistician, blindly believed what was written in the boxplot() help file, I am sure many would be grateful to this help being modified. I still do not

Re: [R] boxplot notches

2004-03-02 Thread Thomas Lumley
On Tue, 2 Mar 2004, P. B. Pynsent wrote: A Google search showed that all this was discussed in April 1988 with an extensive reply to the question from M Maechler. I, as a non-statistician, blindly believed what was written in the boxplot() help file, I am sure many would be grateful to this

Re: [R] boxplot notches

2004-03-02 Thread P. B. Pynsent
A Google search showed that all this was discussed in April 1988 with an extensive reply to the question from M Maechler. Sorry above should be 1998 On 2 Mar 2004, at 10:18, Christoph Scherber wrote: Dear colleagues, I think it would be a good idea to include a short note in the R boxplot()

re: [R] boxplot notches

2004-03-02 Thread Prof Brian Ripley
On Tue, 2 Mar 2004, Michael Friendly wrote: I think John Tukey's idea was that this formula (or just the fact of using median and quartiles) is still often approximately correct for quite a few kinds of moderate contaminations... It may be approximately correct for the width

Re: [R] boxplot notches

2004-03-02 Thread Martin Maechler
P == P B Pynsent [EMAIL PROTECTED] on Tue, 2 Mar 2004 15:16:23 + writes: P A Google search showed that all this was discussed in April 1998 with P an extensive reply to the question from M Maechler. Yes, indeed: http://finzi.psych.upenn.edu/R/Rhelpold/archive/0839.html ,

Re: [R] boxplot notches

2004-03-02 Thread Frank E Harrell Jr
On Tue, 2 Mar 2004 07:24:41 -0800 (PST) Thomas Lumley [EMAIL PROTECTED] wrote: On Tue, 2 Mar 2004, P. B. Pynsent wrote: A Google search showed that all this was discussed in April 1988 with an extensive reply to the question from M Maechler. I, as a non-statistician, blindly believed

[R] boxplot notches

2004-03-01 Thread Christoph Scherber
Dear list members, Can anyone tell me how the notches in boxplot(Y~X,notch=T) are calculated? What do these notches represent exactly? I´d suppose they are Conficence Intervals for the median, but I´ve also been told they might show Least Significant Difference (LSD) equivalents. I would

Re: [R] boxplot notches

2004-03-01 Thread Thomas Lumley
On Mon, 1 Mar 2004, Christoph Scherber wrote: Dear list members, Can anyone tell me how the notches in boxplot(Y~X,notch=T) are calculated? What do these notches represent exactly? I´d suppose they are Conficence Intervals for the median, but I´ve also been told they might show Least

Re: [R] boxplot notches

2004-03-01 Thread Martin Maechler
TL == Thomas Lumley [EMAIL PROTECTED] on Mon, 1 Mar 2004 09:54:48 -0800 (PST) writes: TL On Mon, 1 Mar 2004, Christoph Scherber wrote: Dear list members, Can anyone tell me how the notches in boxplot(Y~X,notch=T) are calculated? What do these notches represent

Re: [R] boxplot notches

2004-03-01 Thread Prof Brian Ripley
On Mon, 1 Mar 2004, Martin Maechler wrote: TL == Thomas Lumley [EMAIL PROTECTED] on Mon, 1 Mar 2004 09:54:48 -0800 (PST) writes: TL On Mon, 1 Mar 2004, Christoph Scherber wrote: Dear list members, Can anyone tell me how the notches in boxplot(Y~X,notch=T) are

Re: [R] boxplot notches

2004-03-01 Thread David James
Prof Brian Ripley wrote: On Mon, 1 Mar 2004, Martin Maechler wrote: TL == Thomas Lumley [EMAIL PROTECTED] on Mon, 1 Mar 2004 09:54:48 -0800 (PST) writes: TL On Mon, 1 Mar 2004, Christoph Scherber wrote: Dear list members, Can anyone tell me how the