Abstract
A generalised linear model (GLM) or a generalised additive model (GAM) consists of three steps: (i) the distribution of the response variable, (ii) the specification of the systematic component in terms of explanatory variables, and (iii) the link between the mean of the response variable and the systematic part. In Chapter 8, we discussed several different distributions for the response variable: Normal, Poisson, negative binomial, geometric, gamma, Bernoulli, and binomial distributions. One of these distributions can be used for the first step mentioned above. In fact, later in Chapter 11, we see how you can also use a mixture of two distributions for the response variable; but in this chapter, we only work with one distribution at a time.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
We used R version 2.6.0. More recent R versions require slightly different code; see the book website for updated code.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2009 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
Zuur, A.F., Ieno, E.N., Walker, N.J., Saveliev, A.A., Smith, G.M. (2009). GLM and GAM for Count Data. In: Mixed effects models and extensions in ecology with R. Statistics for Biology and Health. Springer, New York, NY. https://doi.org/10.1007/978-0-387-87458-6_9
Download citation
DOI: https://doi.org/10.1007/978-0-387-87458-6_9
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-87457-9
Online ISBN: 978-0-387-87458-6
eBook Packages: Biomedical and Life SciencesBiomedical and Life Sciences (R0)