Notifications
Clear all
STATA Programming
1
Posts
1
Users
0
Reactions
164
Views
Topic starter
To find kurtosis for data and normal distribution ("Gaussian distribution" is synonymous with the normal distribution) use the following codes:
example: RQ: this is data for patients who have VT disease and then we created itervention cohort ICM and control arm had NICM.
continuous variable "age"
Binary variable "icm_nicm"
STATA Code as below: this below code is to find summary / descriptive statistics and kurtosis:
by icm_nicm, sort: summarize age, detail
This below code is to make histogram:
histogram age, normal kdensity kdenopts(gaussian) by(icm_nicm)
kurtosis >3 is not normally distributed
AxeUSCE, LLC
This topic was modified 7 months ago by mdyasarsattar
Posted : 28/04/2024 9:21 pm