Exercise

# The Regression Coefficients I

So now we know our regression model, we need to find a parameter estimates for the intercept, the slope of smiling, and the slope of money. We're going to use the `lm()`

function to find these estimates.

To find the parameter estimates for just money and liking we used `lm(liking ~ money)`

. We can add another predictor simply using `+`

. For instance, `lm(response ~ predictor1 + predictor2).

Instructions

**100 XP**

- In your script, use the
`lm()`

function to find the regression coefficients for our model examining how money and smiling predicts how much someone likes us. - Make sure that
`smile`

is the first predictor, followed by`money`

. - Feel free to experiment with this in your console before submitting your script!