线性回归计算器

    数据点的最佳拟合线

    公式

    m = (nΣxy - ΣxΣy) / (nΣx² - (Σx)²)

    Least squares method for best-fit line.

    示例

    Points (1,2),(2,4),(3,5),(4,6),(5,8)

    y = 1.4x + 0.6.

    常见问题

    关于 线性回归计算器

    Calculate the best-fit line using least squares regression.