You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, could you please tell me how to run ivreghdfe with an interaction with a categorical variable? My regression without the interaction is: ivreghdfe y (x=w), r cl(district) a(district)
I want to interact x with the categorical variable state that has categories from 1 to 50. But the following command doesn't seem to work: ivreghdfe y (c.x##i.state=c.w##i.state), r cl(district) a(district)
Thank you!
The text was updated successfully, but these errors were encountered:
Hi, could you please tell me how to run ivreghdfe with an interaction with a categorical variable? My regression without the interaction is:
ivreghdfe y (x=w), r cl(district) a(district)
I want to interact x with the categorical variable state that has categories from 1 to 50. But the following command doesn't seem to work:
ivreghdfe y (c.x##i.state=c.w##i.state), r cl(district) a(district)
Thank you!
The text was updated successfully, but these errors were encountered: