Dear all,
I am trying to run an lfit graph with confidence intervals using two variables, let's call them var1 and var2.
However since I am using weighted survey data I am understand I must use the svy: command before any written code to ensure the sample weightings are correct.
The code I initially predicted to be correct is below, however this gives an error message as shown.
Please could someone suggest how I could go about producing such a graph?
I am using Stata 15.1 for Windows 10.
Many thanks in advance,
James Clarke.
I am trying to run an lfit graph with confidence intervals using two variables, let's call them var1 and var2.
However since I am using weighted survey data I am understand I must use the svy: command before any written code to ensure the sample weightings are correct.
The code I initially predicted to be correct is below, however this gives an error message as shown.
Code:
. svy: twoway (lfitci var1 var2) twoway is not supported by svy with vce(linearized); see help svy estimation for a list of Stata estimation commands that are supported by svy
I am using Stata 15.1 for Windows 10.
Many thanks in advance,
James Clarke.
Comment