Learn R Programming

nncc (version 2.0.0)

test_mh: Calculate odds ratios

Description

Calculate odds ratios using the M-H method when the matched dataset has more than 1 stratum, and using the Fisher's exact test when the matched dataset has only one stratum.

Usage

test_mh(case, exp, strata)

Value

The list of statistical results

Arguments

case

The case statuses

exp

The exposure statuses

strata

The strata identifiers

Details

For more information, please refer to the vignette using browseVignettes("nncc").