binarysens: Sensitivity Test for Matched Binary Outcome

View source: R/binarysens.R

binarysensR Documentation

Sensitivity Test for Matched Binary Outcome

Description

Function to calculate Rosenbaum bounds for binary data.

Usage

 
binarysens(x,y, Gamma=6, GammaInc=1)

Arguments

x

Count of the first set of discrepant pairs in a table of treated and control outcomes.

y

Count of the second set of discrepant pairs in a table of treated and control outcomes.

Gamma

Upper-bound on gamma parameter.

GammaInc

To set user specified increments for gamma parameter.

Author(s)

Luke Keele, University of Pennsylvania, luke.keele@gmail.com

References

Rosenbaum, Paul R. (2002) Observational Studies. Springer-Verlag.

See Also

See also psens, hlsens, mcontrol

Examples

 
# Example From Rosenbaum Observational Studies Pg 112
# Success: Died From Lung Cancer
# 110 Discrepant Pairs
# 12 Discrepant Pairs

# Sensitivity Test
binarysens(12,110)


rbounds documentation built on April 30, 2022, 1:07 a.m.

Related to binarysens in rbounds...