Announcement

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

  • Help with -suest-

    Hi,

    I'm trying the following regressions:

    Code:
     
     regress y i.state##i.post i.x1 i.state i.year if x2==1  eststo has_x2  regress y i.state##i.post i.x1 i.state i.year if x2==0  eststo no_x2  suest has_x2 no_x2,cluster(cluster)  test [has_x2]i.state#i.post=[no_x2]i.state#i.post
    I used the manual for -test- for the last line
    But this gives error

    Code:
    equation [has_x2] not found
    I want to compare the coefns on the interaction term and see if these coefns are equal or significantly different.

    Would appreciate any help, thanks!

  • #2
    use the "coeflegend" to see what Stata actually calls what you need/want; see
    Code:
    help regress

    Comment

    Working...
    X