Accepts x,y data pairs, one per line with comma or space separators, and fits a least-squares regression line y=ax+b together with the coefficient of determination R squared.
线性回归计算器采用最小二乘法,对输入的 x,y 数据点进行一元线性拟合,输出回归方程 y=ax+b、决定系数 R²、相关系数 r 与均方根误差,适用于数据趋势分析与统计学习。