Page 1 of 1

I need to calculate a 95% interval using the following formula and create a new variable in STATA with code 95% CI: xl,

Posted: Tue Jul 05, 2022 9:56 am
by answerhappygod
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