au.tests {AUtests} | R Documentation |
AU testing
Description
Calculates approximate unconditional p-values for testing independence in 2x2 case-control tables.
Usage
au.tests(m0, m1, r0, r1, lowthresh = 1e-12)
Arguments
m0 |
Number of control subjects |
m1 |
Number of case subjects |
r0 |
Number of control subjects exposed |
r1 |
Number of case subjects exposed |
lowthresh |
A threshold for probabilities below to be considered as zero. Defaults to 1e-12. |
Value
A vector of AU p-values, computed under score, likelihood ratio, and Wald tests.
Examples
au.tests(15000, 5000, 30, 25)
au.tests(10000, 10000, 30, 25)
[Package AUtests version 0.99 Index]