basic.tests {AUtests} | R Documentation |
Basic testing
Description
Calculates standard p-values for testing independence in 2x2 case-control tables.
Usage
basic.tests(m0, m1, r0, r1)
Arguments
m0 |
Number of control subjects |
m1 |
Number of case subjects |
r0 |
Number of control subjects exposed |
r1 |
Number of case subjects exposed |
Value
A vector of p-values, computed under score, likelihood ratio, Wald, Firth, and Fisher's exact tests.
Examples
basic.tests(15000, 5000, 30, 25)
[Package AUtests version 0.99 Index]