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
matrix operation not foundDear All, I need some advice on how to deal with an error: matrix operation not found I get th…
Weak instrument test for ivprobit with clustering?Hello, I am seeking advice about how to run a weak instrument test after estimating an ivprobit mode…
Count the number of unique observation conditional on variableHi Statlist users, I am currently having an issue counting the unique number of observation conditi…
Defining value labels based on varlistDear all, I am writing a program which at the beginning I define a varlist: syntax varlist (min=3 n…
Poisson and Negative Binomial Distribution and Stata CodesDear Stata Forum, My question relates more with the theory of Poisson and Negative Binomial Poisson…
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