Learn R Programming

⚠️There's a newer version (1.1-5) of this package.Take me there.

gnm (version 0.8-1)

Generalized Nonlinear Models

Description

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. This is a major re-working of an earlier Xlisp-Stat package, "Llama". 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.

Copy Link

Version

Install

install.packages('gnm')

Monthly Downloads

7,751

Version

0.8-1

License

GPL version 2 or later

Maintainer

Heather Turner

Last Published

September 16th, 2023

Functions in gnm (0.8-1)

MPinv

Moore-Penrose Pseudoinverse of a Real-valued Matrix
erikson

Intergenerational Class Mobility in England/Wales, France and Sweden
friend

Occupation of Respondents and Their Closest Friend
expandCategorical

Expand Data Frame by Re-expressing Categorical Data as Counts
qrSolve

Minimum-length solution of a linear system
termPredictors

Extract Term Contributions to Predictor
getContrasts

Estimated Contrasts and Standard Errors for Parameters in a gnm Model
exitInfo

Print Exit Information for gnm Fit
Symm

Symmetric Interaction of Factors
se

Standard Errors of Linear Parameter Combinations in gnm Models
gnm

Fitting Generalized Nonlinear Models
occupationalStatus

Data on Occupational Status of Fathers and their Sons
Diag

Equality of Two or More Factors
asGnm

Coerce Linear Model to gnm Object
mentalHealth

Data on Mental Health and Socioeconomic Status
wheat

Wheat Yields from Mexican Field Trials
barley

Jenkyn's Data on Leaf-blotch on Barley
Multiplicative interaction

Specify a Multiplicative Interaction in a gnm Model Formula
getModelFrame

Get the Model Frame in Use by 'gnm'
Nonlin

Specify a Special Nonlinear Term in a Model Formula
wedderburn

Wedderburn Quasi-likelihood Family
voting

Data on Social Mobility and the Labour Vote
anova.gnm

Analysis of Deviance for Generalized Nonlinear Models
Topo

Topological Interaction of Factors
plot.gnm

Plot Diagnostics for a gnm Object
cautres

Data on Class, Religion and Vote in France
House2001

Data on twenty roll calls in the US House of Representatives, 2001
summary.gnm

Summarize Generalized Nonlinear Model Fits
residSVD

Multiplicative Approximation of Model Residuals
checkEstimable

Check Whether One or More Parameter Combinations in a gnm Model are Identified
Dref

gnm Plug-in Function to Fit Diagonal Reference Terms
MultHomog

gnm Plug-in Function to Fit Multiplicative Interactions with Homogeneous Effects
yaish

Class Mobility by Level of Education in Israel
vcov.gnm

Variance-covariance Matrix for Parameters in a Generalized Nonlinear Model
model.matrix.gnm

Local Design Matrix for a Generalized Nonlinear Model
backPain

Data on Back Pain Prognosis, from Anderson (1984)