Simple Linear Regression for a Numerical Explanatory Variable
Explore the fundamentals of simple linear regression focused on a numerical explanatory variable. Learn how to fit a linear model in R with lm(), interpret the intercept and slope coefficients, and understand their practical and statistical significance. This lesson guides you through obtaining and reading regression output tables using the moderndive package, enabling you to analyze relationships between variables effectively.
We'll cover the following...
We'll cover the following...
Recall the concepts of algebra that the equation of a line is ⋅ symbol is equivalent to the * “multiply by” mathematical symbol. We’ll use the ⋅ symbol in the rest of this course as it’s more succinct.) It’s defined by two coefficients