The R Journal: article published in 2011, volume 3:2

glm2: Fitting Generalized Linear Models with Convergence Problems PDF download
Ian C. Marschner , The R Journal (2011) 3:2, pages 12-15.

Abstract The R function glm uses step-halving to deal with certain types of convergence problems when using iteratively reweighted least squares to fit a generalized linear model. This works well in some circumstances but non-convergence remains a possibility, particularly with a non-standard link function. In some cases this is because step-halving is never invoked, despite a lack of convergence. In other cases step-halving is invoked but is unable to induce convergence. One remedy is to impose a stricter form of step-halving than is currently available in glm, so that the deviance is forced to decrease in every iteration. This has been implemented in the glm2 function available in the glm2 package. Aside from a modified computational algorithm, glm2 operates in exactly the same way as glm and provides improved convergence properties. These improvements are illustrated here with an identity link Poisson model, but are also relevant in other contexts.

CRAN packages: glm2

This article is licensed under a Creative Commons Attribution 3.0 Unported license.

  author = {Ian C. Marschner},
  title = {{glm2: Fitting Generalized Linear Models with Convergence
  year = {2011},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2011-012},
  url = {},
  pages = {12--15},
  volume = {3},
  number = {2}