Formula

Least Squares Coefficient Estimates

For the simple linear regression equation y^=β^0+β^1x\hat{y}=\hat{\beta}_0+\hat{\beta}_1x, the Residual Sum of Squares (RSS) is minimized when the coefficient estimates are β^1=i=1n(xixˉ)(yiyˉ)i=1n(xixˉ)2\hat{\beta}_1=\dfrac{\sum_{i=1}^n (x_i-\bar{x})(y_i-\bar{y})}{\sum_{i=1}^n (x_i-\bar{x})^2} and β^0=yˉβ^1xˉ\hat{\beta}_0=\bar{y}-\hat{\beta}_1\bar{x}, where xˉ\bar{x} and yˉ\bar{y} are the sample means.

0

1

Updated 2026-06-14

Tags

Data Science