Learn R Programming

Exact (version 3.3)

Unconditional Exact Test

Description

Performs unconditional exact tests and power calculations for 2x2 contingency tables. For comparing two independent proportions, performs Barnard's test (1945) using the original CSM test (Barnard, 1947 ), using Fisher's p-value referred to as Boschloo's test (1970) , or using a Z-statistic (Suissa and Shuster, 1985, ). For comparing two binary proportions, performs unconditional exact test using McNemar's Z-statistic (Berger and Sidik, 2003, ), 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 . The ExactData R package is approximately 85 MB.

Copy Link

Version

Install

install.packages('Exact')

Monthly Downloads

40,859

Version

3.3

License

GPL-2

Maintainer

Peter Calhoun

Last Published

July 21st, 2024

Functions in Exact (3.3)

paired.reject.region

Rejection Region for 2x2 Tables with Paired Samples
power.exact.test

Power Calculations for 2x2 Tables with Independent Samples
paired.exact.test

Unconditional Exact Tests for 2x2 Tables with Paired Samples
exact.test

Unconditional Exact Tests for 2x2 Tables with Independent Samples
power.paired.test

Power Calculations for 2x2 Tables with Paired Samples
Exact-package

Unconditional Exact Tests R Package
exact.reject.region

Rejection Region for 2x2 Tables with Independent Samples