Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65577

Marginsplot command

$
0
0
Dear Stata User
I have been trying to do simple linear regression analysis, on the relationship between two variables education(educ) and father education(paeduc), when calcuate predicted mean using margins command it work, but when I try graphing predicted means using the marginsplot command it doesn't work it give me an error message "unrecognized command marginsplot" please an help or suggestion, I am using stata version 12. below is my code.

regress educ paeduc
margins, at (paeduc=(0 (4) 20)) vsquish
marginsplot


Viewing all articles
Browse latest Browse all 65577

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>