Arguments
- ...
Three or more matched binary 0/1 vectors.
Value
An object of class "morie_test_result".
Examples
set.seed(1)
v1 <- rbinom(30, 1, 0.4)
v2 <- rbinom(30, 1, 0.5)
v3 <- rbinom(30, 1, 0.6)
res <- cochrans_q(v1, v2, v3)
res$p_value
#> [1] 0.386741