xi: regress gpl_factor1 i.age_cat1 i.edu10_cat IDV12_3CAT if religion==1
predict yhat1
xi: regress gpl_factor1 i.age_cat1 i.edu10_cat IDV12_3CAT if religion==2
predict yhat2
twoway (lfit yhat1 gpl_factor1) || (lfit yhat2 gpl_factor1)
**gpl_factor1 being the main independent variable
No comments:
Post a Comment