This commit is contained in:
git-sandro 2026-01-24 13:44:42 +01:00
parent a3d659d4b4
commit ab0e13d7b3

View File

@ -71,10 +71,7 @@
### Regressionsgerade berechnen
Beispiel:
$
x = [1, 2, 3, 4, 5], y = [2, 3, 5, 4, 6] \\
y = mx+c
$
$x = [1, 2, 3, 4, 5], y = [2, 3, 5, 4, 6] \\ y = mx+c$
1. x, y Tabelle erstellen
||x|y|x*y|x<sup>2<sup>|
|---|---|---|---|---|
@ -86,11 +83,7 @@ $
|$$\sum$$|**15**|**20**|**69**|**55**|
2. *c* Wert berechnen
$
c = \frac{\sum_y * \sum_x - \sum_x * \sum_{xy}}{n(\sum_{x^2}) - (\sum_x)^2} \\[1em]
c = \frac{20 * 55 - 15 * 69}{5*55 - 15^2} = 1.3
$
$c = \frac{\sum_y * \sum_x - \sum_x * \sum_{xy}}{n(\sum_{x^2}) - (\sum_x)^2} \\[1em] c = \frac{20 * 55 - 15 * 69}{5*55 - 15^2} = 1.3$
3. *m* Wert berechnen