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:
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.
Last updated 11 months agofrom:f5705aa263. Checks:OK: 1 NOTE: 1. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 21 2024 |
R-4.5-linux | NOTE | Dec 21 2024 |
Exports:binomMeld.testblaker.exactborrControlborrOrderingborrPreCalcborrPvalsborrTestboschloocalcTallconstrMLE.differenceconstrMLE.oddsratioconstrMLE.ratiocreateRexact2x2exact2x2CIexact2x2Plotexact2x2Pvalsfillsquarefisher.exactfisherCalcMidpgetColorgetDeltaGridgetPDQDgetPIgetPrangemcnemar.exactmcnemar.exact.calcmcnemarExactDPorderMatpickTstatplotRankMatplotTpower2gridpower2gridDifferencepower2gridRatiopower2x2Power2x2powerBorrpowerPaired2x2ss2x2SS2x2ucControluncondExact2x2uncondExact2x2PvalsuncondPower2x2unirootGrid
Dependencies:briocallrclicrayondescdiffobjdigestevaluateexactcifsgluejsonlitelifecyclemagrittrpkgbuildpkgloadpraiseprocessxpsR6rlangrprojrootssanvtestthatwaldowithr
Exact McNemar's Test
Rendered fromexactMcNemar.Rnw
usingutils::Sweave
on Dec 21 2024.Last update: 2020-06-30
Started: 2014-03-05
exact2x2: mid-p adjustment
Rendered frommidpAdjustment.Rnw
usingutils::Sweave
on Dec 21 2024.Last update: 2018-02-26
Started: 2017-02-16
exact2x2: Overview
Rendered fromexact2x2.Rnw
usingutils::Sweave
on Dec 21 2024.Last update: 2017-02-16
Started: 2014-03-05
exact2x2: Unconditional Exact Tests
Rendered fromunconditionalExact2x2Tests.Rnw
usingutils::Sweave
on Dec 21 2024.Last update: 2017-02-16
Started: 2017-02-16
exact2x2: Validation of Unconditional Exact Tests
Rendered fromexact2x2Validation.Rnw
usingutils::Sweave
on Dec 21 2024.Last update: 2017-02-16
Started: 2017-02-16
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Exact Tests and Confidence Intervals for 2x2 Tables | exact2x2-package |
Melded Binomial Confidence Intervals and Tests | binomMeld.test |
Boundary-Optimized Rejection Region Test | borrOrdering borrPvals borrTest powerBorr |
Boschloo's test for 2x2 Tables | boschloo |
Exact Conditional Tests for 2 by 2 Tables of Count Data | blaker.exact exact2x2 fisher.exact mcnemar.exact |
Plot p-value function for one 2 by 2 table. | exact2x2Plot |
Exact McNemar (Paired Binary) Test with Difference in Proportions | mcnemarExactDP |
Plot or Print ordering function for unconditional exact test | orderMat orderMat.function orderMat.numeric plotT plotT.function plotT.numeric |
Calculate exact power or sample size for conditional tests for two independent binomials. | power2x2 ss2x2 |
Power for exact McNemar's test | powerPaired2x2 |
Unconditional exact tests for 2x2 tables | uncondExact2x2 uncondExact2x2Pvals |
Calculate power or sample size for any 2x2 test. | Power2x2 SS2x2 uncondPower2x2 |
Function to find a root by grid search. | unirootGrid |