Questions tagged [runs]

Runs refers to repeated occurrences of one outcome. For example, in repeated tosses of a coin, there will be runs of heads and tails. In the sequence HHHTHT there are 4 runs (one of length 3 and 3 of length 1).

If there are only two outcomes (as with heads and tails, or with positive and negative residuals from a model) then the Wald-Wolfowitz runs test can be used to test serial autocorrelation or independence. Under the null hypothesis of independence (no autocorrelation) the mean number of runs is given by

$\mu = \frac{2n_1n_2}{n_1 + n_2}+1$

with variance

$\sigma^2 = \frac{2n_1n_2(2n_1n_2 - n_1 - n_1}{(n_1 + n_2}^2(n_1 + n_2 -1)$

32 questions
1
vote
0 answers

Upper and lower limits for numbers of runs

On this website about statistical process control there is a chart which gives the upper and lower limits for the number of runs in a set of data for the data set to be considered taken from a process that is showing only "common cause" variation.…
0
votes
1 answer

Probability of n successful runs

My background the past while has been project management so I haven't really had much work with stats the past decade or so, so please forgive the terminology if it is wrong. I'm working on a problem involving successive runs. E.g. if I flip a coin…
tendim
  • 101