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.

AuthorHeather Turner [aut, cre], David Firth [aut], Brian Ripley [ctb], Bill Venables [ctb], Douglas M. Bates [ctb], Martin Maechler [ctb]
Date of publication2015-04-22 12:08:50
MaintainerHeather Turner <ht@heatherturner.net>
LicenseGPL-2 | GPL-3
Version1.0-8
http://go.warwick.ac.uk/gnm

View on CRAN

Man pages

anova.gnm: Analysis of Deviance for Generalized Nonlinear Models

asGnm: Coerce Linear Model to gnm Object

backPain: Data on Back Pain Prognosis, from Anderson (1984)

barley: Jenkyn's Data on Leaf-blotch on Barley

barleyHeights: Heights of Barley Plants

cautres: Data on Class, Religion and Vote in France

checkEstimable: Check Whether One or More Parameter Combinations in a gnm...

confint.gnm: Compute Confidence Intervals of Parameters in a Generalized...

Const: Specify a Constant in a "nonlin" Function Predictor

Diag: Equality of Two or More Factors

Dref: Specify a Diagonal Reference Term in a gnm Model Formula

erikson: Intergenerational Class Mobility in England/Wales, France and...

exitInfo: Print Exit Information for gnm Fit

Exp: Specify the Exponential of a Predictor in a gnm Model Formula

expandCategorical: Expand Data Frame by Re-expressing Categorical Data as Counts

friend: Occupation of Respondents and Their Closest Friend

getContrasts: Estimated Contrasts and Standard Errors for Parameters in a...

gnm: Fitting Generalized Nonlinear Models

gnm-defunct: Defunct Functions in gnm Package

gnm-package: Generalized Nonlinear Models

House2001: Data on twenty roll calls in the US House of Representatives,...

instances: Specify Multiple Instances of a Nonlinear Term in a gnm Model...

Inv: Specify the Reciprocal of a Predictor in a gnm Model Formula

meanResiduals: Average Residuals within Factor Levels

mentalHealth: Data on Mental Health and Socioeconomic Status

model.matrix.gnm: Local Design Matrix for a Generalized Nonlinear Model

MPinv: Moore-Penrose Pseudoinverse of a Real-valued Matrix

Mult: Specify a Product of Predictors in a gnm Model Formula

MultHomog: Specify a Multiplicative Interaction with Homogeneous Effects...

nonlin.function: Functions to Specify Nonlinear Terms in gnm Models

ofInterest: Coefficents of Interest in a Generalized Nonlinear Model

parameters: Extract Constrained and Estimated Parameters from a gnm...

pickCoef: Get Indices or Values of Selected Model Coefficients

plot.gnm: Plot Diagnostics for a gnm Object

predict.gnm: Predict Method for Generalized Nonlinear Models

profile.gnm: Profile Deviance for Parameters in a Generalized Nonlinear...

residSVD: Multiplicative Approximation of Model Residuals

se: Standard Errors of Linear Parameter Combinations in gnm...

summary.gnm: Summarize Generalized Nonlinear Model Fits

Symm: Symmetric Interaction of Factors

termPredictors: Extract Term Contributions to Predictor

Topo: Topological Interaction of Factors

vcov.gnm: Variance-covariance Matrix for Parameters in a Generalized...

voting: Data on Social Mobility and the Labour Vote

wedderburn: Wedderburn Quasi-likelihood Family

wheat: Wheat Yields from Mexican Field Trials

yaish: Class Mobility by Level of Education in Israel

Functions

anova.gnm Man page
asGnm Man page
backPain Man page
barley Man page
barleyHeights Man page
cautres Man page
checkEstimable Man page
confint.gnm Man page
confint.profile.gnm Man page
Const Man page
Diag Man page
Dref Man page
DrefWeights Man page
erikson Man page
exitInfo Man page
Exp Man page
expandCategorical Man page
friend Man page
getContrasts Man page
getModelFrame Man page
gnm Man page
gnm-defunct Man page
gnm-package Man page
House2001 Man page
instances Man page
Inv Man page
meanResiduals Man page
mentalHealth Man page
model.matrix.gnm Man page
MPinv Man page
Mult Man page
MultHomog Man page
Nonlin Man page
nonlin.function Man page
ofInterest Man page
ofInterest<- Man page
parameters Man page
pickCoef Man page
plot.gnm Man page
plot.profile.gnm Man page
predict.gnm Man page
print.summary.gnm Man page
profile.gnm Man page
qrSolve Man page
residSVD Man page
se Man page
summary.gnm Man page
Symm Man page
termPredictors Man page
Topo Man page
vcov.gnm Man page
voting Man page
wedderburn Man page
wheat Man page
yaish Man page

Files

gnm
gnm/inst
gnm/inst/CITATION
gnm/inst/NEWS
gnm/inst/doc
gnm/inst/doc/gnmOverview.Rnw
gnm/inst/doc/gnmOverview.pdf
gnm/inst/doc/gnmOverview.R
gnm/tests
gnm/tests/nls.Rout.save
gnm/tests/logistic.Rout.save
gnm/tests/unidiff.Rout.save
gnm/tests/gammi.R
gnm/tests/gammi.Rout.save
gnm/tests/bwt.Rout.save
gnm/tests/stereotype.Rout.save
gnm/tests/RChomog.R
gnm/tests/logexcess.Rout.save
gnm/tests/diagonalRef.R
gnm/tests/RC.R
gnm/tests/logexcess.R
gnm/tests/RC.Rout.save
gnm/tests/bwt.R
gnm/tests/doubleUnidiff.R
gnm/tests/unidiff.R
gnm/tests/diagonalRef.Rout.save
gnm/tests/logistic.R
gnm/tests/doubleUnidiff.Rout.save
gnm/tests/biplot.Rout.save
gnm/tests/nls.R
gnm/tests/stereotype.R
gnm/tests/biplot.R
gnm/tests/RChomog.Rout.save
gnm/src
gnm/src/Makevars
gnm/src/gnm.c
gnm/NAMESPACE
gnm/demo
gnm/demo/gnm.R
gnm/demo/00Index
gnm/data
gnm/data/yaish.rda
gnm/data/barleyHeights.rda
gnm/data/backPain.rda
gnm/data/House2001.rda
gnm/data/wheat.rda
gnm/data/barley.rda
gnm/data/friend.rda
gnm/data/voting.rda
gnm/data/erikson.rda
gnm/data/mentalHealth.rda
gnm/data/cautres.rda
gnm/R
gnm/R/dummy.coef.gnm.R gnm/R/Logistic.R gnm/R/effects.gnm.R gnm/R/gnm.R gnm/R/print.summary.gnm.R gnm/R/labels.gnm.R gnm/R/asGnm.default.R gnm/R/hashSplit.R gnm/R/instances.R gnm/R/summary.gnm.R gnm/R/gnmStart.R gnm/R/sumExpression.R gnm/R/model.matrix.gnm.R gnm/R/residuals.gnm.R gnm/R/dfbeta.gnm.R gnm/R/dfbetas.gnm.R gnm/R/Topo.R gnm/R/gnm-defunct.R gnm/R/pickCoef.R gnm/R/vcov.gnm.R gnm/R/getContrasts.R gnm/R/plot.gnm.R gnm/R/checkEstimable.R gnm/R/Raise.R gnm/R/exitInfo.R gnm/R/kappa.gnm.R gnm/R/residSVD.R gnm/R/expandCategorical.R gnm/R/weights.gnm.R gnm/R/cooks.distance.gnm.R gnm/R/anova.gnm.R gnm/R/gnmTools.R gnm/R/glm.fit.e.R gnm/R/Log.R gnm/R/se.R gnm/R/boxcox.gnm.R gnm/R/Inv.R gnm/R/print.meanResiduals.R gnm/R/Symm.R gnm/R/Exp.R gnm/R/psum.R gnm/R/coef.gnm.R gnm/R/ofInterestReplacement.R gnm/R/quickRank.R gnm/R/Dref.R gnm/R/quick.glm.fit.R gnm/R/gnmFit.R gnm/R/termPredictors.gnm.R gnm/R/weighted.MM.R gnm/R/prattle.R gnm/R/updateLinear.R gnm/R/termPredictors.default.R gnm/R/asGnm.glm.R gnm/R/Const.R gnm/R/Logit.R gnm/R/logtrans.gnm.R gnm/R/proj.gnm.R gnm/R/drop1.gnm.R gnm/R/hatvalues.gnm.R gnm/R/print.gnm.R gnm/R/Diag.R gnm/R/rstudent.gnm.R gnm/R/termPredictors.R gnm/R/cholInv.R gnm/R/meanResiduals.R gnm/R/plot.profile.gnm.R gnm/R/Mult.R gnm/R/variable.names.gnm.R gnm/R/DrefWeights.R gnm/R/print.profile.gnm.R gnm/R/rstandard.gnm.R gnm/R/wedderburn.R gnm/R/MPinv.R gnm/R/confint.profile.gnm.R gnm/R/asGnm.R gnm/R/print.vcov.gnm.R gnm/R/predict.gnm.R gnm/R/naToZero.R gnm/R/fitted.gnm.R gnm/R/dropterm.gnm.R gnm/R/grp.sum.R gnm/R/unlistOneLevel.R gnm/R/confint.gnm.R gnm/R/model.frame.gnm.R gnm/R/gnmTerms.R gnm/R/profile.gnm.R gnm/R/influence.gnm.R gnm/R/pprod.R gnm/R/alias.gnm.R gnm/R/asGnm.lm.R gnm/R/add1.gnm.R gnm/R/print.coef.gnm.R gnm/R/getData.R gnm/R/update.gnm.R gnm/R/addterm.gnm.R gnm/R/parameters.R gnm/R/MultHomog.R gnm/R/checkCall.R gnm/R/zzz.R gnm/R/summary.meanResiduals.R gnm/R/ofInterest.R gnm/R/nonlinTerms.R
gnm/vignettes
gnm/vignettes/fig-profilePlot.pdf
gnm/vignettes/screenshot1.png
gnm/vignettes/fig-LCqvplot.pdf
gnm/vignettes/fig-deaths1921-1940.pdf
gnm/vignettes/gnm.bib
gnm/vignettes/fig-Effect_plots.pdf
gnm/vignettes/gnmOverview.Rnw
gnm/vignettes/screenshot2.png
gnm/vignettes/screenshot3.png
gnm/vignettes/fig-LCover45.pdf
gnm/vignettes/fig-LCall.pdf
gnm/MD5
gnm/build
gnm/build/vignette.rds
gnm/DESCRIPTION
gnm/man
gnm/man/Symm.Rd gnm/man/Const.Rd gnm/man/barleyHeights.Rd gnm/man/House2001.Rd gnm/man/pickCoef.Rd gnm/man/termPredictors.Rd gnm/man/confint.gnm.Rd gnm/man/expandCategorical.Rd gnm/man/summary.gnm.Rd gnm/man/anova.gnm.Rd gnm/man/Exp.Rd gnm/man/instances.Rd gnm/man/wheat.Rd gnm/man/gnm-defunct.Rd gnm/man/plot.gnm.Rd gnm/man/barley.Rd gnm/man/Mult.Rd gnm/man/ofInterest.Rd gnm/man/profile.gnm.Rd gnm/man/gnm.Rd gnm/man/gnm-package.Rd gnm/man/asGnm.Rd gnm/man/model.matrix.gnm.Rd gnm/man/erikson.Rd gnm/man/predict.gnm.Rd gnm/man/Topo.Rd gnm/man/se.Rd gnm/man/wedderburn.Rd gnm/man/meanResiduals.Rd gnm/man/MultHomog.Rd gnm/man/voting.Rd gnm/man/parameters.Rd gnm/man/backPain.Rd gnm/man/cautres.Rd gnm/man/Dref.Rd gnm/man/MPinv.Rd gnm/man/residSVD.Rd gnm/man/friend.Rd gnm/man/mentalHealth.Rd gnm/man/getContrasts.Rd gnm/man/vcov.gnm.Rd gnm/man/exitInfo.Rd gnm/man/Inv.Rd gnm/man/yaish.Rd gnm/man/nonlin.function.Rd gnm/man/Diag.Rd gnm/man/checkEstimable.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.