AI Features

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 𝑦=π‘Ž+𝑏⋅π‘₯𝑦 = π‘Ž + 𝑏 β‹… π‘₯. (Note that the β‹… 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 π‘Žπ‘Ž and 𝑏𝑏. The intercept coefficient π‘Žπ‘Ž is the value of 𝑦𝑦 when xx = 0. The slope coefficient 𝑏 ...

Ask