power.f2: Statistical power for F tests on means in the two-way...

Description Usage Arguments Value Author(s) References Examples

Description

This is an internal function. power.f2 computes statistical power for F tests on means in the two-way analysis of variance.

Usage

1
power.f2(df1, df2, delta, sig.level = 0.05)

Arguments

df1

degree of freedom of the numerator of the F ratio

df2

degree of freedom of the denominator of the F ratio

delta

Cohen's f

sig.level

a numeric contains the significance level (default 0.05)

Value

Return a numeric containing the statistical power.

Author(s)

Yasuyuki Okumura
Department of Social Psychiatry,
National Institute of Mental Health,
National Center of Neurology and Psychiatry
yokumura@blue.zero.jp

References

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

Examples

1
2
3
4
5
6
7
8
##Cohen (1988) ex 8.6
power.f2(df1=1,df2=96,sig.level=0.05,delta=.10)
power.f2(df1=2,df2=96,sig.level=0.05,delta=.25)
power.f2(df1=3,df2=96,sig.level=0.05,delta=.40)

power.f2(df1=1,df2=120,sig.level=0.05,delta=.10)
power.f2(df1=2,df2=120,sig.level=0.05,delta=.25)
power.f2(df1=3,df2=120,sig.level=0.05,delta=.40)

rpsychi documentation built on May 1, 2019, 10:10 p.m.