Exact: Unconditional Exact Test

Performs unconditional exact tests and power calculations for 2x2 contingency tables. For comparing two independent proportions, performs Barnard's test (1945) <doi:10.1038/156177a0> using the original CSM test (Barnard, 1947 <doi:10.1093/biomet/34.1-2.123>), using Fisher's p-value referred to as Boschloo's test (1970) <doi:10.1111/j.1467-9574.1970.tb00104.x>, or using a Z-statistic (Suissa and Shuster, 1985, <doi:10.2307/2981892>). For comparing two binary proportions, performs unconditional exact test using McNemar's Z-statistic (Berger and Sidik, 2003, <doi:10.1191/0962280203sm312ra>), using McNemar's conditional p-value, using McNemar's Z-statistic with continuity correction, or using CSM test. Calculates confidence intervals for the difference in proportion. This package interacts with pre-computed data available through the ExactData R package, which is available in a 'drat' repository. Install the ExactData R package from GitHub at <https://pcalhoun1.github.io/drat/>. The ExactData R package is approximately 85 MB.

Version: 3.2
Depends: R (≥ 3.5.0)
Imports: graphics, stats, utils, rootSolve
Suggests: ExactData
Published: 2022-09-25
DOI: 10.32614/CRAN.package.Exact
Author: Peter Calhoun [aut, cre]
Maintainer: Peter Calhoun <calhoun.peter at gmail.com>
License: GPL-2
NeedsCompilation: no
Additional_repositories: https://pcalhoun1.github.io/drat
Materials: NEWS
CRAN checks: Exact results


Reference manual: Exact.pdf


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

Reverse dependencies:

Reverse imports: DescTools, neatStats
Reverse suggests: DescrTab2, exact2x2, kyotil


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