rPowerSampleSize: Sample Size Computations Controlling the Type-II Generalized Family-Wise Error Rate

The significance of mean difference tests in clinical trials is established if at least r null hypotheses are rejected among m that are simultaneously tested. This package enables one to compute necessary sample sizes for single-step (Bonferroni) and step-wise procedures (Holm and Hochberg). These three procedures control the q-generalized family-wise error rate (probability of making at least q false rejections). Sample size is computed (for these single-step and step-wise procedures) in a such a way that the r-power (probability of rejecting at least r false null hypotheses, i.e. at least r significant endpoints among m) is above some given threshold, in the context of tests of difference of means for two groups of continuous endpoints (variables). Various types of structure of correlation are considered. It is also possible to analyse data (i.e., actually test difference in means) when these are available. The case r equals 1 is treated in separate functions that were used in Lafaye de Micheaux et al. (2014) <doi:10.1080/10543406.2013.860156>.

Install the latest version of this package by entering the following in R:
AuthorPierre Lafaye de Micheaux, Benoit Liquet and Jeremie Riou
Date of publication2016-01-13 18:15:23
MaintainerPierre Lafaye de Micheaux <lafaye@dms.umontreal.ca>
LicenseGPL (> 2)

View on CRAN


asympt.ssc Man page
bonferroni.1m.ssc Man page
complexity Man page
data Man page
data.sim Man page
df.compute Man page
fwer Man page
global.1m.analysis Man page
global.1m.ssc Man page
indiv.1m.analysis Man page
indiv.1m.ssc Man page
indiv.analysis Man page
indiv.rm.ssc Man page
known.ssc Man page
matrix.type.compute Man page
montecarlo Man page
plot.rPower Man page
Psirmd Man page
Psirms Man page
Psirmu Man page
rPowerSampleSize Man page
rPowerSampleSize-package Man page
test.indiv Man page
unknown.ssc Man page

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.