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.
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)
a = (Sx * Sy - 20 * Sxy) / (Sx^2 - 20 * Sxy)
b = (Sxy * Sx - Sxx * Sy) / (Sx^2 - 20 * Sxy)
No customer feedback for this calculation yet.