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
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
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
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
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
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
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
This article is a statistics-related stub. You can help WikiMD by expanding it!
Transform your life with W8MD's budget GLP-1 injections from $125.
W8MD offers a medical weight loss program to lose weight in Philadelphia. Our physician-supervised medical weight loss provides:
- Most insurances accepted or discounted self-pay rates. We will obtain insurance prior authorizations if needed.
- Generic GLP1 weight loss injections from $125 for the starting dose.
- Also offer prescription weight loss medications including Phentermine, Qsymia, Diethylpropion, Contrave etc.
NYC weight loss doctor appointments
Start your NYC weight loss journey today at our NYC medical weight loss and Philadelphia medical weight loss clinics.
- Call 718-946-5500 to lose weight in NYC or for medical weight loss in Philadelphia 215-676-2334.
- Tags:NYC medical weight loss, Philadelphia lose weight Zepbound NYC, Budget GLP1 weight loss injections, Wegovy Philadelphia, Wegovy NYC, Philadelphia medical weight loss, Brookly weight loss and Wegovy NYC
|
WikiMD's Wellness Encyclopedia |
| Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
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, categories Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD