Hi Felipe On 22 March 2012 10:13, Felipe Nunes <felipnu...@gmail.com> wrote: > I'm using censReg() to run a random effects model, but R is having an error. > Can you help me understanding why? > > When I run this model, everything works fine: > > tob1 <- censReg(transfers.cap ~ factor(year) + district2 + gdp.cap - 1, > left=0, right=Inf, method="BFGS", nGHQ=15, iterlim=10000, data = d3) > > But this one, does not: > > tob2 <- censReg(transfers.cap ~ factor(year) + I(constituency.coa.v/100) + > district2 - 1, left=0, right=Inf, method="BFGS", nGHQ=15, iterlim=10000, > data = d3) > > The error is: > > Error in solve.default(OM) : > system is computationally singular: reciprocal condition number = > 4.41531e-17
Did you solve this problem in the mean time? If not: I could take a look at it if you send me a reproducible example. Best wishes, Arne -- Arne Henningsen http://www.arne-henningsen.name ______________________________________________ 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.