Hey everyone,
I am trying to generate the confidence interval of the mean variable that is plotted on my two way scatter graph.
This is the code for the two way scatter graph
This is what I have currently done to try and generate the lower and upper bounds:
I get this as an error reply :
se_fidelityperweek not found
I am using STATA 16.1
Thanks for any help in advance
I am trying to generate the confidence interval of the mean variable that is plotted on my two way scatter graph.
This is the code for the two way scatter graph
Code:
graph twoway (scatter fidelityperweek bpweeks), by (ETHNICITY)
This is what I have currently done to try and generate the lower and upper bounds:
Code:
gen yu = fidelityperweek + 1.96*se_fidelityperweek
Code:
gen yl = fidelityperweek - 1.96*se_fidelityperweek
se_fidelityperweek not found
I am using STATA 16.1
Thanks for any help in advance
Comment