au.firth: Firth AU testing

Description Usage Arguments Value Examples

View source: R/au.firth.r

Description

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

1
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.

Examples

1
au.firth(15000, 5000, 1, 0)

AUtests documentation built on Sept. 4, 2020, 1:07 a.m.