pwr.lancova: Power Calculation for LANCOVA

Description Usage Arguments Value References Examples

View source: R/pwr.lancova.R

Description

Compute the statistical power of the LANCOVA test.

Usage

1
pwr.lancova(k, n, r_sqrd, rho_sqrd, alpha = 0.05)

Arguments

k

the number of groups.

n

the number of observations per group.

r_sqrd

the expected explained variance (on the logged scale)

rho_sqrd

the pretest-posttest correlation

alpha

the significance level (default=.05)

Value

power

the statistical power of test

References

Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Hillsdale,NJ: Lawrence Erlbaum.

Examples

1
pwr.lancova(3,40,.1,.4,.05)

lamme documentation built on May 1, 2019, 7:32 p.m.