sens.analysis.aberrant.rank: Sensitivity analysis for aberrant rank test.

View source: R/sens.analysis.aberrant.rank.R

sens.analysis.aberrant.rankR Documentation

Sensitivity analysis for aberrant rank test.

Description

This function carries out sensitivity analysis for the aberrant rank test for matched case-control studies.

Usage

sens.analysis.aberrant.rank(cases.exposed,referents.exposed,case.rank,no.referents,Gamma)

Arguments

cases.exposed

Vector which contains the number of cases exposed in each matched set.

referents.exposed

Vector which contains the number of referents (controls) exposed in each matched set.

case.rank

Vector which contains the rank of the cases' extremeness of disease, where 1 corresponds to the least extreme disease and I=number of matched sets corresponds to the most extreme disease.

no.referents

Vector which contains the number of referents (controls) in each matched set.

Gamma

The sensitivity parameter Gamma at which the test is conducted.

Details

The test being conducted is of the null hypothesis of no treatment effect vs. a one-sided alternative that exposure to the treatment increases the outcome. The function outputs the lower and upper bounds on the p-values for testing the null hypothesis for all distributions of treatment assignments that are consistent with the sensitivity parameter Gamma. The test is rejected if the upper bound on the p-value is less than alpha. The sensitivity parameter Gamma is the maximum amount by which two subjects matched for observed covariates may differ in their odds of exposure to the treatment. The test statistic is the sum of the aberrant ranks of the cases in the matched sets where the case is exposed to treatment, where the aberrant ranks are the ranks of the cases in extremeness of disease (1 corresponds to the least extreme disease and I = number of matched sets corresponds to the most extreme disease). See Small, Cheng, Halloran and Rosenbaum (2012) for further details.

Value

lower.bound.pval

Lower bound on the p-value for all distributions of treatment assignment consistent with the sensitivity parameter Gamma.

upper.bound.pval

Upper bound on the p-value for all distributions of treatment assignment consistent with the sensitivity parameter Gamma.

References

Small, D.S., Cheng, J., Halloran, M.E. and Rosenbaum, P.R. (2013). "Case Definition and Design Sensitivity." Journal of the American Statistical Association, 108, 1457-1468.


SensitivityCaseControl documentation built on June 4, 2022, 1:05 a.m.