Hello everyone,
I'm estimating an IV regression with HD FE using the -ivreghdfe- command.
The problem is, I'm interested in getting the weak-instrument test by Montile Olea and Pfluger (2013), using the function called -weakivtest- which works with the -ivreg2- outcome. It was supposed that -ivreghdfe- is a wrapper of -ivreg2-, so I thought it gonna work fine. But it didn't work...
The message says that -weakivtest- works only after the -ivreg2- command.
I wonder if someone has implemented the test manually. Writing a small program or something like that. Because if I run my current model with -ivreg2-, it will take several hours to run due to the amount of FEs I have... And I have to run several models too, so -ivreg2- is just not feasible for my project.
Many thanks in advance.
I'm estimating an IV regression with HD FE using the -ivreghdfe- command.
The problem is, I'm interested in getting the weak-instrument test by Montile Olea and Pfluger (2013), using the function called -weakivtest- which works with the -ivreg2- outcome. It was supposed that -ivreghdfe- is a wrapper of -ivreg2-, so I thought it gonna work fine. But it didn't work...
Code:
. ivreghdfe depvar x1 x2 (hendovar = z1 z2), absorb(year fips) first cluster(fips) . weakivtest
I wonder if someone has implemented the test manually. Writing a small program or something like that. Because if I run my current model with -ivreg2-, it will take several hours to run due to the amount of FEs I have... And I have to run several models too, so -ivreg2- is just not feasible for my project.
Many thanks in advance.
Comment