itwcHochPower {itrimhoch}R Documentation

Power for rejecting H1 using various types of the Hochberg Procedure

Description

Power for rejecting H1 using various types of the Hochberg Procedure

Usage

itwcHochPower(n, alpha1, alpha, deltavec, rho, proctype = "i", k = 0)

Arguments

n

the sample size

alpha1

the weighted significance levels assigned to H1

alpha

the significance level

deltavec

a numeric vector of two values representing the effect sizes for the two hypotheses

rho

the correlation coefficient between two test statistics

proctype

the improved trimmed weighted Hochberg procedure is denoted by i, the trimmed weighted Hochberg procedure is denoted by t , the weighted Hochberg procedure is denoted by w, and the conservative weighted Hochberg procedure is denoted by c

k

a pre-specified constant in the improved trimmed weighted Hochberg procedure

Value

the power for rejecting H1 is denoted by pwr1, the power for rejecting H2 is denoted by pwr2, and the power for rejecting both H1 and H2 is denoted by pwr12

Author(s)

Jiangtao Gou

Fengqing Zhang

References

Gou, J., Chang, Y., Li, T., and Zhang, F. (2025). Improved trimmed weighted Hochberg procedures with two endpoints and sample size optimization. Technical Report.

Examples

itwcHochPower(n = 100,
alpha1 = 0.0125, alpha = 0.025,
deltavec = c(0.2, 0.25), rho = 0.2,
proctype = "i", k = 0)
itwcHochPower(n = 100,
alpha1 = 0.0125, alpha = 0.025,
deltavec = c(0, 0), rho = 0,
proctype = "w", k = 0)

[Package itrimhoch version 1.0.0 Index]