Learn R Programming

lamme (version 0.0.1)

pwr.lancova: Power Calculation for LANCOVA

Description

Compute the statistical power of the LANCOVA test.

Usage

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

Run this code
# NOT RUN {
pwr.lancova(3,40,.1,.4,.05)
# }

Run the code above in your browser using DataLab