/* Show alternative ways of summarizing the data */ log using "SOCY602-GSS-Sociability-Descriptives.txt", replace text sum sociability sum sociability, detail tabstat sociability tabstat sociability, statistics(n mean sd p50 min max) tabstat sociability, statistics(n mean sd p50 min max) format(%6.2fc) by(class) ameans sociability centile sociability, centile(10 20 30 40 50 60 70 80 90) normal ci sociability mean sociability mean sociability, over(class) log close