Code:
xtivreg2 y yr* (x=z), fe cluster(cbsa)
Since weakivtest only runs using ivreg2, I switched to an LSDV model, as follows:
Code:
tab cbsa, gen(city) ivreg2 y yr* city* (x=z), robust cluster(cbsa) partial(city*)
But when I now run weakivtest, it says:
Noconstant option is not supported by weakivtest.
Am I stuck or am I missing something? I can't get weakivtest to work with xtivreg2, and when I switch to LSDV-style, I have to partial out the constant to get any results, which also blocks weakivtest.
Another alternative, and I have no idea if it is a reasonable one, is to ignore the error message about the moment conditions, and push ahead with weakivtest. When I do that, though, I get a suspiciously large 'effective F' (ie over 300!).
Any thoughts?
Best,
Tom
0 Response to Measuring the strength of instruments using Weakivtest
Post a Comment