Displaying 20 results from an estimated 9000 matches similar to: "help understanding box plots"
2007 Apr 06
5
Labelling boxplot with fivenumber summary
I am very new to R so forgive me if this seems basic but I have done extensive searching and failed to come up with the answer for myself.
I am trying to label a boxplot I have created with the values for the median, upper and lower quartiles and max and min values. I have been unable to do this or find anything on the net to say how it might be done. Is this possible and if so how? Regards,
2010 May 12
2
Whiskers on the default boxplot {graphics}
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), but it also had several approaches
listed for how the whiskers could be determined, so I'm just
2005 Oct 04
6
boxplot statistics
I have read and reread the boxplot and the boxplot stats page, and I
still cannot understand how and what boxplot shows. I realize that
this might be due to me not knowing enough statistics, but anyway...
First, how does boxplot determine the size of the box? And is the line
inside the box the mean or the median (or something completely
different?) And how does it determine how long out the
2002 Feb 12
1
increasing space available for labels
I've got a graph with really long labels. I've tried decreasing the
font size, but they're still getting truncated. I've RTFMed & it
seems that mgp should have something to do with this, but I can't make
it work. I need about 2-3x as much space for labels as is available
by default (or on the example below).
boxplot(split(ranks,c(1:25)), names=items, horizontal=F)
2009 Jul 12
2
box and whisker (PR#13821)
In a Box and Whisker plot, I thought that when there are outliers both abov=
e and below the whiskers, then the whiskers should both be the same length =
(plus or minus 1.5 times the inter-quartile range).
If you look at the plot for SilwoodWeather on p.155 of The R Book you will =
see that for November (month =3D 11) the upper whisker is shorter than the =
lower, while for other months with
2003 Feb 24
3
bwplot stats question
Hi List,
Just wondering where the documentation exists for the statistics which
makeup the bwplot.
I'm guessing that if R is like similar products that the graph is
constructed as
The median is the filled circle. The box surrounding the filled circle
depicts the 25th and 75th quartile. The range of values is given by the
dotted lines (?whiskers?) outside of each box, and possible
2011 Feb 24
1
Boxplot not doing what I think it should
My box plot below is drawing its upper whisker all the way to the last point, instead of showing the point as an outlier. Am I misunderstanding, or is it a bug?
Help(boxplot) states for the parameter ?range? that ?this determines how far the plot whiskers extend out from the box. If range is positive, the whiskers extend to the most extreme data point which is no more than range times the
2008 Aug 05
5
boxplot with average instead of median
I really like the ease of use with the boxplot command in R. I would
rather have a boxplot that shows the average value and the standard
deviation then the median value and the quartiles.
Is there a way to do this?
Chad Junkermeier, Graduate Student
Dept. of Physics
West Virginia University
PO Box 6315
210 Hodges Hall
Morgantown WV 26506-6315
phone: (304) 293-3442 ext. 1430
fax: (304)
2002 Jan 24
3
getting rank order
I'm doing a study where people place a deck of cards in a certain
order. It's sufficient to assume that their colors & each has a
number (it's actually about attributes of hobbies). I'd like to look
for patterns in how they've arranged the deck. For each subject I
have a list like 3,5,2,4,1, indicating that (s)he chose 3 first, then
5, then 2. . . .
I think what I first
2007 Feb 12
6
Boxplot: quartiles/outliers
For boxplot(), is it possible to pass in a parameter to change the default
way that the 1st and 3rd quartiles are computed? (specifically, I'd like to
use type 6 described in the quantile function).
Also, what are the options for how outliers are computed, and how can one
change them?
Thank you
[[alternative HTML version deleted]]
2003 Jul 17
3
confused about histograms
I've got a data set with integer codes from 0--3. I'd like a
histogram with a single bar for 0, 1, 2 and 3. I'd like each of the 4
bars centered over a label.
hist(mydata, breaks=4, main="Simulation")
gives me three bars. The best I've been able to do is do something
like
print(hist((wexp), breaks=25, main="Simulation"))
This gives me something
2001 Nov 25
2
Boxplots using percentiles?
The standard R boxplot appears to use quartiles to determine the height of
the rectangles and a range parameter - RNG - (default=1.5 I think) that
determines the length of the whiskers as <= RNG x Interquartile Range. Is
it possible to instead define the range as extending to the 95th percentile?
If so, how would this be done?
nb, I'm plotting multiple boxplots on a single chart so a
2008 Feb 04
7
adding the mean and standard deviation to boxplots
Dear list,
How can I add the mean and standard deviation to each of the boxplots using the example provided in the boxplot function?
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
2002 Aug 09
2
RMySQL fetch defaults to N=500?
It appears that fetch() gets only the first 500 rows by default. I
don't see this in the documentation, but
timeinfo <- fetch(rs)
gets only 500 rows where
timeinfo <- fetch(rs,n=-1)
gets (correctly) 736 for the same query. Is this an undocumented
feature? I played with this data for an alarming amount of time
before I realized that I was missing a third of the data. I
2000 Dec 10
1
more boxplot questions
Hello,
I have a couple more questions about boxplots. In the books I've read on
statistics (I'm not a statistics expert but just a poor engineer trying
to help his wife with the analysis of the data she gathered for her
medieval history PhD), I seen two kinds of box plots: one using
quartiles to determine the height of the rectangles and whiskers which
is what the standard R boxplot does,
2010 May 09
2
changing parameters of the box and whisker plot
Hello:
I am plotting some data using the box and whisker plot. However, I only want to plot the median, max and min, as I only have these values and not the quartile values. It seems R arbitrarily constructs the box margins to be halfway between the median and the max/min. How do I make the box and whisker plots without the box values?
Thanks,
Michael
[[alternative HTML version
2011 Jul 29
2
boxplots
Hi!
My name is Martin and I have a problem concerning the boxplot function
in R. I want my boxes to be limited by the 1st and 3rd quartile and NOT
the 'hinges' values that are the default setting in R.
Do anyone knows if there is any command that I could do to change this
default setting?
Sincerely
Martin Olofsson
2002 Jan 15
3
Getting started with R
I've got a background in computer science & have been using Linux for
nearly a decade. I'm working on a Ph.D. in education and technology
and I essentially live in emacs and do all of my writing in LaTeX.
To me R seems like the perfect stats package. Unfortunately, the
learning curve is killing me. I feel like that if I'd waded through
pulling down menus in SPSS or SAS I could
2003 May 23
1
Summary statistics & plots of repeated measures data
I'm an R novice and my colleagues are about to convince me to get my
data into SPSS, which will presumably be easier for someone who
doesn't live in R to point and click his way into some kind of
analysis that might be meaningful.
I've got two groups of subjects (classkey in the table below).
They've each received several different treatments. One measure is a
1-7 rating taken
2002 May 14
2
quantile() and boxplot.stats()
Hello,
I faced something I can't understand. When I use boxplot.stats(1:10) and
quantiles(1:10) the results are different for 25% and 75%:
> boxplot.stats(1:10)
$stats
[1] 1.0 3.0 5.5 8.0 10.0
> quantile(1:10)
0% 25% 50% 75% 100%
1.00 3.25 5.50 7.75 10.00
Actually, I expected the value 3 for 25% and 8 for 75% as results of
quantile(1:10). Can you please explain me