교육통계/Rstudio

Educational statistics Using R - 1. Descriptive statistics 4) Descriptive statistics

개노답이글스 2022. 11. 9. 19:50

 

 

now, how to report descriptive statstics

 

usually in descriptive statstics

 

report mean, median, min, max, standard deviation, skew, kurtosis...

 

there is a useful package for analysis

 

'psych'

 

install.package("psych")

 

library(psych)

 

this package 'descrbie' function

 

decribe(dataset$variable) will show what you want

 

like this

 

 

alos instead of dataset$variable, use dataframe 

 

 

 

To be continued..

 

Thank you