This function computes the complexity of our formulas.
complexity(method, exchangeable, r, p, display = TRUE)
"Bonferroni", "Hochberg" or "Holm".
Logical indicating if we are in the exchangeable case or not.
integer, r = 1, ..., m. Desired number of endpoints to be declared significant.
integer, p = 1, ..., m. Indicates the number of false null hypotheses.
Logical. Should we display the complexity.
Complexity of the formulas (i.e., number of individual probabilities
computed using the function pmvt
(or pmvnorm
) in the non
exchangeable case).
Delorme P., Lafaye de Micheaux P., Liquet B., Riou, J. (2015). Type-II Generalized Family-Wise Error Rate Formulas with Application to Sample Size Determination. Statistics in Medicine. Romano J. and Shaikh A. (2006) Stepup Procedures For Control of Generalizations of the Familywise Error Rate. The Annals of Statistics, 34(4), 1850--1873.