User Tools

Site Tools


measuring_central_tendency

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
measuring_central_tendency [2019/09/19 08:53] – [median] hkimscilmeasuring_central_tendency [2019/09/19 08:57] – [median] hkimscil
Line 82: Line 82:
 | max  |  | | max  |  |
  
 +<code>
 +> x <- c(1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 7, 8)
 +> x
 + [1] 1 1 1 1 2 2 2 2 2 2 3 3 3 3 4 4 4 4 5 5 5 6 6 7 8
 +
 +</code>
  
 +<code>
 +> median(x)
 +[1] 3
 +> mean(x)
 +[1] 3.44
 +> min(x)
 +[1] 1
 +> max(x)
 +[1] 8
 +> quantile(x)
 +  0%  25%  50%  75% 100% 
 +      2    3    5    8 
 +
 +</code>
  
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki