sergiocorreia / reghdfe

Linear, IV and GMM Regressions With Any Number of Fixed Effects
http://scorreia.com/software/reghdfe/
MIT License
214 stars 56 forks source link

Warning: variance matrix is nonsymmetric or highly singular #217

Open megcom opened 3 years ago

megcom commented 3 years ago

. reghdfe std_score i.intervention##i.post asian black hispanic white other ell ie gt i.grade $sch_var [pw = ps_all], absorb(studentnumber sem_by_year schoolnum) vce(cluster schoolnum) (dropped 574 singleton observations) note: 1bn.intervention is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09) note: 1bn.post is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09) note: asian is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09) note: black is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09) note: hispanic is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09) note: white is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09) note: other is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09) note: ell is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09) note: iep is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09) note: gt is probably collinear with the fixed effects (all partialled-out values are close to zero; tol = 1.0e-09) (MWFE estimator converged in 44 iterations) note: 1.intervention omitted because of collinearity note: 1.post omitted because of collinearity note: asian omitted because of collinearity note: black omitted because of collinearity note: hispanic omitted because of collinearity note: white omitted because of collinearity note: other omitted because of collinearity note: ell omitted because of collinearity note: iep omitted because of collinearity note: gt omitted because of collinearity Warning: variance matrix is nonsymmetric or highly singular

Do you know why I would be getting collinearity problems when others can seem to run this code exactly as is?

Thanks for your help.

lannnrahcel commented 1 year ago

I encountered this same problem using version 6. How should I deal with this issue?