gnm v1.1-1

0

Monthly downloads

0th

Percentile

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.

Readme

gnm

CRAN\_Status\_Badge Travis-CI Build
Status AppVeyor Build
Status

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.

Installation

You can install gnm from GitHub with:

# install.packages("devtools")
devtools::install_github("hturner/gnm")

Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Functions in gnm

Name Description
Diag Equality of Two or More Factors
Dref Specify a Diagonal Reference Term in a gnm Model Formula
Const Specify a Constant in a "nonlin" Function Predictor
Symm Symmetric Interaction of Factors
Inv Specify the Reciprocal of a Predictor in a gnm Model Formula
MultHomog Specify a Multiplicative Interaction with Homogeneous Effects in a gnm Model Formula
MPinv Moore-Penrose Pseudoinverse of a Real-valued Matrix
barley Jenkyn's Data on Leaf-blotch on Barley
cautres Data on Class, Religion and Vote in France
Multiplicative interaction Specify a Product of Predictors in a gnm Model Formula
House2001 Data on twenty roll calls in the US House of Representatives, 2001
Exp Specify the Exponential of a Predictor in a gnm Model Formula
barleyHeights Heights of Barley Plants
confint.gnm Compute Confidence Intervals of Parameters in a Generalized Nonlinear Model
meanResiduals Average Residuals within Factor Levels
asGnm Coerce Linear Model to gnm Object
checkEstimable Check Whether One or More Parameter Combinations in a gnm Model are Identified
residSVD Multiplicative Approximation of Model Residuals
Topo Topological Interaction of Factors
erikson Intergenerational Class Mobility in England/Wales, France and Sweden
backPain Data on Back Pain Prognosis, from Anderson (1984)
gnm-defunct Defunct Functions in gnm Package
se.gnm Standard Errors of Linear Parameter Combinations in gnm Models
mentalHealth Data on Mental Health and Socioeconomic Status
anova.gnm Analysis of Deviance for Generalized Nonlinear Models
gnm Fitting Generalized Nonlinear Models
friend Occupation of Respondents and Their Closest Friend
se Extract Standard Errors
exitInfo Print Exit Information for gnm Fit
gnm-package Generalized Nonlinear Models
summary.gnm Summarize Generalized Nonlinear Model Fits
instances Specify Multiple Instances of a Nonlinear Term in a gnm Model Formula
parameters Extract Constrained and Estimated Parameters from a gnm Object
expandCategorical Expand Data Frame by Re-expressing Categorical Data as Counts
wedderburn Wedderburn Quasi-likelihood Family
getContrasts Estimated Contrasts and Standard Errors for Parameters in a gnm Model
voting Data on Social Mobility and the Labour Vote
pickCoef Get Indices or Values of Selected Model Coefficients
ofInterest Coefficients of Interest in a Generalized Nonlinear Model
predict.gnm Predict Method for Generalized Nonlinear Models
plot.gnm Plot Diagnostics for a gnm Object
model.matrix.gnm Local Design Matrix for a Generalized Nonlinear Model
yaish Class Mobility by Level of Education in Israel
wheat Wheat Yields from Mexican Field Trials
nonlin.function Functions to Specify Nonlinear Terms in gnm Models
profile.gnm Profile Deviance for Parameters in a Generalized Nonlinear Model
termPredictors Extract Term Contributions to Predictor
vcov.gnm Variance-covariance Matrix for Parameters in a Generalized Nonlinear Model
No Results!

Vignettes of gnm

Name
fig-Effect_plots.pdf
fig-LCall.pdf
fig-LCover45.pdf
fig-LCqvplot.pdf
fig-deaths1921-1940.pdf
fig-profilePlot.pdf
gnm.bib
gnmOverview.Rnw
screenshot1.png
screenshot2.png
screenshot3.png
No Results!

Last month downloads

Details

URL https://github.com/hturner/gnm
BugReports https://github.com/hturner/gnm/issues
License GPL-2 | GPL-3
LazyData yes
Language en-GB
NeedsCompilation yes
Packaged 2020-02-02 19:31:05 UTC; hturner
Repository CRAN
Date/Publication 2020-02-03 14:20:02 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/gnm)](http://www.rdocumentation.org/packages/gnm)