Learn R Programming

samplesize (version 0.1-5)

samplesize-package: Computes sample size for Student's t-test, Student's t-test with Welch approximation and Wilcoxon-Mann-Whitney test

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

Arguments

Details

ll{ Package: samplesize Type: Package Version: 0.1-4 Date: 2008-08-15 License: GPL (>=2) LazyLoad: yes } n.paired.t.test(): sample size for paired Student's t-test

n.indep.t.test.eq(): sample size for indepent Student's t-test with equal group size

n.indep.t.test.neq(): sample size for indepent Student's t-test with different group size

n.welch.test(): sample size for Student's t.test with Welch approximation n.wilcox.w.ties(): sample size for Wilcoxon-Mann-Whitney test with ties

n.wilcox.no.ties(): sample size for Wilcoxon-Mann-Whitney test 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