Practical Computing Exercise for Week 6 :The second Beetles exercise

Download the template R markdown file for this workshop.

Aims of this practical exercise

In this exercise you will:

  • fit a variety of models to the Beetles data involving a variety of link functions.

Get the data

data(Beetles, package="ELMER")
Beetles = Beetles |> mutate(NoLiving = NoBeetles - NoKilled) |> glimpse()
Rows: 8
Columns: 4
$ Dose      <dbl> 1.6907, 1.7242, 1.7552, 1.7842, 1.8113, 1.8369, 1.8610, 1.88…
$ NoBeetles <int> 59, 60, 62, 56, 63, 59, 62, 60
$ NoKilled  <int> 6, 13, 18, 28, 52, 53, 61, 60
$ NoLiving  <int> 53, 47, 44, 28, 11, 6, 1, 0

The Exercise

Revisit the Beetle mortality data. Investigate the predictions that arise through use of different link functions.

Solutions

You should compare your work with the solutions for this workshop.