14. Count Data

  1. Michael J. Crawley

Published Online: 14 SEP 2007

DOI: 10.1002/9780470515075.ch14

The R Book

The R Book

How to Cite

Crawley, M. J. (2007) Count Data, in The R Book, John Wiley & Sons, Ltd, Chichester, UK. doi: 10.1002/9780470515075.ch14

Author Information

  1. Imperial College London at Silwood Park, UK

Publication History

  1. Published Online: 14 SEP 2007
  2. Published Print: 20 APR 2007

ISBN Information

Print ISBN: 9780470510247

Online ISBN: 9780470515075



  • count data;
  • straightforward linear regression methods;
  • deviance analysis with count data;
  • log-linear model overdispersion;
  • negative binomial model and errors;
  • use of Imer with complex nesting;
  • comparing best linear unbiased predictors


This chapter contains sections titled:

  • A Regression with Poisson Errors

  • Analysis of Deviance with Count Data

  • Analysis of Covariance with Count Data

  • Frequency Distributions

  • Overdispersion in Log-linear Models

  • Negative binomial errors

  • Use of lmer with Complex Nesting