powered by
Calculates approximate unconditional p-values for testing independence in 2x2 case-control tables.
au.tests(m0, m1, r0, r1, lowthresh = 1e-12)
Number of control subjects
Number of case subjects
Number of control subjects exposed
Number of case subjects exposed
A threshold for probabilities below to be considered as zero. Defaults to 1e-12.
A vector of AU p-values, computed under score, likelihood ratio, and Wald tests.
# NOT RUN { au.tests(15000, 5000, 30, 25) au.tests(10000, 10000, 30, 25) # }
Run the code above in your browser using DataLab