3. Linear Regression

3.1 Simple Linear Regression

$$ Y\approx β_0+β_1X. $$

$$ sales \approx β_0 + β_1 × TV. $$

$$ \hat{y} = \hat{β_0}+\hat{β_1}x, $$