Characterization of order statistics in two runs using conditional expectation

The runs test is a well-known test that is used for checking independence between elements of a sample data sequence. Some of runs tests are based on the longest run and others based on the total runs. In this paper, we consider order statistics of two runs statistics, and obtain their probability mass functions. In addition, the means and variances of the order statistics are derived using traditional conditional expectation.