最小二乗法回帰

データ点 (x,y)
傾き (a): -
切片 (b): -
決定係数 (R²): -
回帰方程式: -

Least squares regression

Find the best-fit line y = ax + b by minimizing squared residuals.

  • Enter one x,y pair per line
  • R² closer to 1 means a better fit