A Practical Guide to Calculating Cohen's f(2), a Measure of Local Effect Size, from PROC MIXED

Front Psychol. 2012 Apr 17;3:111. doi: 10.3389/fpsyg.2012.00111. eCollection 2012.

Abstract

Reporting effect sizes in scientific articles is increasingly widespread and encouraged by journals; however, choosing an effect size for analyses such as mixed-effects regression modeling and hierarchical linear modeling can be difficult. One relatively uncommon, but very informative, standardized measure of effect size is Cohen's f(2), which allows an evaluation of local effect size, i.e., one variable's effect size within the context of a multivariate regression model. Unfortunately, this measure is often not readily accessible from commonly used software for repeated-measures or hierarchical data analysis. In this guide, we illustrate how to extract Cohen's f(2) for two variables within a mixed-effects regression model using PROC MIXED in SAS(®) software. Two examples of calculating Cohen's f(2) for different research questions are shown, using data from a longitudinal cohort study of smoking development in adolescents. This tutorial is designed to facilitate the calculation and reporting of effect sizes for single variables within mixed-effects multiple regression models, and is relevant for analyses of repeated-measures or hierarchical/multilevel data that are common in experimental psychology, observational research, and clinical or intervention studies.

Keywords: Cohen’s f2; PROC MIXED; R2; SAS; effect size; hierarchical linear modeling; mixed-effects regression.