Skip to main content

Analysing Discrete Data: The Generalised Linear Model

  • Chapter
  • First Online:
Eco-Stats: Data Analysis in Ecology

Part of the book series: Methods in Statistical Ecology ((MISE))

  • 2081 Accesses

Abstract

In Exercise 1.13, David and Alistair looked at invertebrate epifauna settling on algal beds (seaweed) with different levels of isolation (0, 2, or 10 m buffer) from each other, at two sampling times (5 and 10 weeks). They observed the following presence (+ )/absence (−) patterns for crabs (across 10 replicates).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 129.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    a aBut does not account for overdispersion (i.e. all individuals being counted need to be independent, no missing predictors in the model.)

References

  • Bates, D., Mächler, M., Bolker, B., & Walker, S. (2015). Fitting linear mixed-effects models using lme4. Journal of Statistical Software, 67, 1–48.

    Article  Google Scholar 

  • Bergström, L., Sundqvist, F., & Bergström, U. (2013). Effects of an offshore wind farm on temporal and spatial patterns in the demersal fish community. Marine Ecology Progress Series, 485, 199–210.

    Article  Google Scholar 

  • Brooks, M. E., Kristensen, K., van Benthem, K. J., Magnusson, A., Berg, C. W., Nielsen, A., Skaug, H. J., Machler, M., & Bolker, B. M. (2017). glmmTMB balances speed and flexibility among packages for zero-inflated generalized linear mixed modeling. The R journal, 9, 378–400.

    Article  Google Scholar 

  • Dunn, P., & Smyth, G. (1996). Randomized quantile residuals. Journal of Computational and Graphical Statistics, 5, 236–244.

    Google Scholar 

  • Fisher, R. A. (1922). On the mathematical foundations of theoretical statistics. Philosophical Transactions of the Royal Society of London. Series A, Containing Papers of a Mathematical or Physical Character, 222, 309–368.

    Google Scholar 

  • Hartig, F. (2020). DHARMa: Residual diagnostics for hierarchical (multi-level/mixed) regression models. R package version 0.3.2.0.

    Google Scholar 

  • Ives, A. R. (2015). For testing the significance of regression coefficients, go ahead and log-transform count data. Methods in Ecology and Evolution, 6, 828–835.

    Article  Google Scholar 

  • McCullagh, P., & Nelder, J. A. (1989). Generalized linear models. (2nd ed.). London: Chapman & Hall.

    Book  Google Scholar 

  • Nelder, J. A., & Wedderburn, R. W. M. (1972). Generalized linear models. Journal of the Royal Statistical Society. Series A (General), 135, 370–384.

    Article  Google Scholar 

  • Sentinella, A. T., Warton, D. I., Sherwin, W. B., Offord, C. A., & Moles, A. T. (2020). Tropical plants do not have narrower temperature tolerances, but are more at risk from warming because they are close to their upper thermal limits. Global Ecology and Biogeography, 29, 1387–1398.

    Article  Google Scholar 

  • Taylor, L. R. (1961). Aggregation, variance and mean. Nature, 189, 732–735.

    Article  Google Scholar 

  • Væth, M. (1985). On the use of Wald’s test in exponential families. International Statistical Review, 53, 199–214.

    Article  MathSciNet  Google Scholar 

  • Warton, D. I. (2005). Many zeros does not mean zero inflation: Comparing the goodness-of-fit of parametric models to multivariate abundance data. Environmetrics, 16, 275–289.

    Article  MathSciNet  Google Scholar 

  • Warton, D. I. (2018). Why you cannot transform your way out of trouble for small counts. Biometrics, 74, 362–368

    Article  MathSciNet  Google Scholar 

  • Warton, D. I., Lyons, M., Stoklosa, J., & Ives, A. R. (2016). Three points to consider when choosing a LM or GLM test for count data. Methods in Ecology and Evolution, 7, 882–890.

    Article  Google Scholar 

  • Warton, D. I., Thibaut, L., & Wang, Y. A. (2017). The PIT-trap—a “model-free” bootstrap procedure for inference about regression models with discrete, multivariate responses. PLoS One, 12, e0181790.

    Article  Google Scholar 

  • Yee, T. W. (2010). The VGAM package for categorical data analysis. Journal of Statistical Software, 32, 1–34.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Warton, D.I. (2022). Analysing Discrete Data: The Generalised Linear Model. In: Eco-Stats: Data Analysis in Ecology. Methods in Statistical Ecology. Springer, Cham. https://doi.org/10.1007/978-3-030-88443-7_10

Download citation

Publish with us

Policies and ethics