Dear Statalist experts
I am running an IV regression with a dummy dependent variable and primary school fixed effects in Stata 16. The regression has the form: ivregress 2sls y (endogenousvar = instrumentalvar) $controls i.primaryschool, first cluster(primaryschool). I get the error Warning: variance matrix is non symmetric or highly singular. I tried to run the regressions with vce(robust), with cluster(primaryschool) and without specifying the standard errors but I always get the same error. Reading an older post in statalist I understood that the cause of the problem might be because of having many primary schools where only one observation attends. When I run the non-IV version of the same regression though I do not have this problem and the regression is run as normal. It is really important for my model to use both the IV and the fixed effects, any suggestion on how I can overcome this will be really appreciated.
Thanks a lot in advance
Konstantina
Related Posts with IV regression with fixed effects; Warning: variance matrix is non symmetric or highly singular
Comparing string values within the same variableHi folks, I have a database with +70k observations. I am looking at school principals turnover of +…
Weak instrument test for RE estimationHello! I was wondering if anyone could provide me with some guidance as to what weak instrument test…
GMM estimation: when one of dependent variables minus a constantDear everyone, I had noticed a very interesting phenomenon in GMM estimation, which I can't figure …
Difference in Difference Model: Refine the definition of treatment and control groupHi all, I try to establish a standard DiD model with fixed effect to investigate the impacts of a m…
Plotting Different Regression Values in One Graph with CoefplotHello there, I'm currently running a series of regressions using US State data. So far, I've create…
Subscribe to:
Post Comments (Atom)
0 Response to IV regression with fixed effects; Warning: variance matrix is non symmetric or highly singular
Post a Comment