📈 Introduction to Linear Regression
Linear regression is one of the most widely used statistical techniques. It models the relationship between a dependent variable (Y) and one or more independent variables (X).
📊 The Basic Equation
Y = aX + b + ε
📐 The R² Coefficient
R² measures how well the model fits the data (0 = no fit, 1 = perfect fit).