游程检验计算器

执行游程检验(Wald-Wolfowitz检验),判断二元序列是否随机分布,检测数据中的非随机模式或趋势。

Expected Runs

13.0000

标准差2.3452
Z Statistic-2.1320

Expected Runs vs Count Type A

公式

Wald-Wolfowitz Runs Test

mu = 1 + 2*n1*n2/(n1+n2)

Tests randomness of binary sequences.

计算示例

15 As, 10 Bs, 8 runs.

  1. 01Expected = 13
  2. 02Z = -2.15, not random

常见问题

What is a run?

A maximal consecutive sequence of same type.

Too few runs?

Suggests clustering or trends.

Significance?

Compare |Z| to 1.96 at alpha=0.05.

学习

Understanding the Normal Distribution

相关计算器