Runs Test

Use when you must run the Wald-Wolfowitz runs test: determining whether the ordering of a two-sign sequence (plus and minus signs, or 1/0 flags recoded as plus and minus) is random by counting the runs of identical signs, computing the expected number of runs and its variance under the randomness null from the two sign counts, forming the standard normal z statistic, and returning the randomness verdict against the two-sided 95 percent normal critical value. Produces the run count, expected runs, variance, standard deviation, z statistic, and the REJECT or FAIL_TO_REJECT randomness verdict. Trigger: runs-test, wald-wolfowitz runs, sequence randomness test, runs count statistic, run length pattern, nonparametric randomness, two sign sequence.

ashfordeOU 06d9185 3 files · 17.0 KB Updated

File contents

ashfordeOU/aero-agent-skills/tree/main/skills/cross-cutting/numerics/runs-test commit 06d9185f4f

Frequently asked questions

npx skillmds@latest add ashfordeou/runs-test