Code:
sysuse auto, clear reg price c.turn##i.foreign, r eststo m4 reg price c.weight##i.foreign, r eststo m3 reg price c.headroom##i.foreign, r eststo m2 reg price c.mpg##i.foreign, r eststo m1 coefplot (m1,label("Mileage")) (m2,label("Headroom")) (m3,label("Weight")) (m4,label("Turn")), keep(c.turn##i.foreign c.weight##i.foreign c.headroom##i.foreign c.mpg##i.foreign) vertical
coefplot (m1,label("Mileage")) (m2,label("Headroom")) (m3,label("Weight")) (m4,label("Turn")), keep(c.turn##i.foreign c.weight##i.foreign c.headroom##i.fo
> reign c.mpg##i.foreign) vertical
(m1: no coefficients found, all dropped, or none kept)
(m2: no coefficients found, all dropped, or none kept)
(m3: no coefficients found, all dropped, or none kept)
(m4: no coefficients found, all dropped, or none kept)
(nothing to plot)
> reign c.mpg##i.foreign) vertical
(m1: no coefficients found, all dropped, or none kept)
(m2: no coefficients found, all dropped, or none kept)
(m3: no coefficients found, all dropped, or none kept)
(m4: no coefficients found, all dropped, or none kept)
(nothing to plot)
0 Response to How to plot only interaction terms in coefplot
Post a Comment