b:head_first_statistics:measuring_central_tendency
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| b:head_first_statistics:measuring_central_tendency [2026/09/08 23:11] – [mean] hkimscil | b:head_first_statistics:measuring_central_tendency [2026/09/08 23:24] (current) – [outlier] hkimscil | ||
|---|---|---|---|
| Line 56: | Line 56: | ||
| [{{eg.distribution.jpg}}] | [{{eg.distribution.jpg}}] | ||
| </ | </ | ||
| + | < | ||
| + | > # mean | ||
| + | > x <- c(19, 19, 20, 20, 20, 21) | ||
| + | > sx <- sum(x) | ||
| + | > nx <- length(x) | ||
| + | > sx/nx | ||
| + | [1] 19.83333 | ||
| + | > mean(x) | ||
| + | [1] 19.83333 | ||
| + | > | ||
| + | > y <- c(3, | ||
| + | > mean(y) | ||
| + | [1] 22.33333 | ||
| + | > | ||
| + | > xy <- cbind(x, y) | ||
| + | > boxplot(xy, col=c(" | ||
| + | + names = c(" | ||
| + | </ | ||
| + | {{.: | ||
| ===== skewedness ===== | ===== skewedness ===== | ||
| see [[: | see [[: | ||
b/head_first_statistics/measuring_central_tendency.txt · Last modified: by hkimscil
