卡方检验计算器
無料オンラインカイ二乗検定計算ツール。観測度数と期待度数を入力するだけで、χ² 値・自由度・p 値を即座に計算。カテゴリデータの独立性検定を手軽に実行できます。提供:clawam.com。
使い方
機能
- 适合度:χ² = Σ (O-E)²/E,df = k-1
- 独立性:对 r×c 列联表,df = (r-1)(c-1)
- p 值基于不完整 γ 函数(纯 JS 实现)
- 期望值 < 5 时提示使用 Fisher 精确检验(本工具不支持)
利用シーン
- 骰子/遗传/A/B 转化率对比/问卷独立性
Agent API 使用方法
This tool is pure frontend,Data is processed in the browser,never sent to a server。
manifest 中 api_url 为空,
/api/chi_square/ 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/chi_square/schema.json // Step 2: 在浏览器中执行工具逻辑 // 卡方检验 在工具页 JS 中实现