Beginner's Guide to Generalized Additive Models with R (2012)
Zuur, AF
A Beginner’s Guide to Generalized Additive Models with R is, as the title implies, a practical handbook for the non-statistician. The author’s philosophy is that the shortest path to comprehension of a statistical technique without delving into extensive mathematical detail is through programming its basic principles in, for example, R.
Not a series of cookbook exercises, the author uses data from biological studies to go beyond theory and immerse the reader in real-world analysis with its inherent untidiness and challenges.
The book begins with a review of multiple linear regression using research on human crania size and ambient light levels and continues with an introduction to additive models based on deep sea fishery data. Research on pelagic bioluminescent organisms demonstrates simple linear regression techniques to program a smoother.
In Chapter 4 the deep sea fishery study is revisited for a discussion of generalized additive models.
The remaining chapters present detailed case studies illustrating the application of Gaussian, Poisson, negative binomial, zero-inflated Poisson, and binomial generalized additive models using seabird, squid, and fish parasite studies.
Table of contents and Preface
Click for
Data sets and R code used in the book
All data sets used in the book are provided as *.txt files. Right-mouse click on a data file and R code file and click on Save-As. Note that the R code may be intimidating without the text in the book.
Chapter 1
- Data used: Human visual system data
- R code used: Chapter1.R
- Flowchart: Different smoothers graph (updated)
Chapter 2
- Data used: Bailey fisheries data
- R code used: Chapter2.R
Chapter 3
- Data used: Pelagic bioluminescent organisms
- R code used: Chapter3.R
Chapter 4
- Data used: Bailey fisheries data
- R code used: Chapter4.R
- Corrected Figure 4.5
Chapter 5
- Data used: Squid data
- R code used: Chapter5.R
Chapter 6
- Data used: Gannets data
- R code used: Chapter6.R
Chapter 7
- Data used: Parasites in hake data
- R code used: Chapter7.R
HighstatLibV8.R support file (replaces earlier HighstatLib versions)
Newer mgcv and R versions may give slightly different results. The R code is fully explained in the book.
Current Errata list for the book
Support material
Readers of the some of our books have free access to Chapter 1 of Beginner's Guide to Generalized Additive Models with R (2012). Zuur AF. This chapter provides an introduction to multiple linear regression, which is prerequisite knowledge for Beginner's Guide to GLM and GLMM with R.
- Review of multiple linear regression. Chapter 1 in: A Beginner’s Guide to Generalized Additive Models with R (2012). Zuur AF.
This chapter is password protected. The password is given in the preface of the book that you bought.