[R] Gamma regression doesn't converge

2010-05-30 Thread Sherrie Jin
When I ran a Gamma regression in SAS, the algorithm converged. When I ran it in R, it keeps uncoverged even if I used 1 iterations. What was wrong? I used the following code in R: glm(y ~ x1 x2 x3, control=glm.control(maxit=1), data, family=Gamma(link=log)) [[alternative HTML

Re: [R] Gamma regression doesn't converge

2010-05-30 Thread Joshua Wiley
On Sun, May 30, 2010 at 12:16 PM, Sherrie Jin jingo...@gmail.com wrote: When I ran a Gamma regression in SAS, the algorithm converged. When I ran it in R, it keeps uncoverged even if I used 1 iterations. What was wrong? I used the following code in R: glm(y ~ x1 x2 x3,