Hi, I am trying to run panel regression using Fixed and Random effects models. I am getting the following error message after running the hausman test
>Fmodel=plm(gdp ~ labour+gfcf+oil+coal+gas+hydroel+nuclear+rnwable, model = "within", data = new.frame,index = c("id")) >Rmodel=plm(gdp ~ labour+gfcf+oil+coal+gas+hydroel+nuclear+rnwable, model = "random", data = new.frame,index = c("id"),random.method="amemiya") >phtest(Fmodel,Rmodel) >Error in solve.default(dvcov) : system is computationally singular: reciprocal condition number = 1.76944e-20 I would really appreciate if you could help -- View this message in context: http://r.789695.n4.nabble.com/panel-model-hausman-test-tp4662303.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.