Gebruiker:Pjetter/klad: verschil tussen versies
Verwijderde inhoud Toegevoegde inhoud
Regel 208:
:<math>\hat{y} = 49.48 + 1.96{x}</math>
: <math> y_i = \beta x_i + \varepsilon_i
The sum of squares to be minimized is
:<math> S = \sum_{i=1}^{n} \left(
So we do some derivation and you get for minimization the derivative is set to 0:
:<math> \frac {\delta} {\delta {\beta}} \sum_{i=1}^{n} \left(
Divide both sides by -2 and you get:
:<math> \sum_{i=1}^{n} \left(
This you can rewrite as:
:<math> \sum_{i=1}^{n}
Let's multiply with:
Regel 231:
and you get:
:<math> \sum_{i=1}^{n} x_i \sum_{i=1}^{n}
This can be rewritten as:
:<math> \sum_{i=1}^{n} x_i
And therefore the least squares estimate for ''β'', is given by
:<math>\hat \beta=\frac{\sum_i^{n} x_i
:<math>\hat \beta=\frac{\sum_i^{n} x_i y_i}{\sum_i^{n} x_i^2}</math>
==SSR==
|