Hello, 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. ______________________________________________ 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.