
and SAS give one a choice of 5 option, and i'm fairly sure that it used 
a different default than does R (although one of the 5 corresponds to 
the sas default)

see pctldef on
http://www.technion.ac.il/docs/sas/proc/z0146803.htm

my simple brain thinks of thinks of the problem as 'how does one 
calculate the median of 4 values?'

david freedman

Girish A.R. [via R] wrote:
> Interestingly, Hmisc::describe() and summary() seem to be using one 
> Type, and stats::fivenum() seems to be using another Type.
>
> > fivenum(cbiomass)
> [1]  910.0 1039.0 1088.5 1156.5 1415.0
> > summary(cbiomass)
>    Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
>     910    1048    1088    1104    1139    1415
> > describe(cbiomass)$counts
>        n  missing   unique     Mean      .05      .10      .25     
>  .50      .75
>     "12"      "0"     "12"   "1104" " 920.5" " 938.3" "1047.5" 
> "1088.5" "1138.8"
>      .90      .95
> "1248.7" "1327.0"
>
> cheers,
> -Girish
>
> View message @ 
> http://n4.nabble.com/Quartiles-and-Inter-Quartile-Range-tp1145817p1248728.html 
>
> To unsubscribe from Re: Quartiles and Inter-Quartile Range, click here 
> < (link removed) =>. 
>
>

-- 
View this message in context: http://n4.nabble.com/Quartiles-and-Inter-Quartile-Range-tp1145817p1264043.html
Sent from the R help mailing list archive at Nabble.com.

	[[alternative HTML version deleted]]

