Calculates approximate unconditional Firth test p-value for testing independence in 2x2 case-control tables.
The Firth test requires significantly more computational time than the tests computed in the au.tests function.
Usage
au.firth(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 single AU p-value, computed under the Firth test.