grandezza X

grandezza Y

x_i*y_i

(x_i)^2

somma(x_i*y_i)

somma(x_i^2)

somma(x_i)

somma(y_i)

a (pendenza)

b (intercetta)

n

Trascinare i punti rappresentativi dei dati

Regressione lineare

numeratore1

denominatore Δ

numeratore2

A = (0.2, 0.4)
B = (0.4, 0.2)
C = (0.6, 0.8)
D = (1, 0.6)
E = (1.2, 1)
A2: x(A)
B2: y(A)
A3: x(B)
A4: x(C)
A5: x(D)
A6: x(E)
B3: y(B)
B4: y(C)
B5: y(D)
B6: y(E)
D2: (A2 * B2)
D3: (A3 * B3)
D4: (A4 * B4)
D5: (A5 * B5)
D6: (A6 * B6)
E2: A2^(2)
E3: A3^(2)
E4: A4^(2)
E5: A5^(2)
sum: A6^(2)
E6: A6^(2)
D9 = Sum(D2:D6)
E9 = Sum(E2:E6)
B9 = Sum(B2:B6)
A9 = Sum(A2:A6)
l1: {(A2, B2), (A3, B3), (A4, B4), (A5, B5), (A6, B6)}
g = FitPoly(l1, 1)
f = OrthogonalLine(A, xAxis)
h = OrthogonalLine(B, xAxis)
i = OrthogonalLine(C, xAxis)
j = OrthogonalLine(D, xAxis)
k = OrthogonalLine(E, xAxis)
F = Intersect(g, f)
G = Intersect(g, h)
H = Intersect(g, i)
I = Intersect(g, j)
J = Intersect(g, k)
l = Segment(A, F)
m = Segment(C, H)
n = Segment(E, J)
p = Segment(B, G)
q = Segment(D, I)
H1: 5
H2: (H1 * D9) - (A9 * B9)
H3: (H1 * E9) - A9^(2)
H4: (B9 * E9) - (D9 * A9)
A13: H2 / H3
B13: H4 / H3
r: y = (A13 * x) + B13
testo2: "" + r + ""
s = FitLineY(l1)