Learn R Programming

lamme (version 0.0.1)

pwr.lanova: Power Calculation for LANOVA

Description

Compute the statistical power of the LANOVA test.

Usage

pwr.lanova(k, n, r_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)

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.lanova(3,40,.4,.05)
# }

Run the code above in your browser using DataLab