wHolmTarget2m {itrimhoch} | R Documentation |
Find the difference between the achieved power and the desired power for rejecting H2 using the weighted Holm procedure with allowance for different data maturities
Description
Find the difference between the achieved power and the desired power for rejecting H2 using the weighted Holm procedure with allowance for different data maturities
Usage
wHolmTarget2m(n, alpha1, alpha, beta2, deltavec, rho, maturity)
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 |
maturity |
a numeric vector of two values representing the data maturities for the two hypotheses |
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.