Introductory Stata 5: Distribution of Variables using summarize, inspect, sktest, and histogram

preview_player
Показать описание
**********************************
*5. Distribution of a Continuous *
* Variable *
**********************************

cd "/Users/bobwen/Documents/2022 Youtube Teaching/Introductory Stata/5. Distribution/"

capture log close

sysuse nlsw88, clear

describe

*summarize wage
summarize wage
summarize wage, detail

*inspect wage
inspect wage

*perform a skewness and kurtosis test for normality on wage
sktest wage

*visual interpretation of the distribution
histogram wage, bin(30)
histogram wage, bin(30) percent addlabels

log close

#summarize #sktest #histogram
Рекомендации по теме