Menu

Linear Regression

Linear Regression

Modeling the relationship between independent (XX) and dependent (YY) variables.

Simple Linear Model

Yj=α+βXj+ϵjY_j = \alpha + \beta X_j + \epsilon_j where errors ϵjN(0,σ2)\epsilon_j \sim N(0, \sigma^2).

Least Squares

We find the line y=a+bxy = a + bx that minimizes the Sum of Squared Errors (SSE).

Inference in Regression

We can test if the relationship is real (Test of Utility): H0:β=0H_0: \beta = 0 If rejected, XX provides significant predictive power for YY.