1. Runs up and down
E.g. in a sequence of tosses of a coin, we may have
H T T H H T T T H TThe first toss is proceded and the last toss is followed by a "no event". This sequence has six runs, first with a length of one, second and third with length two, fourth length three, fifth and sixth length one.
2. Runs above and below the mean.
3. Runs test: length of runs.
0.16, 0.27, 0.58, 0.63, 0.45, 0.21, 0.72, 0.87, 0.27, 0.15, 0.92, 0.85,...If the same pattern continues, two numbers below average, two numbers above average, it is unlikely a random number sequence. But this sequence will pass other tests.
Obviously is a random variable. Among various runs, the expected
value for runs up and down is given by
where E(I) the approximate expected length of a run and is the approximate probability of length .