The Mantel-Haenszel estimate of the overall effect across strata

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

MantelHaenszel_estimate_stratified_2x2(n, link = "logit")

Arguments

n

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

the link function ('linear', 'log', or 'logit')

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

MantelHaenszel_estimate_stratified_2x2(doll_hill_1950)
#> The Mantel-Haenszel estimate =  4.5239
MantelHaenszel_estimate_stratified_2x2(hine_1989)
#> The Mantel-Haenszel estimate =  1.7893