Hi,
I have the following regressions:
How can I plot the coefplot for the variable "housing" for all of the outcomes(grade, top5, top10) , separated by the semester? I have looked through the forum but I have not found anything that can help with what I exactly want.
To be exact, I want it to look like the following plot:
I have the following regressions:
Code:
eststo clear eststo sem1g: ivregress 2sls grade (housing=instrument) if semester==1, vce(r) //IV eststo sem1t5: ivregress 2sls top5 (housing=instrument) if semester==1 , vce(r) //IV eststo sem1t10: ivregress 2sls top10 (housing=instrument) if semester==1 , vce(r) //IV eststo sem2g: ivregress 2sls grade(housing=instrument) if semester==2, vce(r) //IV eststo sem2t5: ivregress 2sls top5 (housing=instrument) if semester==2 , vce(r) //IV eststo sem2t10: ivregress 2sls top10 (housing=instrument) if semester==2 , vce(r) //IV
To be exact, I want it to look like the following plot:
Comment