wHolmTarget2 {itrimhoch}R Documentation

Find the difference between the achieved power and the desired power for rejecting H2 using the weighted Holm procedure

Description

Find the difference between the achieved power and the desired power for rejecting H2 using the weighted Holm procedure

Usage

wHolmTarget2(n, alpha1, alpha, beta2, deltavec, rho)

Arguments

n

the sample size

alpha1

the weighted significance levels assigned to H1

alpha

the significance level

beta2

one minus the desired power for rejecting H2

deltavec

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

rho

the correlation coefficient between two test statistics

Value

the difference between the achieved power and the desired power for rejecting H2

Author(s)

Jiangtao Gou

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.


[Package itrimhoch version 1.0.0 Index]