Package: Exact 3.3

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.

Authors:Peter Calhoun [aut, cre]

Exact_3.3.tar.gz
Exact_3.3.zip(r-4.5)Exact_3.3.zip(r-4.4)Exact_3.3.zip(r-4.3)
Exact_3.3.tgz(r-4.5-any)Exact_3.3.tgz(r-4.4-any)Exact_3.3.tgz(r-4.3-any)
Exact_3.3.tar.gz(r-4.5-noble)Exact_3.3.tar.gz(r-4.4-noble)
Exact_3.3.tgz(r-4.4-emscripten)Exact_3.3.tgz(r-4.3-emscripten)
Exact.pdf |Exact.html
Exact/json (API)
NEWS

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

On CRAN:

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

6.98 score 98 packages 98 scripts 33k downloads 16 mentions 6 exports 1 dependencies

Last updated 7 months agofrom:685235071a. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 29 2025
R-4.5-winOKJan 29 2025
R-4.5-macOKJan 29 2025
R-4.5-linuxOKJan 29 2025
R-4.4-winOKJan 29 2025
R-4.4-macOKJan 29 2025
R-4.3-winOKJan 29 2025
R-4.3-macOKJan 29 2025

Exports:exact.reject.regionexact.testpaired.exact.testpaired.reject.regionpower.exact.testpower.paired.test

Dependencies:rootSolve

Readme and manuals

Help Manual

Help pageTopics
Unconditional Exact Tests R Packagebinom.CI checkPairedParam checkParam chisq_TX confInt confIntPaired convertMethod csmPairedTemp csmPairedTemp2sidedDelta csmTemp csmTemp2sidedDelta dbinomCalc discordant.CI Exact fisher.2x2 lowerMatVal maxPvalue maxPvalueLookup maxPvalueMultinom maxPvaluePaired maxPvaluePairedLookup mcnemar.2x2 mcnemar_TX methodText moreExtreme moreExtremeCSM moreExtremePaired moreExtremePairedCSM multinom pairedMethodText santner_TX searchExtreme searchExtremePaired trinom trinomCalc updateMat zpooled_TX zunpooled_TX
Rejection Region for 2x2 Tables with Independent Samplesexact.reject.region
Unconditional Exact Tests for 2x2 Tables with Independent SamplesbinomialCode exact.test multinomCode
Unconditional Exact Tests for 2x2 Tables with Paired Samplespaired.exact.test pairedCode
Rejection Region for 2x2 Tables with Paired Samplespaired.reject.region
Power Calculations for 2x2 Tables with Independent Samplespower.exact.test
Power Calculations for 2x2 Tables with Paired Samplespower.paired.test