Applied Statistical Methods - Solution 6

Author

Peter von Rohr

Published

April 15, 2024

Problem 1: Regression On Dummy Variables

Use the dataset with the breeds assigned to every animal and find out the influence of the breed on the response variable body weight. The data is available from

https://charlotte-ngs.github.io/asmasss2024/data/asm_bw_flem.csv 

Start by fitting a linear model with Breed as the only factor in the model, hence ignore the independent variables such as Breast Circumference, BCS and HEI.

Tasks

  • Read the data
  • Fit a linear model including breed as a factor