Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Coefplot for only key independent variable.

    I regress two models as

    xtreg Y = a + a1 X1 +a2X2+....+a9X9 + i.year, fe vce(cluster id)
    estimates store reg1

    Xtreg Y = b + b1 Z1 +b2Z2+....+b9Z9 + i.year, fe vce(cluster id)
    estimates store reg2

    I now want to have a coefplot with for only "a1" and "b1". How do I do this?

  • #2
    coefplot is from SSC, as you are asked to explain in FAQ Advice #12. See the -keep()- option in

    Code:
    help coefplot
    Code:
    coefplot reg1 reg2, keep(X1 Z1)

    Comment

    Working...
    X