CalculatorCast

線形回帰計算機

(x, y)点群に対する最適な直線を求めます。

はじめに

Linear Regression Calculator — Best-fit line for a set of (x, y) points. Enter Points (x,y per line) to get an instant, accurate result.

計算式

Ordinary least squares: slope = (nΣxy − ΣxΣy) / (nΣx² − (Σx)²); intercept = (Σy − slope×Σx) / n.

ステップごとの説明

  1. Enter the Points (x,y per line).
  2. Click Calculate to see your result instantly.

実例

Example: With the defaults shown above, the Linear Regression Calculator gives Slope: 1.8, Intercept: 0.2, Points: 5.

よくある質問

What does the slope represent?
How much y is predicted to change for each one-unit increase in x.
How many points do I need?
At least two, though more points give a more reliable fit.
What inputs does the Linear Regression Calculator need?
You'll need to provide: Points (x,y per line). All fields use sensible defaults, so you can see a working example immediately and then adjust the values to match your own numbers.
How accurate is the Linear Regression Calculator?
The Linear Regression Calculator applies the formula exactly as calculated — Ordinary least squares: slope = (nΣxy − ΣxΣy) / (nΣx² − (Σx)²); intercept = (Σy − slope×Σx) / n. — so results are precise for the inputs you provide. Accuracy depends on entering correct, realistic input values.
Is the Linear Regression Calculator free to use?
Yes, the Linear Regression Calculator is completely free, requires no signup, and runs instantly in your browser.

線形回帰計算機について

The Linear Regression Calculator uses a real, verifiable formula — Ordinary least squares: slope = (nΣxy − ΣxΣy) / (nΣx² − (Σx)²); intercept = (Σy − slope×Σx) / n. — so results are accurate every time, not an approximation.