Just to put this topic to rest:
The hinges match quantile(x, probs = c(1,3)/4, type = 2) except when n
= 3 mod 4.
I no longer have Tukey's EDA book, but I think that his idea was that
hinges (aka quartiles) were defined as medians of the lower/upper
halves of the (sorted, of course) data, where
Hi Peter,
You're absolutely correct! The description for 'range' in 'boxplot' help
file is a little bit confusing by using the words interquartile range.
I think it should be changed to the length of the box to be exact and
consistent with those in the help file for boxplot.stats.
The
On May 13, 2010, at 10:25 AM, Robert Baer wrote:
Hi Peter,
You're absolutely correct! The description for 'range' in
'boxplot' help file is a little bit confusing by using the words
interquartile range. I think it should be changed to the length
of the box to be exact and consistent
David,
try this:
fivenum(1:101)
quantile(1:101, c(1,3)/4, type=5)
-Peter
On 2010-05-13 8:55, David Winsemius wrote:
On May 13, 2010, at 10:25 AM, Robert Baer wrote:
Hi Peter,
You're absolutely correct! The description for 'range' in 'boxplot'
help file is a little bit confusing by using
And try this (which seems to leave us with type=2) and is listed in
?quantile as Discontinuous sample quantile types 1, 2, and 3
quantile(1:101, c(1,3)/4, type=2)
25% 75%
26 76
David,
try this:
fivenum(1:101)
quantile(1:101, c(1,3)/4, type=5)
-Peter
On 2010-05-13 8:55, David Winsemius
On May 13, 2010, at 12:18 PM, Robert Baer wrote:
And try this (which seems to leave us with type=2) and is listed in ?
quantile as Discontinuous sample quantile types 1, 2, and 3
quantile(1:101, c(1,3)/4, type=2)
25% 75%
26 76
I think Peter may be right,. If I do it with the rnorm
On Thu, May 13, 2010 at 7:55 AM, David Winsemius dwinsem...@comcast.net wrote:
Yes, and experimentation leads me to the conclusion that the only possible
candidate for matching up the results of fivenum[c(2,4] with quantile(y,
c(1,3)/4, type=i) is for type=5. I'm not able to prove that to
I agree. I was convinced by Ehlers' example that type =2 was a better
match to fivenum's result
--
David..
On May 13, 2010, at 1:36 PM, Joshua Wiley wrote:
On Thu, May 13, 2010 at 7:55 AM, David Winsemius dwinsem...@comcast.net
wrote:
Yes, and experimentation leads me to the conclusion
:09 AM
Subject: Re: [R] Whiskers on the default boxplot {graphics}
Hi Peter,
You're absolutely correct! The description
for 'range' in 'boxplot' help file is a little bit confusing by using the
words
interquartile range. I think it should be changed to the length of the
box
this.
From: RJ Cunningham ro...@iinet.net.au
ast.net
Cc: R Project Help R-help@r-project.org
Sent: Tue, May 11, 2010 9:57:48 PM
Subject: Re: [R] Whiskers on the default boxplot {graphics}
I think not. Isn't the secret here?
Arguments:
x: a numeric vector for which the boxplot
Project Help R-help@r-project.org
Sent: Tue, May 11, 2010 9:57:48 PM
Subject: Re: [R] Whiskers on the default boxplot {graphics}
I think not. Isn't the secret here?
Arguments:
x: a numeric vector for which the boxplot will be constructed
('NA's and 'NaN's are allowed and omitted).
coef
- Original Message -
Fantastic!
It would be great if the description could be modified to include the
mysterious bit about the upper and lower bound whisker positions:
upper whisker = min(max(x), Q_3 + 1.5 * IQR)
lower whisker = max(min(x), Q_1 - 1.5 * IQR)
-- snip --
Hi:
Point well taken, Robert. This is a good example of the difference between
how
something is defined mathematically as opposed to how it is applied
computationally.
Thank you for the clarification.
Regards,
Dennis
On Wed, May 12, 2010 at 9:51 AM, Robert Baer rb...@atsu.edu wrote:
-
On 2010-05-12 10:51, Robert Baer wrote:
- Original Message - Fantastic!
It would be great if the description could be modified to include the
mysterious bit about the upper and lower bound whisker positions:
upper whisker = min(max(x), Q_3 + 1.5 * IQR)
lower whisker = max(min(x), Q_1
, May 12, 2010 3:40:12 AM
Subject: Re: [R] Whiskers on the default boxplot {graphics}
Fantastic!
It would be great if the description could be modified to
include the mysterious bit about the upper and lower bound whisker
positions:
upper whisker = min(max(x), Q_3 + 1.5 * IQR)
lower whisker
On 2010-05-12 13:27, Shi, Tao wrote:
Jason,
All these are clearly defined in the help file for 'boxplot' under 'range'.
Don't understand how you missed that.
...Tao
You've made me re-read the help page for boxplot. I notice that
there's a difference in the description of 'range' on that
] Whiskers on the default boxplot {graphics}
On 2010-05-12 13:27, Shi, Tao wrote:
Jason,
All these
are clearly defined in the help file for 'boxplot' under 'range'. Don't
understand how you missed that.
...Tao
You've
made me re-read the help page for boxplot. I notice that
there's
How are the lower/upper whiskers defined in the default version of boxplot
{graphics}?
I tried help(boxplot) and searching www.rseek.org, but I was unable to
determine an absolute answer.
I checked out the definition of boxplot according to Wikipedia
(http://en.wikipedia.org/wiki/Box_plot),
On May 11, 2010, at 9:45 PM, Jason Rupert wrote:
How are the lower/upper whiskers defined in the default version of
boxplot {graphics}?
I tried help(boxplot) and searching www.rseek.org, but I was unable
to determine an absolute answer.
You need to follow the links from the help pages
...@yahoo.com
Cc: R Project Help R-help@r-project.org
Sent: Tue, May 11, 2010 9:00:15 PM
Subject: Re: [R] Whiskers on the default boxplot {graphics}
On May 11, 2010, at 9:45 PM, Jason Rupert wrote:
How are the lower/upper whiskers defined in the default version of boxplot
{graphics}?
I tried help
, 2010 9:26:25 PM
Subject: Re: [R] Whiskers on the default boxplot {graphics}
Wowzers...
From ?boxplot.stats:
Details
The two ‘hinges’ are versions of the first and third quartile, i.e., close to
quantile(x, c(1,3)/4). The hinges equal the quartiles for odd n (where n -
length(x)) and differ
again.
- Original Message
From: Jason Rupert [1]jasonkrup...@yahoo.com
To: David Winsemius [2]dwinsem...@comcast.net
Cc: R Project Help [3]r-h...@r-project.org
Sent: Tue, May 11, 2010 9:26:25 PM
Subject: Re: [R] Whiskers on the default boxplot {graphics
this.
From: RJ Cunningham ro...@iinet.net.au
ast.net
Cc: R Project Help R-help@r-project.org
Sent: Tue, May 11, 2010 9:57:48 PM
Subject: Re: [R] Whiskers on the default boxplot {graphics}
I think not. Isn't the secret here?
Arguments:
x: a numeric vector
again.
- Original Message
From: Jason Rupert jasonkrup...@yahoo.com
To: David Winsemius dwinsem...@comcast.net
Cc: R Project Help R-help@r-project.org
Sent: Tue, May 11, 2010 9:26:25 PM
Subject: Re: [R] Whiskers on the default boxplot {graphics}
Wowzers...
From ?boxplot.stats
To: David Winsemius dwinsem...@comcast.net
Cc: R Project Help R-help@r-project.org
Sent: Tue, May 11, 2010 9:26:25 PM
Subject: Re: [R] Whiskers on the default boxplot {graphics}
Wowzers...
From ?boxplot.stats:
Details
The two ‘hinges’ are versions of the first
25 matches
Mail list logo