Learn R Programming

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

gnm (version 0.9-3)

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, 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.

Copy Link

Version

Install

install.packages('gnm')

Monthly Downloads

5,633

Version

0.9-3

License

GPL version 2 or later

Maintainer

Heather Turner

Last Published

September 16th, 2023

Functions in gnm (0.9-3)

Const

Specify a Constant in a gnm Model Formula
Dref

Specify a Diagonal Reference Term in a gnm Model Formula
Exp

Specify the Exponential of a Predictor in a gnm Model Formula
MPinv

Moore-Penrose Pseudoinverse of a Real-valued Matrix
Nonlin

Specify a Special Nonlinear Term in a Model Formula
backPain

Data on Back Pain Prognosis, from Anderson (1984)
se

Standard Errors of Linear Parameter Combinations in gnm Models
Multiplicative interaction

Specify a Product of Predictors in a gnm Model Formula
Raise

Specify a Predictor Raised to a Constant Power in an gnm Model
confint.gnm

Compute Confidence Intervals of Parameters in a Generalized Nonlinear Model
anova.gnm

Analysis of Deviance for Generalized Nonlinear Models
wheat

Wheat Yields from Mexican Field Trials
Logit

Specify the Logit of a Predictor in a gnm Model Formula
plot.gnm

Plot Diagnostics for a gnm Object
barley

Jenkyn's Data on Leaf-blotch on Barley
vcov.gnm

Variance-covariance Matrix for Parameters in a Generalized Nonlinear Model
Inv

Specify the Reciprocal of a Predictor in a gnm Model Formula
erikson

Intergenerational Class Mobility in England/Wales, France and Sweden
summary.gnm

Summarize Generalized Nonlinear Model Fits
MultHomog

Specify a Multiplicative Interaction with Homogeneous Effects in a gnm Model Formula
asGnm

Coerce Linear Model to gnm Object
Topo

Topological Interaction of Factors
friend

Occupation of Respondents and Their Closest Friend
expandCategorical

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

Print Exit Information for gnm Fit
gnm

Fitting Generalized Nonlinear Models
checkEstimable

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

Multiplicative Approximation of Model Residuals
gnm-package

Generalized Nonlinear Models
getModelFrame

Get the Model Frame in Use by 'gnm'
getContrasts

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

Specify Multiple Instances of a Nonlinear Term in a gnm Model Formula
wedderburn

Wedderburn Quasi-likelihood Family
cautres

Data on Class, Religion and Vote in France
Log

Specify the Logarithm of a Predictor in a gnm Model Formula
Diag

Equality of Two or More Factors
ofInterest

Coefficents of Interest in a Generalized Nonlinear Model
model.matrix.gnm

Local Design Matrix for a Generalized Nonlinear Model
mentalHealth

Data on Mental Health and Socioeconomic Status
occupationalStatus

Data on Occupational Status of Fathers and their Sons
profile.gnm

Profile Deviance for Parameters in a Generalized Nonlinear Model
termPredictors

Extract Term Contributions to Predictor
nonlin.function

Functions to Specify Nonlinear Terms in gnm Models
parameters

Extract Constrained and Estimated Parameters from a gnm Object
voting

Data on Social Mobility and the Labour Vote
yaish

Class Mobility by Level of Education in Israel
qrSolve

Minimum-length solution of a linear system
pickCoef

Get Indices For Selected Model Coefficients
House2001

Data on twenty roll calls in the US House of Representatives, 2001
Symm

Symmetric Interaction of Factors