Parameters In Descriptive Statistics Getting Practical
Creating Some Data
For the following computation of descriptive statistics parameters, we will need
the following data:
set.seed(42) # making the code reproducible
data_vec <- rnorm(mean = 20, sd = 2, n = 54)
matrix(sort(data_vec), nrow = 6)
## [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9]
## [1,] 14.69 17.22 18.55 19.28 19.73 20.64 21.01 21.52 22.89
## [2,] 15.12 17.26 18.72 19.39 19.79 20.73 21.27 22.07 23.02
## [3,] 15.17 18.30 18.78 19.43 19.81 20.81 21.27 22.43 23.15
## [4,] 16.44 18.38 18.87 19.44 19.87 20.87 21.29 22.61 23.79
## [5,] 16.47 18.43 19.14 19.49 20.07 20.91 21.31 22.64 24.04
## [6,] 16.57 18.43 19.14 19.66 20.41 20.92 21.41 22.74 24.57
→ Calculation of parameters of descriptive statistics is reserved almost
exclusively for numeric data records
Aarhus University Biostatistics - Why? What? How? 8 / 30