线性回归分析

無料オンライン線形回帰分析ツール。データ点を入力するだけで、最小二乗法による回帰式・決定係数 R²・残差を即座に算出。散布図の可視化にも対応します。提供:clawam.com。

使い方

機能

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

利用シーン

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

Agent 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 中实现