Wald-Wolfowitz runs test

Wald-Wolfowitz runs test

The runs test (also called Wald-Wolfowitz test) is a non-parametric test that checks a randomness hypothesis for a two-valued data sequence. More precisely, it can be used to test the hypothesis that the elements of the sequence are mutually independent.

A "run" of a sequence is a maximal non-empty segment of the sequence consisting of adjacent equal elements. For example, the sequence "++++−−−+++−−++++++−−−−" consists of six runs, three of which consist of +s and the others of −s. If +s and −s alternate randomly, the number of runs in a sequence of length "N" for which it is given that there are "N"+ occurrences of + and "N" occurrences of - (so nowrap|1= "N" = "N"+ + "N") is a random variable whose conditional distribution – given the observation of "N"+ and "N" – has:

* mean mu=frac{2 N_+ N_-}{N}+1,,
* variance sigma^2=frac{2 N_+ N_- (2 N_+ N_--N)}{N^2 (N-1)}=frac{(mu-1)(mu-2)}{N-1},.

These parameters do not depend on the "fairness" of the process generating the elements of the sequence in the sense that +s and -s must have equal probabilities, but only on the assumption that the elements are independent and identically distributed. If there are too many runs more or less than expected, the hypothesis of statistical independence of the elements may be rejected.

Runs tests can be used to test:
#the randomness of a distribution, by taking the data in the given order and marking with + the data greater than the median, and with – the data less than the median; (Numbers equalling the median are omitted.)
#whether a function fits well to a data set, by marking the data exceeding the function value with + and the other data with −. For this use, the runs test, which takes into account the signs but not the distances, is complementary to the chi square test, which takes into account the distances but not the signs.

The Kolmogorov-Smirnov test is more powerful, if it can be applied.

ee also

* Abraham Wald
* Jacob Wolfowitz


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Runs-Test — Der Run oder Runs Test (auch Wald Wolfowitz Test, nach Abraham Wald und Jacob Wolfowitz, Iterationstest oder Geary Test) ist ein nichtparametrischer Test auf Zufälligkeit einer Folge. Konzeptionell wird von einer dichotomen Grundgesamtheit, also… …   Deutsch Wikipedia

  • Wolfowitz — is a surname that may refer to:People* Jacob Wolfowitz, (1910 1981) American statistician and information theorist. Father of Paul Wolfowitz. * Clare Selgin Wolfowitz, an expert on Indonesian anthropology. * Paul Wolfowitz, (born 1943) American… …   Wikipedia

  • Run-Test — Der Run oder Runs Test (auch Wald Wolfowitz Test, nach Abraham Wald und Jacob Wolfowitz, Iterationstest oder Geary Test) ist ein nichtparametrischer Test auf Zufälligkeit einer Folge. Ausgegangen wird von einem Urnenmodell mit zwei Sorten Kugeln… …   Deutsch Wikipedia

  • Ljung-Box test — In statistics, there are a large number of tests of randomness. The Ljung Box test is a type of statistical test of whether any of a group of autocorrelations of a time series are different from zero. Instead of testing randomness at each… …   Wikipedia

  • List of statistics topics — Please add any Wikipedia articles related to statistics that are not already on this list.The Related changes link in the margin of this page (below search) leads to a list of the most recent changes to the articles listed below. To see the most… …   Wikipedia

  • List of mathematics articles (W) — NOTOC Wad Wadge hierarchy Wagstaff prime Wald test Wald Wolfowitz runs test Wald s equation Waldhausen category Wall Sun Sun prime Wallenius noncentral hypergeometric distribution Wallis product Wallman compactification Wallpaper group Walrasian… …   Wikipedia

  • Statistical randomness — A numeric sequence is said to be statistically random when it contains no recognizable patterns or regularities; sequences such as the results of an ideal die roll, or the digits of π exhibit statistical randomness.Statistical randomness does not …   Wikipedia

  • Non-parametric statistics — In statistics, the term non parametric statistics has at least two different meanings: The first meaning of non parametric covers techniques that do not rely on data belonging to any particular distribution. These include, among others:… …   Wikipedia

  • Unistat — Infobox Software name = Unistat caption = developer = Unistat Ltd latest release version = 5.6 latest release date = November 15, 2005 operating system = Windows genre = statistical package license = proprietary website = [http://www.unistat.com/ …   Wikipedia

  • Runtest — Der Run oder Runs Test (auch Wald Wolfowitz Test, nach Abraham Wald und Jacob Wolfowitz, Iterationstest oder Geary Test) ist ein nichtparametrischer Test auf Zufälligkeit einer Folge. Konzeptionell wird von einer dichotomen Grundgesamtheit, also… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”