December 4, 2016

What is the Shiny app for?

  • Find a link between the size of an animal and the size of the brain
  • Using a linear model, predict the size of an animals brain based on it's size

Constraints

  • Using the size of the brain and body as they are for the model, outliers influenced the results
  • Taking the log of each provided a model that made more sense
  • A plot to illustrate the effect of the outliers is on the next slide

Plot of Body size vs Brain size

  • Without taking the log

For comparison, the plot in the app

  • With taking the log of each
  • The regression line is still influenced, but the effect is noticeably less