Generalized nonlinear models in R: An overview of the gnm package
NCRM EPrints home | New Search
Turner, Heather and Firth , David (2007) Generalized nonlinear models in R: An overview of the gnm package. NCRM Working Paper. ESRC National Centre for Research Methods. (Unpublished)
| PDF 525Kb |
Abstract
The gnm package provides facilities for fitting generalized nonlinear models, i.e., regression models in which the linktransformed mean is described as a sum of predictor terms, some of which may be non-linear in the unknown parameters. Linear and generalized linear models, as handled by the lm and glm functions in R, are included in the class of generalized nonlinear models, as the special case in which there is no nonlinear term. This document gives an extended overview of the gnm package, with some examples of applications. The primary package documentation in the form of standard help pages, as viewed in R by, for example, ?gnm or help(gnm), is supplemented rather than replaced by the present document. We begin below with a preliminary note (Section 2) on some ways in which the gnm package extends R’s facilities for specifying, fitting and working with generalized linear models. Then (Section 3 onwards) the facilities for nonlinear terms are introduced, explained and exemplified. The gnm package is installed in the standard way for CRAN packages, for example by using install.packages. Once installed, the package is loaded into an R session by
| Item Type: | Monograph (NCRM Working Paper) |
|---|---|
| Uncontrolled Keywords: | NCRMpublication |
| Subjects: | 5. ICT, Software and Simulation > 5.3 Quantitative Software 4. Data Handling and Data Analysis > 4.2 Quantitative Approaches > 4.2.5 Regression Analysis 5. ICT, Software and Simulation > 5.1 ICT, Software and Simulation (general) 4. Data Handling and Data Analysis > 4.2 Quantitative Approaches > 4.2.1 Quantitative Approaches (general) |
| ID Code: | 472 |
| Deposited By: | NCRM users |
| Deposited On: | 05 Dec 2008 18:30 |
| Last Modified: | 30 Jan 2009 17:59 |
Repository Staff Only: item control page