In R, use the dataset wine (CSV) to create a linear regression model to predict Price using HarvestRain and WinterRain as independent variables. Using the summary output of this model, answer the following questions:
What is the "Multiple R-squared" value of your model?
What is the coefficient for HarvestRain?
What is the intercept coefficient?
In R, create the model by typing the following line into your R console:
modelQQ4 = lm(Price ~ HarvestRain + WinterRain, data=wine)
Then, look at the output of summary(modelQQ4). The Multiple R-squared is listed at the bottom of the output, and the coefficients can be found in the coefficients table.