[R] Tobit Fixed Effects

Arne Henningsen arne.henningsen at googlemail.com
Sat Apr 14 08:22:53 CEST 2012


Hi Felipe

On 22 March 2012 10:13, Felipe Nunes <felipnunes at 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



More information about the R-help mailing list