exact2x2: Exact Tests and Confidence Intervals for 2x2 Tables

Calculates conditional exact tests (Fisher's exact test, Blaker's exact test, or exact McNemar's test) and unconditional exact tests (including score-based tests on differences in proportions, ratios of proportions, and odds ratios, and Boshcloo's test) with appropriate matching confidence intervals, and provides power and sample size calculations. Gives melded confidence intervals for the binomial case (Fay, et al, 2015, <doi:10.1111/biom.12231>). Gives boundary-optimized rejection region test (Gabriel, et al, 2018, <doi:10.1002/sim.7579>), an unconditional exact test for the situation where the controls are all expected to fail. Gives confidence intervals compatible with exact McNemar's or sign tests (Fay and Lumbard, 2021, <doi:10.1002/sim.8829>). For review of these kinds of exact tests see Fay and Hunsberger (2021, <doi:10.1214/21-SS131>).

Version: 1.6.9
Depends: R (≥ 2.10), stats (≥ 3.1.1), exactci, ssanv
Suggests: testthat, Exact (≥ 2.0), ggplot2, grid, gridExtra
Published: 2024-01-25
DOI: 10.32614/CRAN.package.exact2x2
Author: Michael P. Fay [aut, cre], Sally A. Hunsberger [ctb], Martha Nason [ctb], Erin Gabriel [ctb], Keith Lumbard [ctb]
Maintainer: Michael P. Fay <mfay at niaid.nih.gov>
License: GPL-3
NeedsCompilation: no
Citation: exact2x2 citation info
Materials: ChangeLog
CRAN checks: exact2x2 results

Documentation:

Reference manual: exact2x2.pdf
Vignettes: exact2x2: Overview
exact2x2: Validation of Unconditional Exact Tests
Exact McNemar's Test
exact2x2: mid-p adjustment
exact2x2: Unconditional Exact Tests

Downloads:

Package source: exact2x2_1.6.9.tar.gz
Windows binaries: r-devel: exact2x2_1.6.9.zip, r-release: exact2x2_1.6.9.zip, r-oldrel: exact2x2_1.6.9.zip
macOS binaries: r-release (arm64): exact2x2_1.6.9.tgz, r-oldrel (arm64): exact2x2_1.6.9.tgz, r-release (x86_64): exact2x2_1.6.9.tgz, r-oldrel (x86_64): exact2x2_1.6.9.tgz
Old sources: exact2x2 archive

Reverse dependencies:

Reverse depends: asht, pCalibrate
Reverse imports: DescrTab2, vvdoctor
Reverse suggests: exactci, jmv

Linking:

Please use the canonical form https://CRAN.R-project.org/package=exact2x2 to link to this page.