Re: [R] negative binomial family glm R and STATA

2007-01-07 Thread Lesnoff, Matthieu \(ILRI\)
] negative binomial family glm R and STATA Dear Lister, I am facing a strange problem fitting a GLM of the negative binomial family. Actually, I tried to estimate theta (the scale parameter) through glm.nb from MASS and could get convergence only relaxing the convergence tolerance to 1e-3

[R] negative binomial family glm R and STATA

2007-01-07 Thread Mikis Stasinopoulos
Dear Patrick Try the package gamlss which allow to fit the negative binomial distrbution. For example with your data I am getting #--- ga1-gamlss(nbcas~.,data=zonesdb4,family=NBI) GAMLSS-RS iteration 1: Global Deviance = 817.9027 GAMLSS-RS

[R] negative binomial family glm R and STATA

2007-01-06 Thread Patrick Giraudoux
Dear Lister, I am facing a strange problem fitting a GLM of the negative binomial family. Actually, I tried to estimate theta (the scale parameter) through glm.nb from MASS and could get convergence only relaxing the convergence tolerance to 1e-3. With warning messages: