Exercise

Best and worst fitting models

In this exercise you will answer the following questions:

  • Overall, how well do your models fit your data?
  • Which are the best fitting models?
  • Which models do not fit the data well?

Instructions

100 XP
  • Plot a histogram of the \(R^2\) values of the 77 models
  • Extract the 4 best fitting models (based on \(R^2\)) and store this data frame as best_fit
  • Extract the 4 worst fitting models (based on \(R^2\)) and store this data frame as worst_fit