Regression
Table of contents
Regression Function
We define models as functions that map inputs to outputs:
An observation is often a pair of response and predictor:
For given
Then what should our model
A regression function
Why do we use mean squared error?
There are few reasons to why squared error is beneficial:
- It is differentiable everywhere
- It explodes penalties for large errors
- It handles both negative and positive errors
We do not know the true model
Derivation
First remember that
We know that
The first part:
is called the reducible error and the second part:
is, of course, the irreducible error.
So the goal of regression is to estimate