Learn R Programming

samplesize (version 0.2-4)

samplesize-package: Computes sample size for several two-sample tests

Description

Computes sample size for independent and paired Student's t-test, Student's t-test with Welch-approximation, Wilcoxon-Mann-Whitney test with and without ties on ordinal data

Arguments

Details

Package:
samplesize
Type:
Package
Version:
0.2-4
Date:
2016-12-22
License:
GPL (>=2)
LazyLoad:
yes
n.ttest(): sample size for Student's t-test and t-test with Welch approximation n.wilcox.ord(): sample size for Wilcoxon-Mann-Whitney test with and without ties

References

Bock J., Bestimmung des Stichprobenumfangs fuer biologische Experimente und kontrollierte klinische Studien. Oldenbourg 1998

Zhao YD, Rahardja D, Qu Yongming. Sample size calculation for the Wilcoxon-Mann-Whitney test adjusting for ties. Statistics in Medicine 2008; 27:462-468