odds_ratio {ClinSigMeasures}R Documentation

Odds Ratio Calculation From a 2x2 Table

Description

Calculates an odds ratio and 95 percent confidence intervals for data from a 2x2 table

Usage

odds_ratio(Cell1, Cell2, Cell3, Cell4)

Arguments

Cell1

Value for cases with the factor/exposure of interest

Cell2

Value for cases without the factor/exposure of interest

Cell3

Value for controls with the factor/exposure of interest

Cell4

Value for controls without the factor/exposure of interest

Value

Odds ratio and 95 percent confidence intervals

Author(s)

Mike Malek-Ahmadi

References

1.Mufson EJ, Malek-Ahmadi M, Perez SE, Chen K. Braak staging, plaque pathology, and APOE status in elderly persons without cognitive impairment. Neurobiol Aging 2016;37:147-153.

Examples


# From Table 1 in Mufson et al (2016), using data for sex (Male/Female)
#and Braak stage group classification (I-II/III-V).

#Female/Braak III-V = 46, Female/Braak I-II = 14, Male/Braak III-V = 32,
#Male/Braak I-II = 31.

odds_ratio(46, 14, 32, 31)

[Package ClinSigMeasures version 1.2 Index]