After a regression in Stata, I am trying to plot only the coefficients of the interaction terms.
I was unable to do this using the community-contributed command coefplot
.
Here is a reproducible example and my attempted solutions:
sysuse auto, clear
reg price foreign i.turn foreign#i.turn
*this plots all coefficients:
coefplot,
*this drops _cons and foreign but not i.turn
coefplot, drop(i.turn _cons foreign )
*variations with keep also do not work
coefplot, keep(foreign#i.turn )
Is there any other way to to this?
I have cross-posted this question on Statalist.