# 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).

20 questions
Filter by
Sorted by
Tagged with
216 views

### Is it normal to get more variance in k folds cross-validation of an algorithm than in k repetitions?

Is it normal to get a lot more variance in k folds cross-validation of an algorithm than in k repetitions of the same algorithm (neural network) on the same dataset? ...
24 views

### Deriving the average and variance of number of runs in runs test

NIST states that the average and variance of a number of runs in the "runs above and below median" test as  \overline{R} = \frac{2n_a n_b}{n_a + n_b} + 1 \\ s^2 = \frac{2n_a n_b(2n_a n_b - n_a - n_b)...
18 views

### How can I use the distribution of run lengths to test if a sequence is generated from flips of a fair coin?

I have a very long sequence (in the tens of thousands) of binary outcomes from some data-generating process. I believe that these outcomes are iid Bernoulli trials with p = 0.5, equivalent to flipping ...
39 views

### Including streaks/runs in (generalized) linear mixed model context

The data and model used so far: I have longitudinal count data on 16 pens (8 with treatment A, 8 with treatment B). Each pen houses the same number of animals, and the pens may be considered as ...
133 views

53 views

### 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 ...
Say I have a sequence of length $n$ of $k$ different elements, s.t. $n > k, k > 2$. I want to show this sequence is random, based on the number of runs. I found this paper by AM Mood which ...