An alias. The estimator is Mhors; the audit at mamh is the same
method as mhors and it is the same estimator with the same
Robins-Breslow-Greenland variance. Carrying the arithmetic twice would mean two
copies that agree with each other at 1e-9 forever and are never checked against
anything else, so this only adapts the calling convention: four vectors in, one
matrix of strata out.
Value
Whatever Mhors returns, unchanged.
Details
Formula: OR_MH = sum(a_k d_k/n_k) / sum(b_k c_k/n_k) – Mantel
and Haenszel (1959); Robins, Breslow and Greenland (1986).
References
Mantel, N. and Haenszel, W. (1959). Journal of the National Cancer Institute 22(4):719-748. doi:10.1093/jnci/22.4.719 .
Examples
Mamh(a = c(1, 2, 3, 4, 5, 6, 7, 8), b = c(1, 2, 3, 4, 5, 6, 7, 8),
c = c(1, 2, 3, 4, 5, 6, 7, 8), d = c(1, 2, 3, 4, 5, 6, 7, 8))
#> $measure
#> [1] "OR_MH"
#>
#> $estimate
#> [1] 1
#>
#> $se
#> [1] 0.3333333
#>
#> $ci_lower
#> [1] 0.5203148
#>
#> $ci_upper
#> [1] 1.921914
#>
#> $n
#> [1] 144
#>
#> $n_strata
#> [1] 8
#>
#> attr(,"class")
#> [1] "morie_rich_result" "list"
