I have been trying to solve the following problem for days now to no avail. coefplot keep plotting the actual model coefficients rather than the linear combination ones. Would you please help if you have an idea. Thanks a lot!
sysuse auto, clear
estimates clear
eststo domestic: regress price mpg if foreign==0
eststo domestic_scaled: lincom mpg*10
eststo foreign: regress price mpg if foreign==1
eststo foreign_sclaed: lincom mpg*10
coefplot domestic_scaled foreign_sclaed, drop(_cons) vertical xlabel(, angle(45) labsize(small) grid)
sysuse auto, clear
estimates clear
eststo domestic: regress price mpg if foreign==0
eststo domestic_scaled: lincom mpg*10
eststo foreign: regress price mpg if foreign==1
eststo foreign_sclaed: lincom mpg*10
coefplot domestic_scaled foreign_sclaed, drop(_cons) vertical xlabel(, angle(45) labsize(small) grid)
Comment