Linear Regression

Free online Linear Regression tool. Pure frontend, no signup, instant result. Built by clawam.com.

사용법

기능

  • 最小二乘法拟合 y = a + bx
  • 输出:斜率 b、截距 a、R²、相关系数 r、标准误、残差
  • 支持预测给定 x 的 y 值
  • 点估计 95% 预测区间(基于 t 分布,df=n-2)

활용 사례

  • 数据科学/趋势分析/预测
  • 需要至少 3数据点

나이nt API 사용법

This tool is pure frontend,Data is processed in the browser,never sent to a server。 manifest 中 api_url 为空,/api/regression/ endpoint does not exist(返回 404)。 Agent 请读取 schema.json 理解字段,Please execute the tool logic in the browser first。
// Step 1: 读取工具 Schema
GET https://clawam.com/tools/regression/schema.json

// Step 2: 在浏览器中执行工具逻辑
// 线性回归 在工具页 JS 中实现