This commit is contained in:
git-sandro 2026-01-24 13:45:39 +01:00
parent ab0e13d7b3
commit ddb427c3a0

View File

@ -71,7 +71,10 @@
### Regressionsgerade berechnen ### Regressionsgerade berechnen
Beispiel: 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 1. x, y Tabelle erstellen
||x|y|x*y|x<sup>2<sup>| ||x|y|x*y|x<sup>2<sup>|
|---|---|---|---|---| |---|---|---|---|---|
@ -83,7 +86,11 @@ $x = [1, 2, 3, 4, 5], y = [2, 3, 5, 4, 6] \\ y = mx+c$
|$$\sum$$|**15**|**20**|**69**|**55**| |$$\sum$$|**15**|**20**|**69**|**55**|
2. *c* Wert berechnen 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 3. *m* Wert berechnen