2-4. Relative Position of Data
数据的相对位置
1. Percentiles and Quartiles
1.90 3.00 2.53 3.71 2.12 1.76 2.71 1.39 4.00 3.33x <- c(1.90, 3.00, 2.53, 3.71, 2.12, 1.76, 2.71, 1.39, 4.00, 3.33)
length(x[x <= 1.39]) / length(x) * 100 # x[x<=1.39] : elements of x less than or equal to 1.39
length(x[x <= 3.33]) / length(x) * 100 # x[x<=3.33] : elements of x less than or equal to 3.33> length(x[x <= 1.39]) / length(x) * 100
## [1] 10> length(x[x <= 3.33]) / length(x) * 100
## [1] 80
1.1 Five-Number summary of the data set:

1.2 Five Numbers in R
2. IQR

3. Box Plot









4. Find out outliers


5. z-Score

Last updated