rPowerSampleSize

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

CRAN Package

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.

  • Version1.0.2
  • R version≥ 2.10.0
  • LicenseGPL (> 2)
  • Needs compilation?No
  • Last release05/10/2018

Team


Insights

Last 30 days

This package has been downloaded 158 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 2 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsFeb 9, 2025
0 downloadsFeb 10, 2025
0 downloadsFeb 11, 2025
0 downloadsFeb 12, 2025
6 downloadsFeb 13, 2025
6 downloadsFeb 14, 2025
4 downloadsFeb 15, 2025
9 downloadsFeb 16, 2025
6 downloadsFeb 17, 2025
6 downloadsFeb 18, 2025
3 downloadsFeb 19, 2025
12 downloadsFeb 20, 2025
6 downloadsFeb 21, 2025
0 downloadsFeb 22, 2025
3 downloadsFeb 23, 2025
3 downloadsFeb 24, 2025
1 downloadsFeb 25, 2025
2 downloadsFeb 26, 2025
7 downloadsFeb 27, 2025
3 downloadsFeb 28, 2025
11 downloadsMar 1, 2025
5 downloadsMar 2, 2025
13 downloadsMar 3, 2025
10 downloadsMar 4, 2025
9 downloadsMar 5, 2025
3 downloadsMar 6, 2025
3 downloadsMar 7, 2025
2 downloadsMar 8, 2025
1 downloadsMar 9, 2025
5 downloadsMar 10, 2025
7 downloadsMar 11, 2025
7 downloadsMar 12, 2025
3 downloadsMar 13, 2025
2 downloadsMar 14, 2025
0 downloadsMar 15, 2025
0
13

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 1,806 times in the last 365 days. Now we’re talking! This work is officially 'heard of in academic circles', just like those wild research papers on synthetic bananas. The day with the most downloads was Sep 11, 2024 with 25 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends2 packages