Research Article

Coping with Nonstationarity in Categorical Time Series

Table 1

Example of the flipping algorithm. The top row is the original data.

Number flipped, 𝑘 Sequence Number of 1s

0 0 1 0 0 1 0 1 1 4
1 1 1 0 0 1 0 1 1 5
2 1 0 0 0 1 0 1 1 4
3 1 0 1 0 1 0 1 1 5
4 1 0 1 1 1 0 1 1 6
5 1 0 1 1 0 0 1 1 5
6 1 0 1 1 0 1 1 1 6
7 1 0 1 1 0 1 0 1 5
8 1 0 1 1 0 1 0 0 4