Dear all,

I'm using censReg 0.5-16 to run a random effects model in a panel data, but
R is having an error. I have already transformed my data using 'plm'. Can
someone help me understanding why?

This is the model and the error:

R> tob1 <- censReg(transfers.cap ~ ifdm + gdp.cap + coa.power + margin +
lula.perc.vot2 + reelec + voters + gov.fac + year.fac, left=0, right=Inf,
data=dNI.p, method=BHHH)

Error in solve.default(crossprod(X.m)) :
  system is computationally singular: reciprocal condition number =
2.84374e-18

Thanks

*Felipe Nunes*
CAPES/Fulbright Fellow
PhD Candidate - UCLA
felipenunes.bol.ucla.edu


On Fri, Apr 13, 2012 at 11:22 PM, Arne Henningsen <
arne.henningsen@googlemail.com> wrote:

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

	[[alternative HTML version deleted]]

