We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bb58ec commit efede08Copy full SHA for efede08
exercises-toolbox/4-scipy/2-linregress/aufgabe.txt
@@ -10,7 +10,7 @@ Dabei gilt (Σ = Summe):
10
N = Anzahl Datenpunkte
11
Δ = N * Σ(x²) - (Σx)²
12
A = (N * Σ(x * y) - (Σx) * (Σy)) / Δ
13
-B = (Σ(x²) * (Σy) - (Σx) * (Σx * y)) / Δ
+B = (Σ(x²) * (Σy) - (Σx) * Σ(x * y)) / Δ
14
σ_y = sqrt(Σ((y - A * x - B)²) / (N - 2))
15
A_error = σ_y * sqrt(N / Δ)
16
B_error = σ_y * sqrt((Σx²) / Δ)
0 commit comments