Description Usage Arguments Value Examples
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.
1 | au.firth(m0, m1, r0, r1, lowthresh = 1e-12)
|
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. |
A single AU p-value, computed under the Firth test.
1 | au.firth(15000, 5000, 1, 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.