optrho | 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
optrho(k, alpha, alphavec = c(alpha/2, alpha/2))
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 |
the rho value that makes the type I error rate reaches the maximum value rho_opt
and the type I error rate errorrate
Jiangtao Gou
Fengqing Zhang
Gou, J., Chang, Y., Li, T., and Zhang, F. (2025). Improved trimmed weighted Hochberg procedures with two endpoints and sample size optimization. Technical Report.
optrho(k = 2/3, alpha = 0.025)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.