I need to calculate a 95% interval using the following formula and create a new variable in STATA with code
95% CI: xl,xu=(x-1.96*se(x),x+1.96*se(x))
my x is = mean_age with 500 data and the standard error of the mean is se_age with 500 datahow to write this formula with STATA code to generate a new variable CI for each data
I need to calculate a 95% interval using the following formula and create a new variable in STATA with code 95% CI: xl,
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am