View source: R/replext_funcs.R
d_eq_spaced | R Documentation |
This function calculates the equally spaced differences between means in a one-way ANOVA setup. It is based on the formula presented in Vanbrabant et al. (2015) for calculating differences between means, d.
d_eq_spaced(k, f)
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. |
A numeric value representing the equally spaced difference, d, based on the number of groups (k) and the effect size (f).
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
d_eq_spaced(4, 0.25) # For k = 4 and f = 0.25
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.