Skip to content

rPowerSampleSize

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

v1.0.2 · May 10, 2018 · GPL (> 2)

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) <doi:10.1080/10543406.2013.860156>.

Downloads

183

Last 30 days

17930th

183

Last 90 days

183

Last year

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Pierre Lafaye de Micheaux <lafaye@unsw.edu.au>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Pierre", "Lafaye"),
                      family = "de Micheaux",
                      role = c("aut", "cre"),
                      email = "lafaye@unsw.edu.au"),
               person(given = "Benoit",
                      family = "Liquet",
                      role = "aut"),
               person(given = "Jeremie",
                      family = "Riou",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Pierre Lafaye de Micheaux <lafaye@unsw.edu.au>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Pierre", "Lafaye"),
                      family = "de Micheaux",
                      role = c("aut", "cre"),
                      email = "lafaye@unsw.edu.au"),
               person(given = "Benoit",
                      family = "Liquet",
                      role = "aut"),
               person(given = "Jeremie",
                      family = "Riou",
                      role = "aut"))
as necessary.
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Pierre Lafaye de Micheaux <lafaye@unsw.edu.au>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Pierre", "Lafaye"),
                      family = "de Micheaux",
                      role = c("aut", "cre"),
                      email = "lafaye@unsw.edu.au"),
               person(given = "Benoit",
                      family = "Liquet",
                      role = "aut"),
               person(given = "Jeremie",
                    
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Pierre Lafaye de Micheaux <lafaye@unsw.edu.au>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Pierre", "Lafaye"),
                      family = "de Micheaux",
                      role = c("aut", "cre"),
                      email = "lafaye@unsw.edu.au"),
               person(given = "Benoit",
                      family = "Liquet",
                      role = "aut"),
               person(given = "Jeremie",
                    

Dependency Network

Dependencies Reverse dependencies mvtnorm ssanv rPowerSampleSize

Version History

new 1.0.2 Mar 10, 2026