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 Likes
20 Views
User Avatar
(@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 2 weeks ago by mdyasarsattar
 
Posted : 28/04/2024 10:21 pm
Share:
Need Help?