I have a panel dataset. My statistical model includes an exogenous variable X_1, an endogenous variable X_2 (instrumented by Z) and two-way fixed effects. My goal is to estimate the model in two non-overlapping time periods and test whether coefficient for the instrumented term (X_2) is different.
reghdfe y X_1 (X_2 = Z) if time==1, absorb(FE1 FE2) vce(cluster G)
reghdfe y X_1 (X_2 = Z) if time==2, absorb(FE1 FE2) vce(cluster G)
Methods using suest and gmm are discussed in other threads, but I don't see a direct application to my setting.
Any help is appreciated!
Related Posts with How to test coefficient equality with high dimensional fixed effect and IV?
question about etable?Dear all, I use etable to output the regression results, but find a bug. Code: webuse grunfeld,cl…
Issues with local macroHello, I'm running a diff-in-diff using a policy with three phases of treatment. There's the issue …
VAR with trend-stationary variablesHi! I'm currently trying to estimate a VAR with 3 variables - consumption, investment and a credit s…
Why can't I run the margins dydx command twice for different sets of covariates?So for some context, here is my regression model (a GLM estimation): Code: glm racial_support_inde…
Xtitle: Unrecognized command errorHello. I am trying to replicate a figure from the code I got from the authors of a paper. When I ru…
Subscribe to:
Post Comments (Atom)
0 Response to How to test coefficient equality with high dimensional fixed effect and IV?
Post a Comment