Chapter 13
Tests on randomness
Section 13.1 deals with run tests. The Wald–Wolfowitz runs test, also known as the single-sample runs test, and the runs up and down test are the most common ones. For the definition of a run please refer to the Glossary (Appendix C). Section 13.2 covers successive difference tests (tests based on the difference of consecutive observations). We introduce the von Neuman test and its rank version also known as Bartels' test. All these tests are useful to test if a dataset is sampled randomly from the same distribution.
13.1 Run tests
13.1.1 Wald–Wolfowitz runs test
Description: | Tests if a sample is sampled randomly from an underlying population. |
Assumptions: |
|
Hypotheses: | (A) Sequence is randomly generated |
vs Sequence ... |
Get Statistical Hypothesis Testing with SAS and R now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.