[R] plm package, random effects model error message

londonphd r.otojanov at qmul.ac.uk
Mon Apr 8 19:06:23 CEST 2013


I am trying to run the following Random Effects panel model in R, but I am
getting an error message. I am just thinking, maybe the random.method I
chose is not working?

re1=plm(gdp ~ fossil+renewables+labour+gfcf, model = "random", data =
new.frame,index = c("id"),random.method = "swar")
Error in if (sigma2$id < 0) stop(paste("the estimated variance of the",  : 
  missing value where TRUE/FALSE needed

Any suggestions would be helpful!

View this message in context: http://r.789695.n4.nabble.com/plm-package-random-effects-model-error-message-tp4663677.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list