Runs Test for Randomness Calculator
Test whether a binary sequence is random using the Wald-Wolfowitz runs test.
Expected Runs
13.0000
Desvio Padrão2.3452
Z Statistic-2.1320
Expected Runs vs Count Type A
Formula
## Wald-Wolfowitz Runs Test **mu = 1 + 2*n1*n2/(n1+n2)** Tests randomness of binary sequences.
Exemplo Resolvido
15 As, 10 Bs, 8 runs.
- 01Expected = 13
- 02Z = -2.15, not random
Perguntas Frequentes
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.
Aprender