The McNemar mid-P test

Described in Chapter 8 "The Paired 2x2 Table"

McNemar_midP_test_paired_2x2(n)

Arguments

n

the observed table (a 2x2 matrix)

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

McNemar_midP_test_paired_2x2(bentur_2009)
#> The McNemar mid-P test: P = 0.039063
McNemar_midP_test_paired_2x2(cavo_2012)
#> The McNemar mid-P test: P = 0.034690
McNemar_midP_test_paired_2x2(ezra_2010)
#> The McNemar mid-P test: P = 0.000003