Finding the slope of a linear regression
The US_fit
object you created in the previous exercise is available in your workspace. Calling summary()
on this gives you lots of useful information about the linear model.
What is the estimated slope of this relationship? Said differently, what's the estimated change each year of the probability of the US voting "yes"?
This exercise is part of the course
Case Study: Exploratory Data Analysis in R
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
