# 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>.

- Author
- Pierre Lafaye de Micheaux, Benoit Liquet and Jeremie Riou
- Date of publication
- 2016-01-13 18:15:23
- Maintainer
- Pierre Lafaye de Micheaux <lafaye@dms.umontreal.ca>
- License
- GPL (> 2)
- Version
- 1.0.1

## Man pages

- bonferroni.1m.ssc
- Sample Size Computation with Single Step Bonferroni Method in...
- complexity
- Computation of the complexity of the numerical computations.
- data.sim
- Simulated data
- df.compute
- Computation of degrees of freedom.
- global.1m.analysis
- Data analysis with a global method in the context of multiple...
- global.1m.ssc
- Sample Size Computation Based on a Global Procedure in the...
- indiv.1m.analysis
- Data analysis with an individual testing procedure in the...
- indiv.1m.ssc
- Sample size computation with an individual testing procedure...
- indiv.analysis
- Data analysis using an individual testing procedure...
- indiv.rm.ssc
- Sample size determination in the context of multiple...
- matrix.type.compute
- Computation of matrix type
- montecarlo
- Monte carlo computation of power.
- plot.rPower
- Plot of an rPower object
- Psirmd
- Computation of power for step-down (Holm) procedure.
- Psirms
- Computation of power for single step (Bonferroni) procedure.
- Psirmu
- Computation of power for step-up (Hochberg) procedure.
- rPowerSampleSize-package
- Sample Size Computation and Data Analysis in the context of...

## Files in this package

rPowerSampleSize |

rPowerSampleSize/NAMESPACE |

rPowerSampleSize/data |

rPowerSampleSize/data/data.sim.rda |

rPowerSampleSize/R |

rPowerSampleSize/R/indiv.rm.ssc.R |

rPowerSampleSize/R/indiv.1m.ssc.R |

rPowerSampleSize/R/indiv.1m.analysis.R |

rPowerSampleSize/R/complexity.R |

rPowerSampleSize/R/indiv.analysis.R |

rPowerSampleSize/R/indivne.rm.ssc.R |

rPowerSampleSize/R/montecarlo.R |

rPowerSampleSize/R/global.1m.ssc.R |

rPowerSampleSize/R/indive.rm.ssc.R |

rPowerSampleSize/R/global.1m.analysis.R |

rPowerSampleSize/R/plot.rPower.R |

rPowerSampleSize/R/bonferroni.1m.ssc.R |

rPowerSampleSize/MD5 |

rPowerSampleSize/DESCRIPTION |

rPowerSampleSize/man |

rPowerSampleSize/man/plot.rPower.Rd |

rPowerSampleSize/man/indiv.analysis.Rd |

rPowerSampleSize/man/Psirmd.Rd |

rPowerSampleSize/man/indiv.1m.ssc.Rd |

rPowerSampleSize/man/df.compute.Rd |

rPowerSampleSize/man/complexity.Rd |

rPowerSampleSize/man/indiv.1m.analysis.Rd |

rPowerSampleSize/man/data.sim.Rd |

rPowerSampleSize/man/Psirms.Rd |

rPowerSampleSize/man/rPowerSampleSize-package.Rd |

rPowerSampleSize/man/bonferroni.1m.ssc.Rd |

rPowerSampleSize/man/indiv.rm.ssc.Rd |

rPowerSampleSize/man/montecarlo.Rd |

rPowerSampleSize/man/matrix.type.compute.Rd |

rPowerSampleSize/man/global.1m.ssc.Rd |

rPowerSampleSize/man/global.1m.analysis.Rd |

rPowerSampleSize/man/Psirmu.Rd |