Calculate the required sample size with MY ant Sample Size Calculator
Sample size calculation for estimation of mean
Sample size calculation for hypothesis testing of one sample mean
Sample size calculation for hypothesis testing of two independent samples mean
Sample Size for Balanced Group ANOVA design using R
X is the values of group means. Modify the values of x and sd accordingly. Paste and run in code snippet below.
x <- c(10,11,12,13) sd <- 10 power <- 0.8 sig.level <- 0.05 sd.p <- function(x){sd(x)*sqrt((length(x)-1)/length(x))} f <- sd.p(x)/sd library(pwr) pwr.anova.test(f=f,k=length(x),power=power,sig.level=sig.level)
Sample size calculation for hypothesis testing of two dependent (paired) sample mean