[R] 6 different errors while using glm.nb

Ben Bolker bbolker at gmail.com
Fri Mar 2 20:34:50 CET 2012


Lucas <lpchaparrovio <at> gmail.com> writes:

> I need your help. I´m trying to fit the same *glm.nb* to a different data
> set and i am getting these errors in some of the data. Sometimes, one data
> set has two of these errors when fitting the model.
 
1.- Error en while ((it <- it + 1) < limit && abs(del) eps) { :

  valor ausente donde TRUE/FALSE es necesario

2.- Mensajes de aviso perdidos

1: In sqrt(1/i) : Se han producido NaNs2: In sqrt(1/i) : Se han producido NaNs

3.- glm.fit: fitted rates numerically 0 occurred

4.- glm.fit : algorithm did not converge

5.- Error: no valid set of coefficients has been found: please supply
starting values

6.- Error en glm.fitter(x = X, y = Y, w = w, etastart = eta, offset =
offset,  :

  NA/NaN/Inf en llamada a una función externa (arg 1)

> I don´t know why i have this errors. If someone could help me to
> understand what´s going on i would appreciate.
> 

  We need a reproducible example. See http://tinyurl.com/reproducible-000
for examples, or the R posting guide (see the bottom of this
message). Your data are presumably odd in some
way, or at least very small.  Have you tried plotting them?



More information about the R-help mailing list