Use code: AXEUSCESTUDENT2024 for 10% off your next purchase!

Forum

Use code: AXEUSCE-AI for 10% off your next purchase!

How to Find Kurtosi...
 
Notifications
Clear all

How to Find Kurtosis ? How to make histogram in STATA?

1 Posts
1 Users
0 Reactions
164 Views
(@mdyasarsattar)
Posts: 5
Active Member
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
Share:
Need Help?