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
how to separate the result by regionI have a number of variables. the variables are insurance types, a region of address, and another 5 …
Intra-obsever variabilityDear colleagues can I still use kap in stata for intra-observer variability? I have two readings by …
Generating change in levels as well as percentages from stataHi All, I have a dataset which resembles the following: x y 1 2 2 4 3 6 I have two variables her…
How to do DID Analysis using stata?Hello everyone, I am a student at a university and i am very new to DID analysis. The purpose of my …
Specify interaction/square terms with xtabond2 & xtdpdgmmDear all, First of all, I would like to confirm that I have searched and read many posts here but n…
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