跳转到主要内容
Calcton

Sign Test Calculator

Free online sign test calculator. Enter your values and get instant results with the formula, step-by-step working, a worked example and FAQs — everything runs locally in your browser on Calcton, no signup required.

中文版:符号检验在线计算器

Sign Test Calculator
样本 1(逗号分隔,与样本 2 配对)
样本 2(逗号分隔)

原理:符号检验只数配对差值的正负号:在「两方案无差异」的原假设下,每个非零差值取正号的概率是 0.5,正差个数服从二项分布 B(n, 0.5)。把观测中较少一方的个数代入二项分布算出双侧精确 p 值,不依赖任何分布假设,也不受极端值影响。

步骤:① 输入两列一一配对的数据;② 点击计算;③ 读出正负差计数与精确 p 值,p 小于显著性水平时认为两方案有方向性差异。

示例:x = (5, 3, 8, 6, 4)、y = (4, 2, 7, 6, 5) 时正差 b = 3、负差 c = 1、n = 4、p = 0.625;x = (1, 2, 3, 4)、y = (4, 3, 2, 1) 时 b = c = 2、p = 1,完全对称。

注意事项:零差对被剔除,样本量相应减少;精确 p 值基于二项分布,小样本也完全准确;由于丢弃了差值大小信息,功效低于 Wilcoxon 符号秩——只有当差值分布严重偏态或数据只有方向信息时才优先选它;单侧检验可用双侧 p 值除以 2(方向预先指定时)。

相关:Wilcoxon 符号秩检验计算器利用差值大小、功效更高;二项分布计算器给出 B(n, 0.5) 的完整概率;Mann-Whitney U 检验计算器处理非配对的独立样本。

How to use the Sign Test Calculator

  1. Fill in the inputs with your own numbers — every field shows what it expects.
  2. The result updates instantly as you type; no "Calculate" click needed.
  3. Read the result card for the main figure, the step-by-step formula, and practical notes.

Frequently asked questions

Is the Sign Test Calculator free?

Yes — all math calculators on Calcton are free, with no sign-up required. Your inputs are processed in your browser and never sent to a server.

Is there a Chinese version of this tool?

Yes. Use the Chinese version link above — it is the same calculator with the interface in Simplified Chinese.

References

Formulas and benchmarks used by this calculator follow these published sources.

  1. dlmf.nist.gov
  2. mathworld.wolfram.com
Kevin's profile

KevinContent LeadCalcton Editorial Team · Last updated 2026-10-07

Kevin maintains Calcton's formula verification and content: every calculator cites the standard it implements, worked examples are recomputed programmatically, and health benchmarks follow WHO and international guidelines.

Related calculators

More in this category: Math calculators

About math calculators

Free online math calculators for algebra, statistics, number theory and everyday arithmetic — from quadratic equations and matrices to percentages, fractions and prime factorization, each with step-by-step formulas.

搜索计算器

搜索全站计算器、分类与页面,回车直达