[R] Quartiles and Inter-Quartile Range

Peter Ehlers ehlers at ucalgary.ca
Mon Jan 25 19:34:56 CET 2010


eeramalho wrote:
> 
> Thank you David. I got it now.
> 
> Maybe you can help again.
> 
> I am typing the following code to draw a QQ plot but the line does not look right?
> 
> *******************
> qqnorm(cbiomass)
> 
> qqline(cbiomass)
> ***********************
> the graph looks very different from the graph generated by SAS.

There are two possibilities:
1. you need to use the argument 'datax = TRUE'
2. SAS is wrong

You might also have a look at the qq.plot() function
in package 'car'.

  -Peter Ehlers

> 
> Thank you again.
> 
> Emiliano.
> 
> Date: Fri, 22 Jan 2010 21:32:26 -0800
> From: ml-node+1213199-1966337867 at n4.nabble.com
> To: eeramalho at hotmail.com
> Subject: Re: Quartiles and Inter-Quartile Range
> 
> 
> 
> It's looks like you think that type=2 are the 'true' quantiles, but the default method in R is type=7
> 
> 
> You might want to look at ?stats::quantile
> 
> 
> hth
> 
> david freedman
> 
> 
> 
> 
> 
> View message @ http://n4.nabble.com/Quartiles-and-Inter-Quartile-Range-tp1145817p1213199.html
> 
> 
> To unsubscribe from Quartiles and Inter-Quartile Range, click here.
> 
> 
>  		 	   		  
> _________________________________________________________________
> Sabia que você tem 25Gb de armazenamento grátis na web? Conheça o Skydrive agora.
> 
> Live:produtoSkyDrive:Tagline:WLCRM:On:WL:pt-BR:SkyDrive
> 
> 
> ------------------------------------------------------------------------
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Peter Ehlers
University of Calgary



More information about the R-help mailing list