similar to: Summary vs fivenum results for Q3

Displaying 20 results from an estimated 900 matches similar to: "Summary vs fivenum results for Q3"

2007 Oct 09
0
Fwd: Summary vs fivenum results for Q3
You can get anything you want, at Alice's Restaurant: > quantile(d,.75,type=1) 75% 913 > quantile(d,.75,type=2) 75% 981.5 > quantile(d,.75,type=3) 75% 913 > quantile(d,.75,type=4) 75% 913 > quantile(d,.75,type=5) 75% 981.5 > quantile(d,.75,type=6) 75% 1015.75 > quantile(d,.75,type=7) 75% 947.25 > quantile(d,.75,type=8) 75% 992.9167 >
2003 Oct 15
1
fivenum (PR#4586)
Full_Name: Richard Huggins Version: 1.7.1 OS: windows 2000 Submission from: (NULL) (131.172.4.44) > x<-rnorm(100,2,1) > mean(x) [1] 1.73299 > summary(fivenum(x)) Min. 1st Qu. Median Mean 3rd Qu. Max. -0.3655 1.1070 1.7430 1.7320 2.3840 3.7910 > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. -0.3655 1.1070 1.7430 1.7330 2.3830 3.7910 >
2008 Oct 14
1
fivenum accuracy (PR#13164)
Full_Name: David Leong Version: 2.7.2 OS: Windows XP Submission from: (NULL) (12.187.86.2) It appears for the fivenum function, there is a strait average between two ranked samples. This should be a linear interpolation between ranks. For the following data set #data
2010 Jan 22
2
Quartiles and Inter-Quartile Range
Why am I getting a wrong result for quartiles? here is my code: > cbiomass = c(910, 1058, 929, 1103, 1056, 1022, 1255, 1121, 1111, 1192, > 1074, 1415) > summary(cbiomass) > IQR(cbiomass) The result R gives me is: For the summary > Min. 1st Qu. Median Mean 3rd Qu. Max. 910 1048 1088 1104 1139 1415 For IQR > 91.25 ********* The true Q1 is 1039
2009 Sep 03
1
Output from as.windrose() in oce package baffles me
I'm having trouble understanding the output from as.windrose(). For one thing, data on a boundary between sectors seem to be left out of the counts. I assume that explains the missing point in the output below (angle 45). Shouldn't one side of each sector interval be open, to include values such as my 45 in the example? Also, why does the angle 180 in my input apparently not result in
2006 Apr 15
2
manual construction of box&whisker plot
Dear useRs, how can I construct a box&whisker plot based on the vector "fivenum"? The challenge I face is as follow: I have a table such as x | fivenum --------------- ... | (.....) ... | (.....) and so forth.... For each observation x I have generated a vector containing the fivenum estimates. The first challenge is to group my fivenum vectors into groups based on a
2009 Sep 22
5
use of class variable in r as in Proc means of sas
Hi,everyone i need to calculate quartile values of a variable grouped by the other variable . same as in aggregate function(only median,mean or functions is possible-i think so) Could you please help me to achieve the same for other quartile values(5,10,25,75,90) as for median using aggregate. Thanks in advance. data : zip price 60000 567000 60001 478654 60004 485647 60001
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 May 29
2
R summary
Dear all i use R only a few days and don't understand the difference between fivenum(x) und summary(x). > x [1] 20.77 22.56 22.71 22.99 26.39 27.08 27.32 27.33 27.57 27.81 28.69 29.36 [13] 30.25 31.89 32.88 33.23 33.28 33.40 33.52 33.83 33.95 34.82 > fivenum(x) [1] 20.770 27.080 29.025 33.280 34.820 > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 20.77 27.14
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",
2001 Dec 28
1
Simple:: usage of stem() and hist()?
I must apologize in advance for asking a simple question. I am sure that a clue will be sufficient to get this show on the road. I am trying to graph tide prediction data in various ways. I haven't been able to answer this question after pouring over TFM. I read the datafile theight <- read.table("tides",header=TRUE) I do get a summary() or fivenum()
2012 Feb 04
2
How to Compare the median to the mean?
Okay, so I have a homework projecr for R, and we had to input the following link as some sort of data: nb10 <- read.table("http://www.adjoint-functors.net/su/web/314/R/NB10"). Afterwards, we have to use fivenum(nb10) to find max, min, quantiles, and sd, but I'm okay with this. The next question is where I'm stuck. The question is as follows; Compare the median (use the
2003 May 30
0
R summary (and quantiles)
When all else fails, read the help page... ?fivenum says to look at ?boxplot.stats, and the "Details" section of ?boxplot.stats has, well, details. Tukey had reasons to call those hinges rather than quartiles. Andy > -----Original Message----- > From: Knut M. Wittkowski [mailto:kmw at rockefeller.edu] > Sent: Thursday, May 29, 2003 5:58 PM > To: Matthias Kirschner >
2007 Dec 30
1
Histogram with different colors for different portions
Dear Rusers, I would like to color different sections of a histogram different colors. I have an example that was done by "brute force" given below. Has anyone implemented something like this in general? If not, any suggestions/pointers on how to write a general function to do so would be most appreciated. Alan-
2005 Nov 22
3
make check fails for R 2.3.0 (PR#8343)
Full_Name: Arne Henningsen Version: 2.3.0, 2005-11-21, i686-pc-linux-gnu OS: SuSE Linux 9.0, Kernel 2.4.21 Submission from: (NULL) (134.245.140.242) I did not find any problems in "./configure" and "make", but "make check" fails: make[4]: Entering directory `/home/suapm095/Download/R-devel/tests/Examples' collecting examples for package 'base' ...
2012 Oct 17
2
loop of quartile groups
Greetings R users, My goal is to generate quartile groups of each variable in my data set. I would like each experiment to have its designated group added as a subsequent column. I can accomplish this individually with the following code: brks <- with(data_variables, cut2(var2, g=4)) #I don't want the actual numbers, I need a numbered group data$test1=factor(brks,
2010 Oct 26
2
Forcing results from lm into datframe
Hi I need some help getting results from multiple linear models into a dataframe. Let me explain the problem. I have a dataframe with ejection fraction results measured over a number of quartiles and grouped by base_study. My dataframe (800 different base_studies) looks like > afvtprelvefs basestudy quartile ef ef_std entropy CBP0908020 1 21.6 0.53 3.27
2010 Jun 04
1
Boxplot: what is shown by default?
hi, i'm using /"boxplot()"/ to show some data: x <- c(0.99, 0.97, 0.91, 0.72, 1.00, 0.99, 1.02, 0.90, 0.91, 0.90, 1.02, 0.90, 1.35, 1.01, 0.92) boxplot(x) is it correct when i say: /"Boxes represent interquartile ranges (IQRs); bold horizontal lines, medians; whiskers, lowest and highest values still within 1.5 x IQR; open circles, outliers."? /thanks in advance
2011 Jul 10
3
change legend character size in image.plot
I'm using the image.plot() function (fields package), but I want to enlarge the characters of the legend (as they are too small to be read in a combined figure), but there is no way I can find a command to do this. I can enlarge the legend bar (with legend.witdh), axis character size (cex.axis) or the total legend size (legend.shrink), but not the character size of the legend characters
2003 Oct 28
4
random number generation
Hi every one, I am trying to generate a normally distributed random variable with the following descriptive statistics, min=1, max=99, variance=125, mean=38.32, 1st quartile=38, median=40, 3rd quartile=40, skewness=-0.274. I know the "rnorm" will allow me to simulate random numbers with mean 38.32 and Sd=11.18(sqrt(125)). But I need to have the above mentioned descriptive