The Cochran-Mantel-Haenszel test of a common odds ratio

Described in Chapter 10 "Stratified 2x2 Tables and Meta-Analysis"

CochranMantelHaenszel_test_stratified_2x2(n)

Arguments

n

the observed table (a 2x2xk matrix, where k is the number of strata)

Value

An object of the contingencytables_result class, basically a subclass of base::list(). Use the utils::str() function to see the specific elements returned.

Examples

CochranMantelHaenszel_test_stratified_2x2(doll_hill_1950)
#> The Cochran-Mantel-Haenszel test: P = 0.000001, T0 = 24.920 (df = 1)
CochranMantelHaenszel_test_stratified_2x2(hine_1989)
#> The Cochran-Mantel-Haenszel test: P = 0.036463, T0 = 4.375 (df = 1)