Wald–Wolfowitz runs test
Wald–Wolfowitz runs test, also known as the runs test, is a non-parametric statistical test that checks a randomness hypothesis for a two-valued data sequence. More specifically, it tests the null hypothesis that the elements of the sequence are mutually independent.
Overview[edit | edit source]
The Wald–Wolfowitz runs test is used when dealing with sequences of categorical data stemming from two groups, typically denoted as either a success or a failure. A "run" is defined as a sequence of identical elements (successes or failures) in the data sequence, which is followed and preceded by a different element or no element at all. The test evaluates whether the number of runs in the sequence is too high or too low, which would indicate a deviation from the randomness expected under the null hypothesis.
Application[edit | edit source]
This test is particularly useful in scenarios where the data does not meet the assumptions necessary for parametric tests, such as the data not being normally distributed. It has applications in various fields, including psychology, biology, and quality control, where it is used to test the randomness of events or conditions.
Procedure[edit | edit source]
To perform the Wald–Wolfowitz runs test, one follows these steps:
- Convert the data sequence into a binary sequence (e.g., successes as 1s and failures as 0s).
- Count the total number of runs in the sequence. A run is a consecutive sequence of identical elements.
- Calculate the expected number of runs under the null hypothesis of randomness, which depends on the total number of successes and failures in the sequence.
- Compute the test statistic, which measures the deviation of the observed number of runs from the expected number.
- Determine the significance of the result using the distribution of the test statistic under the null hypothesis.
Hypothesis[edit | edit source]
The null hypothesis (H0) for the Wald–Wolfowitz runs test states that the elements of the sequence are mutually independent, implying that the sequence is random. The alternative hypothesis (H1) suggests that the elements are not mutually independent, indicating a non-random sequence.
Assumptions[edit | edit source]
The main assumption of the Wald–Wolfowitz runs test is that the data consists of a sequence of independent and identically distributed random variables, each belonging to one of two categories (e.g., success or failure).
Limitations[edit | edit source]
While the Wald–Wolfowitz runs test is a useful tool for assessing randomness, it has limitations. It is less powerful than some other tests for detecting departures from randomness and may not perform well with small sample sizes. Additionally, it only applies to sequences with two categories and cannot be used for data with more than two categories.
See Also[edit | edit source]
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD