Learn R Programming

Exact (version 3.3)

Exact-package: Unconditional Exact Tests R Package

Description

This package performs unconditional exact tests using exact.test for independent samples or paired.exact.test function for paired samples. The unconditional exact tests for independent samples are referred to as Barnard's (1945, 1947) test and also extended to test two paired proportions. This package also includes the power.exact.test and power.paired.test functions to calculate the power of various tests and the exact.reject.region and paired.reject.region functions to determine the rejection region of a test.

Arguments

Author

tools:::Rd_package_author("Exact")

Maintainer: tools:::Rd_package_maintainer("Exact")

Details

Unconditional exact tests are a more powerful alternative than conditional exact tests. This package can compute p-values, confidence intervals, and power calculations for various tests. Details of the tests are given in the exact.test documentation for independent samples and paired.exact.test documentation for paired samples.

References

Barnard, G.A. (1945) A new test for 2x2 tables. Nature, 156, 177

Barnard, G.A. (1947) Significance tests for 2x2 tables. Biometrika, 34, 123--138

Boschloo, R. D. (1970), Raised Conditional Level of Significance for the 2x2-table when Testing the Equality of Two Probabilities. Statistica Neerlandica, 24, 1--35

Berger, R.L. and Sidik, K. (2003) Exact unconditional tests for 2 x 2 matched-pairs design. Statistical Methods in Medical Research, 12, 91--108

Hsueh, H., Liu, J., and Chen, J.J. (2001) Unconditional exact tests for equivalence or noninferiority for paired binary endpoints. Biometrics, 57, 478--483