You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

Least Squares Method (up to 20 data points)

Author: Yoichiro1224Executions: 12564

※ This library was created by a member. This site is not responsible for its content.

Manage Bookmarks
Using the least squares method, find the slope and y-intercept from the given 20 data points.
Sx = ΣX, Sy = ΣY, Sxx = Σ(X²), Sxy = Σ(X*Y)
a = (Sx * Sy - 20 * Sxy) / (Sx^2 - 20 * Sxy)
b = (Sxy * Sx - Sxx * Sy) / (Sx^2 - 20 * Sxy)
x1
y1
x2
y2
x3
y3
x4
y4
x5
y5
x6
y6
x7
y7
x8
y8
x9
y9
x10
y10
x11
y11
x12
y12
x13
y13
x14
y14
x15
y15
x16
y16
x17
y17
x18
y18
x19
y19
x20
y20

No customer feedback for this calculation yet.