I am running regressions using
, and testing weakness of my IV using
, which implements the well-known heteroskedasticity-robust test proposed by Montiel Olea and Pflueger (2013). I noticed that the critical values given by weakivtest has always remained constant, which seemed strange since I have changed the sample size for several times. Also, the critical values seemed not to be dependent on my choice to partial the constant out.
My regression is a simple IV-LS, with only one dependent variable, one independent variable and one instrument. It looks like this:
This phenomenon seems odd to me because in the ordinary F-test the critical values depends on the degrees of freedom, which in turn depends on the sample size and the inclusion of an intercept. I know little econometrics, so it is hard for me to quickly go through Montiel Olea et al. (2013), especially the part where they calculate the effective degrees of freedom using an algorithm too complicated for me to understand. I wonder whether it is normal that the critical values (and effective degrees of freedom) remained the same when I changed the sample size or excluded the intercept? Or maybe
uses a default degree of freedom of 1? I am not sure whether this could be related to my problem. Can anyone please explain to me as plain as possible? Thanks in advance!
Also, I have read a 2020 post on this forum mentioning that
does not support IV regression without constant, but it seems that the authors has updated the code to allow for noconstant.
Code:
ivreg2
Code:
weakivtest
My regression is a simple IV-LS, with only one dependent variable, one independent variable and one instrument. It looks like this:
Code:
ivreg2 y (x = z), first noconst robust weakivtest
Code:
weakivtest
Also, I have read a 2020 post on this forum mentioning that
Code:
weakivtest
Comment