gnm: Generalized Nonlinear Models

Functions to specify and fit generalized nonlinear models, including models with multiplicative interaction terms such as the UNIDIFF model from sociology and the AMMI model from crop science, and many others. Over-parameterized representations of models are used throughout; functions are provided for inference on estimable parameter combinations, as well as standard methods for diagnostics etc.

Version: 1.1-5
Depends: R (≥ 3.0.0)
Imports: graphics, grDevices, MASS, Matrix, methods, nnet, qvcalc (≥ 0.8-3), relimp, stats, utils
Suggests: logmult, testthat (≥ 3.0.0), vcdExtra
Published: 2023-09-16
DOI: 10.32614/CRAN.package.gnm
Author: Heather Turner ORCID iD [aut, cre], David Firth ORCID iD [aut], Brian Ripley [ctb], Bill Venables [ctb], Douglas M. Bates [ctb], Martin Maechler ORCID iD [ctb]
Maintainer: Heather Turner <ht at>
License: GPL-2 | GPL-3
NeedsCompilation: yes
Language: en-GB
Materials: README NEWS
CRAN checks: gnm results


Reference manual: gnm.pdf
Vignettes: Generalized nonlinear models in R: An overview of the gnm package


Package source: gnm_1.1-5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gnm_1.1-5.tgz, r-oldrel (arm64): gnm_1.1-5.tgz, r-release (x86_64): gnm_1.1-5.tgz, r-oldrel (x86_64): gnm_1.1-5.tgz
Old sources: gnm archive

Reverse dependencies:

Reverse depends: flexmixNL, logmult, multgee, prefmod, StMoMo, vcdExtra, VFP
Reverse imports: CausalGPS, CvmortalityMult, MetaCycle, perARMA, SCCS, VIRF
Reverse suggests: agridat, CRE, Cyclops, em, gosset, PlackettLuce, profileModel
Reverse enhances: BradleyTerry2, enrichwith, texreg


Please use the canonical form to link to this page.