+ - 0:00:00
Notes for current slide
Notes for next slide

Interpreting Results

1 / 15

2 / 15

3 / 15

Interpreting Results

There are 3 unknowns in a simple linear regression that we are estimating:

  • β^0
  • β^1
  • σ^ϵ

Let's talk about what they mean in words

4 / 15

Interpreting Results

Weight^=β0^+β1^Wing Length+ϵ

lm(Weight ~ WingLength, data = Sparrows)
##
## Call:
## lm(formula = Weight ~ WingLength, data = Sparrows)
##
## Coefficients:
## (Intercept) WingLength
## 1.3655 0.4674
5 / 15

Interpreting Results

Weight^=β0^+β1^Wing Length+ϵ

lm(Weight ~ WingLength, data = Sparrows)
##
## Call:
## lm(formula = Weight ~ WingLength, data = Sparrows)
##
## Coefficients:
## (Intercept) WingLength
## 1.3655 0.4674

How can we end up with just β^0 on one side of the equation?

6 / 15

β^0 is the expected mean value of y when x is 0

7 / 15

Interpreting Results

Weight^=β0^+β1^Wing Length+ϵ

lm(Weight ~ WingLength, data = Sparrows)
##
## Call:
## lm(formula = Weight ~ WingLength, data = Sparrows)
##
## Coefficients:
## (Intercept) WingLength
## 1.3655 0.4674

What does β^0 mean here?

8 / 15

Interpreting Results

Weight^=β0^+β1^Wing Length+ϵ

lm(Weight ~ WingLength, data = Sparrows)
##
## Call:
## lm(formula = Weight ~ WingLength, data = Sparrows)
##
## Coefficients:
## (Intercept) WingLength
## 1.3655 0.4674

How do we interpret β^1?

9 / 15

For every one unit change in x the expected mean value of y changes by β^1.

10 / 15

Interpreting Results

Weight^=β0^+β1^Wing Length+ϵ

lm(Weight ~ WingLength, data = Sparrows)
##
## Call:
## lm(formula = Weight ~ WingLength, data = Sparrows)
##
## Coefficients:
## (Intercept) WingLength
## 1.3655 0.4674

What does β^1 mean here?

11 / 15

Interpreting Results

Sparrows %>%
mutate(y_hat = lm(Weight ~ WingLength, data = Sparrows) %>% predict(),
residuals_2 = (Weight - y_hat)^2) %>%
summarise(rse = sqrt(sum(residuals_2) / (n() - 2)))
## rse
## 1 1.399595

What is the interpretation of the regression (residual) standard error?

12 / 15

σ^ϵ is the "typical error"

13 / 15

Interpreting Results

## rse
## 1 1.399595
y_hat <- lm(Weight ~ WingLength, data = Sparrows) %>%
predict()
Sparrows %>%
mutate(residual = Weight - y_hat) %>%
select(Weight, residual) %>%
slice(1:5)
## Weight residual
## 1 14.9 -0.02020496
## 2 15.0 -0.85501292
## 3 14.3 1.24941095
## 4 17.0 2.07979504
## 5 16.0 0.61239106
14 / 15
15 / 15

2 / 15
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow