rPowerSampleSize
Sample Size Computations Controlling the Type-II Generalized Family-Wise Error Rate
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
244
Last 30 days
18352nd
578
Last 90 days
2.2K
Last year
Trend: +25.8% (30d vs prior 30d)
CRAN Check Status
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 (2 non-OK)
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.
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.
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
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 =
...[truncated]...
,
person(given = "Benoit",
family = "Liquet",
role = "aut"),
person(given = "Jeremie",
family = "Riou",
role = "aut"))
as necessary.
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 =
...[truncated]...
,
person(given = "Benoit",
family = "Liquet",
role = "aut"),
person(given = "Jeremie",
family = "Riou",
role = "aut"))
as necessary.