Professional Documents
Culture Documents
Page 1
Lab 6 New.do - Printed on 08/11/2023 5:43:00 pm
61 gen ACT_standardized= (ACT-`r(mean)')/`r(sd)'
62
63 br name ACT ACT_standardized
64
65 *Checking if ACT_standardized is normally distributed
66
67 sum ACT
68
69 count if ACT_standardized > `r(mean)'
70
71 *How to check if ACT_standardized is normally distributed through graph command:
72
73 histogram ACT_standardized, freq normal
74
75 *Check for Skewness:
76
77 sum ACT, d
78
79 *Graph form
80
81 histogram ACT, freq normal
82
83
84 *Check for Kurtosis:
85
86 sum ACT, d
87
88 di `r(kurtosis)'-3
89 //Note to run this command you must first run the sum detail command
90
91
92 *Q7:
93
94 di 1.91-3
95 //returns a negative value so distribution is platykurtic.
96
97
98
99
100
101
102
103
104
105
Page 2