powered by
Compute the statistical power of the LANCOVA test.
pwr.lancova(k, n, r_sqrd, rho_sqrd, alpha = 0.05)
the number of groups.
the number of observations per group.
the expected explained variance (on the logged scale)
the pretest-posttest correlation
the significance level (default=.05)
the statistical power of test
Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Hillsdale,NJ: Lawrence Erlbaum.
# NOT RUN { pwr.lancova(3,40,.1,.4,.05) # }
Run the code above in your browser using DataLab