mui {mmirestriktor}R Documentation

Calculate Group Means for One-Way ANOVA

Description

This function calculates the means of different groups in a one-way ANOVA setting. It uses the equally spaced difference calculated by 'd_eq_spaced' and follows the approach described in Vanbrabant et al. (2015).

Usage

mui(k, f)

Arguments

k

An integer representing the number of groups (k = 3, ..., 8).

f

A numeric value representing the effect size (f = 0.10, 0.15, 0.20, 0.25, 0.30, 0.40).Typical values represent small (0.10), medium (0.25), and large (0.40) effects.

Value

A numeric vector containing the means of the groups. Each element of the vector corresponds to a group mean.

References

Vanbrabant, Leonard; Van De Schoot, Rens; Rosseel, Yves (2015). Constrained statistical inference: sample-size tables for ANOVA and regression. Frontiers in Psychology, 5. DOI:10.3389/fpsyg.2014.01565. URL: https://www.frontiersin.org/articles/10.3389/fpsyg.2014.01565

Examples

mui(4, 0.25) # For k = 4 and f = 0.25

[Package mmirestriktor version 0.3.1 Index]