singmann / afex

Analysis of Factorial EXperiments (R package)
121 stars 32 forks source link

Is it possible to get effect sizes for the omnibus F-test returned by `mixed`? #8

Open smithdanielle opened 9 years ago

smithdanielle commented 9 years ago

Some journals request effect sizes to be included in the analysis. I don't know if this is possible, but can a specialised effect statistic (such as eta-squared) be returned alongside the F-test? Effect sizes such as standardised beta in a LMM table are not interpretable when using sum contrast coding (especially when number of levels of a factor are >= 3).

singmann commented 9 years ago

Unfortunately not at the moment. The problem is not trivial and to my knowledge no general solution has as of yet been proposed. Some discussion on this issue can be found at the lme4 faq and in Westfall et al. (2014).

My recommendation is to report effects on the response scale. We have done so in e.g., Kellen et al. (2015).

References:

singmann commented 6 years ago

See also the response at: https://afex.singmann.science/forums/topic/compute-effect-sizes-for-mixed-objects/#post-295

mattansb commented 5 years ago

I've seen a simple solution for calculating partial eta square in some paper with LMM, which I have back tracked to: Friedman, H. (1982). Simplified determinations of statistical power, magnitude of effect and research sample sizes. Educational and Psychological Measurement, 42(2), 521-526. [Table 2 ]

pes = F*df1 / (F*df1 + df) (in ANOVAs this is an exact calculation, in LMM I guess this is some estimate)

These are available here: https://easystats.github.io/effectsize/articles/from_test_statistics.html