CMD + K

r-exact2x2

Community

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. 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.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-exact2x2

Usage Tracking

1.7.0
1.6.9
1.6.8
1.6.6
1.6.5
5 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

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. 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.

Last Updated

Aug 22, 2025 at 07:05

License

GPL-3.0-only

Total Downloads

83.6K

Supported Platforms

noarch

Unsupported Platforms

linux-64 Last supported version: 1.6.3
win-64 Last supported version: 1.6.3
macOS-64 Last supported version: 1.6.3