The function anofaES() compute effect size from observed frequencies according to the ANOFA framework. See Laurencelle and Cousineau (2023) for more.

anofaES( props )

Arguments

props

the expected proportions;

Value

The predicted effect size from a population with the given proportions.

Details

The effect size is given as an eta-square.

References

Laurencelle L, Cousineau D (2023). “Analysis of frequency tables: The ANOFA framework.” The Quantitative Methods for Psychology, 19, 173--193. doi:10.20982/tqmp.19.2.p173 .

Examples

# if we assume the following proportions:
pred <- c(.35, .25, .25, .15)

# then eta-square is given by 
anofaES( pred )
#> [1] 0.07602715