Package: exact2x2 1.6.9

Michael P. Fay

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

Authors:Michael P. Fay [aut, cre], Sally A. Hunsberger [ctb], Martha Nason [ctb], Erin Gabriel [ctb], Keith Lumbard [ctb]

exact2x2_1.6.9.tar.gz
exact2x2_1.6.9.tar.gz(r-4.5-noble)exact2x2_1.6.9.tar.gz(r-4.4-noble)
exact2x2_1.6.9.tgz(r-4.4-emscripten)exact2x2_1.6.9.tgz(r-4.3-emscripten)
exact2x2.pdf |exact2x2.html
exact2x2/json (API)

# Install 'exact2x2' in R:
install.packages('exact2x2', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

7.23 score 3 stars 6 packages 282 scripts 2.2k downloads 16 mentions 46 exports 26 dependencies

Last updated 1 years agofrom:f5705aa263. Checks:1 OK, 1 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 19 2025
R-4.5-linuxNOTEFeb 19 2025

Exports:binomMeld.testblaker.exactborrControlborrOrderingborrPreCalcborrPvalsborrTestboschloocalcTallconstrMLE.differenceconstrMLE.oddsratioconstrMLE.ratiocreateRexact2x2exact2x2CIexact2x2Plotexact2x2Pvalsfillsquarefisher.exactfisherCalcMidpgetColorgetDeltaGridgetPDQDgetPIgetPrangemcnemar.exactmcnemar.exact.calcmcnemarExactDPorderMatpickTstatplotRankMatplotTpower2gridpower2gridDifferencepower2gridRatiopower2x2Power2x2powerBorrpowerPaired2x2ss2x2SS2x2ucControluncondExact2x2uncondExact2x2PvalsuncondPower2x2unirootGrid

Dependencies:briocallrclicrayondescdiffobjdigestevaluateexactcifsgluejsonlitelifecyclemagrittrpkgbuildpkgloadpraiseprocessxpsR6rlangrprojrootssanvtestthatwaldowithr

Exact McNemar's Test

Rendered fromexactMcNemar.Rnwusingutils::Sweaveon Feb 19 2025.

Last update: 2020-06-30
Started: 2014-03-05

exact2x2: mid-p adjustment

Rendered frommidpAdjustment.Rnwusingutils::Sweaveon Feb 19 2025.

Last update: 2018-02-26
Started: 2017-02-16

exact2x2: Overview

Rendered fromexact2x2.Rnwusingutils::Sweaveon Feb 19 2025.

Last update: 2017-02-16
Started: 2014-03-05

exact2x2: Unconditional Exact Tests

Rendered fromunconditionalExact2x2Tests.Rnwusingutils::Sweaveon Feb 19 2025.

Last update: 2017-02-16
Started: 2017-02-16

exact2x2: Validation of Unconditional Exact Tests

Rendered fromexact2x2Validation.Rnwusingutils::Sweaveon Feb 19 2025.

Last update: 2017-02-16
Started: 2017-02-16