



Japanese<- c(84,63,61,49,89,51,59,53,79,91
)
stem(Japanese)
##
## The decimal point is 1 digit(s) to the right of the |
##
## 4 | 9
## 5 | 139
## 6 | 13
## 7 | 9
## 8 | 49
## 9 | 1
##
## The decimal point is 1 digit(s) to the right of the |
##
## 4 | 9
## 5 | 139
## 6 | 13
## 7 | 9
## 8 | 49
## 9 | 1
mean(Japanese) #平均數
## [1] 67.9
median(Japanese) #中位數
## [1] 62
as.numeric(names(table(Japanese)))[which.max(table(Japanese))] #眾數
## [1] 49
sd(Japanese) #標準差
## [1] 16.25115
var(Japanese) #變異數
## [1] 264.1
Q1 <- quantile(Japanese, 1 / 4)
Q3 <- quantile(Japanese, 3 / 4)
Q1
## 25%
## 54.5
Q3
## 75%
## 82.75