Other packages > Find by keyword >

rPowerSampleSize  

Sample Size Computations Controlling the Type-II Generalized Family-Wise Error Rate
View on CRAN: Click here


Download and install rPowerSampleSize package within the R console
Install from CRAN:
install.packages("rPowerSampleSize")

Install from Github:
library("remotes")
install_github("cran/rPowerSampleSize")

Install by package version:
library("remotes")
install_version("rPowerSampleSize", "1.0.2")



Attach the package and use:
library("rPowerSampleSize")
Maintained by
Pierre Lafaye de Micheaux
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2015-11-28
Latest Update: 2018-05-10
Description:
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) .
How to cite:
Pierre Lafaye de Micheaux (2015). rPowerSampleSize: Sample Size Computations Controlling the Type-II Generalized Family-Wise Error Rate. R package version 1.0.2, https://cran.r-project.org/web/packages/rPowerSampleSize. Accessed 05 Jun. 2026.
Previous versions and publish date:
1.0.1 (2016-01-13 18:15), 1.0 (2015-11-28 14:53)
Other packages that cited rPowerSampleSize R package
View rPowerSampleSize citation profile
Other R packages that rPowerSampleSize depends, imports, suggests or enhances
Complete documentation for rPowerSampleSize
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA