
Cross-product odds ratio for a 2 x 2 table, with a Woolf interval
Source:R/aaa_tail2_t02.R
OddsRat.RdCross-product odds ratio for a 2 x 2 table, with a Woolf interval
Examples
OddsRat(10, 20, 15, 25)
#> $estimate
#> [1] 0.8333333
#>
#> $log_estimate
#> [1] -0.1823216
#>
#> $se_log
#> [1] 0.5066228
#>
#> $ci_lower
#> [1] 0.3087313
#>
#> $ci_upper
#> [1] 2.249349
#>
#> $z
#> [1] -0.3598763
#>
#> $p_value
#> [1] 0.7189396
#>
#> $n
#> [1] 70
#>
#> $conf_level
#> [1] 0.95
#>
#> $method
#> [1] "Cornfield (1951) cross-product odds ratio, Woolf (1955) log-scale variance 1/a+1/b+1/c+1/d"
#>