Skip to content

fcorowe/countdata_modelling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Quick Guide: Modelling Count Data in R: A Multilevel Framework

Francisco Rowe [@fcorowe]1

1 Geographic Data Science Lab, University of Liverpool, Liverpool, United Kingdom

Correspondence: F.Rowe-Gonzalez@liverpool.ac.uk

This repository contains a notebook which offers a quick practical guide, to illustrate how to estimate a count data regression model using four different variants: Poisson, Zero-inflated Poisson, Negative Binomial and Zero-inflated Negative Binomial models. It is not supposed to be a comprehensive guide but it is an starting point if you don't know what R packages and how relevant functions can be used to estimate these models.

Citation

If you use the material, code or processed data, you can give appropriate attribution by using the following citation:

@article{rowe_gds21,
  author = {Francisco Rowe},
  title = {A Quick Guide: Modelling Count Data in R: A Multilevel Framework},
  year = 2022,
  url = {fcorowe.github.io/countdata_modelling/},
  doi = {DOI 10.17605/OSF.IO/RGWH2},
}