📈 线性回归计算器Linear Regression Calculator
输入 x、y 数据对,计算最小二乘回归直线 y = a + bx、相关系数 r 和决定系数 R²,可做预测。Least-squares regression line y = a + bx, correlation r and R² from x/y pairs, with prediction.
使用说明与常见问题How-to & FAQ
「线性回归计算器」是什么?What is the Linear Regression Calculator?
输入 x、y 数据对,计算最小二乘回归直线 y = a + bx、相关系数 r 和决定系数 R²,可做预测。Least-squares regression line y = a + bx, correlation r and R² from x/y pairs, with prediction.
如何使用「线性回归计算器」?How do I use the Linear Regression Calculator?
在「线性回归计算器」中,填写「预测 x」等参数,结果会随输入实时计算并显示在下方。In the Linear Regression Calculator: Fill in "Predict at x"; results are recalculated instantly as you type.
计算精度如何?How precise are the results?
「线性回归计算器」使用 JavaScript 双精度浮点数(约 15–16 位有效数字);极大或极小的数值可能存在精度误差。The Linear Regression Calculator uses double-precision floating point (about 15–16 significant digits); very large or very small values may lose precision.
「线性回归计算器」免费吗?需要注册吗?Is the Linear Regression Calculator free? Do I need an account?
「线性回归计算器」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Linear Regression Calculator is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.