2023-11-27

How to Solve 83

This presentation will detail how to solve 83.

Slide with Bullets

  • Step 1: Create linear model.
  • Step 2: Generate residuals based on model.
  • Step 3: Graph residuals against strikeouts.

Slide with R Output

Mod83 <- lm(H ~ SO + IPouts, data = Pitching)
Resid83 <- Pitching %>% add_residuals(Mod83)
ggplot(Resid83) + geom_point(aes(SO, resid))

Slide with Plot

Conclusion

The residuals for this problem show much less of a pattern than the residuals from the previous problem.