The Bonett-Price hybrid Wilson score confidence interval for the ratio of paired probabilities

Described in Chapter 8 "The Paired 2x2 Table"

BonettPrice_hybrid_Wilson_score_CI_paired_2x2(n, alpha = 0.05)

Arguments

n

the observed counts (a 2x2 matrix)

alpha

the nominal level, e.g. 0.05 for 95# CIs

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

BonettPrice_hybrid_Wilson_score_CI_paired_2x2(bentur_2009)
#> The Bonett-Price hybrid Wilson score CI: estimate = 0.2500 (95% CI 0.0677 to 0.9227)
BonettPrice_hybrid_Wilson_score_CI_paired_2x2(cavo_2012)
#> The Bonett-Price hybrid Wilson score CI: estimate = 0.8667 (95% CI 0.7579 to 0.9910)