Abstract
In chapter 6 we described briefly our implementation of two conjugate gradient algorithms in GLIM. Here we describe a number of other details necessary to adapt GLIM to fit generalized linear models by conjugate gradients. When GLIM fits a model, it stops iterating when the relative change in the log likelihood function is less than 10−4. If the log likelihood is small, this is replaced by an absolute criterion involving ( n-rank(X) ). Other than replacing this with1 max(n-r, 1) we adopted this as our convergence criterion. We chose Fisher’s scoring algorithm2 for the line search algorithm. Most of the quantities necessary to implement Fisher scoring are computed during evaluation of the likelihood function. The extra cost (typically a few arithmetic operations) is small compared to the cost of generating the rows of X. We used a relative convergence criterion based on the relative change in the log likelihood for the current iteration of the search measured against the total change during the search.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1982 Springer-Verlag New York Inc.
About this chapter
Cite this chapter
Mclntosh, A. (1982). Examples: Generalized Linear Models. In: Fitting Linear Models. Lecture Notes in Statistics, vol 10. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-5752-3_7
Download citation
DOI: https://doi.org/10.1007/978-1-4612-5752-3_7
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-90746-8
Online ISBN: 978-1-4612-5752-3
eBook Packages: Springer Book Archive