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
Generating a local of locals for use in a foreach loop of regression specificationsDear all, I'm hoping to get a little help on an issue I'm having creating a so-called 'local of loc…
Test two models for best fitHi Stata I want to test two models against each other to see if one's fit is significantly better t…
How to count coefficients and p-values of a regression?Hello, i have another question regarding my code. Code: set matsize 511 unab y : TOYOTAMOTORTOT…
(possibly) simple bar graph comparing two variables (not one variable over the other)Hello, I've spent hours since yesterday to plot a simple bar chart which displays two variables wi…
Changing location of labels in box plot graphsHello, I'm trying to create box plots displaying changes in occupational shares for occupation 1-9,…
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