Session Ready
Exercise

SLR models

Based on your knowledge of the restaurant industry, do you think that the quality of the food in a restaurant is an important determinant of the price of a meal at that restaurant? It would be hard to imagine that it wasn't. We'll start our modeling process by plotting and fitting a model for Price as a function of Food.

On your own, interpret these coefficients and examine the fit of the model. What does the coefficient of Food mean in plain English? "Each additional rating point of food quality is associated with a..."

Instructions
100 XP
  • Use ggplot to make a scatter plot for Price as a function of Food.
  • Use lm() to fit a simple linear regression model for Price as a function of Food.