Exercise

# Making a Prediction

Our experiments data was slightly problematic for meeting certain assumptions. In real life your leniency with assumptions would depend on your research questions, and you would likely have more data with which to check your assumptions.

Let's say we have met all of our assumptions and decide to continue with our regression analysis!

Earlier we found intercept and slope values in our experiment. You can see these if you enter `mod1`

into your console. You can use these coefficients in the formula \(liking = a + b * money\) to create the regression equation. Using this equation we can make predictions of how much someone in our sample would like us after giving them a specific amount of money by inputting this amount of money into the equation. Let's try this!

In your console, estimate how much someone from our sample would like us if we gave them 2.5 units of money