Description Usage Arguments Value Note Author(s) References See Also
This function computes the power for an analysis of m multiple tests with a control of the qgFWER by a Bonferroni procedure.
1 2 3 
r 
integer, r = 1, ..., m. Desired number of endpoints to be declared significant. 
m 
integer. Number of endpoints. 
p 
integer, p = 1, ..., m. Indicates the number of false null hypotheses. 
nE 
integer. Sample size for the experimental (test) group. 
nCovernE 
Ratio of 
delta 
vector of length 
SigmaC 
matrix giving the covariances between the 
SigmaE 
matrix giving the covariances between the 
alpha 
a value which corresponds to the chosen qgFWER typeI control bound. 
q 
integer. Value of 'q' (q=1,...,m) in the qgFWER of Romano et
al., which is the probability to make at least 
asympt 
logical. 
maxpts 
convergence parameter used in the 
abseps 
convergence parameter used in the 
releps 
relative error tolerance as double used in the

nbcores 
integer. Number of cores to use for parallel computations. 
LB 
logical. Should we use a load balancing parallel computation. 
List with two components:
pow 
The computed power. 
error 
The total sum of the absolute estimated errors for each call
to the 
Results can differ from one time to another because the results of the
function pmvt
are random. If this is the case, you should
consider increasing maxpts
and decreasing abseps
.
P. Lafaye de Micheaux, B. Liquet and J. Riou
Delorme P., Lafaye de Micheaux P., Liquet B., Riou, J. (2015). TypeII Generalized FamilyWise Error Rate Formulas with Application to Sample Size Determination. Submitted to 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.