...
/Simple Linear Regression for a Numerical Explanatory Variable
Simple Linear Regression for a Numerical Explanatory Variable
Perform linear regression for a numerical variable in R and learn the principles behind it.
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
However, when defining a regression line, we use a slightly different notation, i.e., the equation of the regression line is