optrho {itrimhoch} | R Documentation |
Calculate the rho value that reaches the maximum type I error rate in the improved trimmed Hochberg method when k value is given
Description
Calculate the rho value that reaches the maximum type I error rate in the improved trimmed Hochberg method when k value is given
Usage
optrho(k, alpha, alphavec = c(alpha/2, alpha/2))
Arguments
k |
a pre-specified constant in the improved trimmed weighted Hochberg procedure |
alpha |
the significance level |
alphavec |
a numeric vector of two values representing the weighted significance levels assigned to the two hypotheses |
Value
the rho value that makes the type I error rate reaches the maximum value rho_opt
and the type I error rate errorrate
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
optrho(k = 2/3, alpha = 0.025)
[Package itrimhoch version 1.0.0 Index]