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

View source: R/mhxct.weighted.R

mhxct.weightedR Documentation

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.


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