binarysens | R Documentation |
Function to calculate Rosenbaum bounds for binary data.
binarysens(x,y, Gamma=6, GammaInc=1)
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. |
Luke Keele, University of Pennsylvania, luke.keele@gmail.com
Rosenbaum, Paul R. (2002) Observational Studies. Springer-Verlag.
See also psens
, hlsens
, mcontrol
# Example From Rosenbaum Observational Studies Pg 112 # Success: Died From Lung Cancer # 110 Discrepant Pairs # 12 Discrepant Pairs # Sensitivity Test binarysens(12,110)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.