Learn R Programming

pwrss (version 1.3.1)

f.to.etasq: Conversion between Cohen's f and Eta-squared

Description

Conversion between Cohen's f and Eta-squared

Usage

f.to.etasq(f, verbose = 1)

Value

eta.squared

(Partial) Eta-squared.

f.squared

Cohen's f².

f

Cohen's f.

Arguments

f

Cohen's f.

verbose

1 by default (returns test, hypotheses, and results), if 2 a more detailed output is given (plus key parameters and definitions), if 0 no output is printed on the console.

References

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

Examples

Run this code
f.to.etasq(f = 0.10) # small
f.to.etasq(f = 0.25) # medium
f.to.etasq(f = 0.40) # large

Run the code above in your browser using DataLab