Learn R Programming

AUtests (version 0.97)

au.test.strat: Stratified AU testing

Description

Calculates AU p-values for testing independence in 2x2 case-control tables, while adjusting for categorical covariates. Inputs are given as a vector of counts in each strata defined by the covariate(s).

Usage

au.test.strat(m0list, m1list, r0list, r1list, lowthresh = 1e-12)

Arguments

Value

  • An AU p-value, computed under the likelihood ratio test.

Examples

Run this code
au.test.strat(c(500, 1250), c(150, 100), c(0, 0), c(10, 5))

Run the code above in your browser using DataLab