skip to primary navigation skip to content

CamStats

2 Introduction

2.1 Objectives

Aim: To introduce R commands for analysing data with non-continuous response variables.

By the end of this practical participants should be able to achieve the following:

  1. Construct
    1. a logistic model for binary response variables
    2. a logistic model for proportion response variables
    3. a Poisson model for count response variables
    4. a Negative Binomial model for count response variables
  2. Plot the data and the fitted curve in each case for both continuous and categorical predictors
  3. Assess the significance of fit
  4. Assess assumption of the model

2.2 Background

This practical is divided into sections that considers each sort of response variable and generalised linear model in turn. Within each section there will be at least one example of the modelling process followed by an example.