On Sun, May 30, 2010 at 12:16 PM, Sherrie Jin <jingoosy at 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 10000 iterations. What was wrong?
> I used the following code in R:
> glm(y ~ x1 x2 x3, control=glm.control(maxit=10000), data,
> family=Gamma(link="log"))
What is the actual glm expression you tried to run? Does it not
converge for just one formula or when you try different formulas/data?
Josh
>
> ? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Joshua Wiley
Senior in Psychology
University of California, Riverside
http://www.joshuawiley.com/