# Talk:Five-number summary

WikiProject Statistics (Rated Start-class, Mid-importance)

This article is within the scope of the WikiProject Statistics, a collaborative effort to improve the coverage of statistics on Wikipedia. If you would like to participate, please visit the project page or join the discussion.

Start  This article has been rated as Start-Class on the quality scale.
Mid  This article has been rated as Mid-importance on the importance scale.

## simpile as this

hello people lets say you have a paperthat gives you directions like this for an ex:find the five-number summary for each data set. then you look below and you mite find some numbers aranged like this (37,44,5,8,20,11,14). you then would do this

```                                             min:5
lq:8
med:14
uq:37
max:44
```

that is basically all you have to do

## R example

The R example in its current form is mistaken in a few different ways. Firstly, it seems the stated numbers reflect an incorrect calculation of the 1st and 3rd quartiles. Secondly, the `fivenum` function in R currently uses the lower and upper hinge values, rather than the 1st and 3rd quartile values. I'm hesitant to correct it without some discussion as it introduces additional concepts in a way that might be confusing to the casual observer. — Preceding unsigned comment added by 70.112.234.206 (talk) 01:03, 25 January 2013 (UTC)

I get different results from the example. R version is (3.1.3 2015-03-09)
```    > moons <- c(0, 0, 1, 2, 63, 61, 27, 13)
> moons
[1]  0  0  1  2 63 61 27 13
> fivenum(moons)
[1]  0.0  0.5  7.5 44.0 63.0
> summary(moons)
Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
0.00    0.75    7.50   20.88   35.50   63.00
```
98.192.39.79 (talk) 02:25, 8 April 2015 (UTC)