What is Linear Regression?
A statistical method used to establish a relationship between two variables. Linear regression identifies a straight line that minimizes the difference between predicted outputs and the actual data points.
Equation: \(y = \beta_0 + \beta_1\cdot x + \varepsilon\)
y = dependent variable, what you are trying to predict
x = independent variable, the predictor
β0 = y intercept where x is 0
β1 = slope of the line (change in y as there is a change in x)
ϵ = error term