Learn R Programming

SensitivityCaseControl (version 2.2)

mhxct.weighted: Distribution of Mantel-Haenszel test statistic.

Description

Internal function that computes the distribution of m*Mantel-Haenszel statistic for sensitivity parameter Gamma.

Usage

mhxct.weighted(mi, Ji, gamma = 1, m = 1)

Arguments

mi

Number of exposed subjects in each matched set.

Ji

Number of subjects in each matched set.

gamma

Sensitivity parameter.

m

Factor by which Mantel-Haenszel statistic should be multiplied (default is 1).

Value

Upper bound on the probability that m*Mantel-Haenszel statistic equals 0, 1,,...maximum value when the null hypothesis of no treatment effect is true and the sensitivity parameter is Gamma.