Block frequencies of Y in the m+1 intervals defined by the
ordered X-sample. Under H0 the expected block proportion is
1 / (m + 1).
Examples
morie_two_sample_coverage(x = rnorm(50), y = rnorm(50))
#> $block_freq
#> [1] 2 0 0 0 0 1 0 7 1 0 0 1 1 0 1 0 1 1 0 0 0 0 2 2 0 2 0 1 1 0 3 0 0 6 1 2 0 2
#> [39] 2 1 1 0 0 1 0 3 0 2 1 0 1
#>
#> $block_prop
#> [1] 0.04 0.00 0.00 0.00 0.00 0.02 0.00 0.14 0.02 0.00 0.00 0.02 0.02 0.00 0.02
#> [16] 0.00 0.02 0.02 0.00 0.00 0.00 0.00 0.04 0.04 0.00 0.04 0.00 0.02 0.02 0.00
#> [31] 0.06 0.00 0.00 0.12 0.02 0.04 0.00 0.04 0.04 0.02 0.02 0.00 0.00 0.02 0.00
#> [46] 0.06 0.00 0.04 0.02 0.00 0.02
#>
#> $expected_prop
#> [1] 0.01960784
#>
#> $m
#> [1] 50
#>
#> $n
#> [1] 50
#>
#> $cumulative
#> [1] 50
#>
#> $method
#> [1] "Two-sample coverage probability"
#>
