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]
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 15 Apr. 2025.
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
03/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/14Downloads for rPowerSampleSize024681012141618202224TrendBars

Today's Hot Picks in Authors and Packages

StructFDR  
False Discovery Control Procedure Integrating the Prior Structure Information
Perform more powerful false discovery control (FDR) for microbiome data, taking into account the pri ...
Download / Learn more Package Citations See dependency  
mt  
Metabolomics Data Analysis Toolbox
Functions for metabolomics data analysis: data preprocessing, orthogonal signal correction, PCA ana ...
Download / Learn more Package Citations See dependency  
ktsolve  
Configurable Function for Solving Families of Nonlinear Equations
This is designed for use with an arbitrary set of equations with an arbitrary set of unknowns. The ...
Download / Learn more Package Citations See dependency  
mipplot  
An Open-Source Tool for Visualization of Climate Mitigation Scenarios
Generic functions to produce area/bar/box/line plots of data following IAMC (Integrated Assessment M ...
Download / Learn more Package Citations See dependency  
SAutomata  
Inference and Learning in Stochastic Automata
Machine learning provides algorithms that can learn from data and make inferences or predictions. St ...
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  

24,012

R Packages

207,311

Dependencies

64,993

Author Associations

24,013

Publication Badges

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