afex

From MaRDI portal
Software:32224



swMATH20405CRANafexMaRDI QIDQ32224

Analysis of Factorial Experiments

Henrik Singmann, Ben Bolker, Jake Westfall, Frederik Aust, Mattan S. Ben-Shachar

Last update: 25 February 2024

Software version identifier: 1.2-1, 1.3-0, 0.2-26, 0.3-42, 0.4-57, 0.5-71, 0.6-82, 0.7-90, 0.8-94, 0.9-109, 0.10-113, 0.11-131, 0.12-135, 0.13-145, 0.14-2, 0.15-2, 0.16-1, 0.17-8, 0.18-0, 0.19-1, 0.20-2, 0.21-2, 0.22-1, 0.23-0, 0.24-1, 0.25-1, 0.26-0, 0.27-2, 0.28-0, 0.28-1, 1.0-0, 1.0-1, 1.1-0, 1.1-1, 1.2-0, 1.3-0, 1.3-1

Source code repository: https://github.com/cran/afex

Copyright license: GNU General Public License, version 3.0, GNU General Public License, version 2.0

Convenience functions for analyzing factorial experiments using ANOVA or mixed models. aov_ez(), aov_car(), and aov_4() allow specification of between, within (i.e., repeated-measures), or mixed (i.e., split-plot) ANOVAs for data in long format (i.e., one observation per row), automatically aggregating multiple observations per individual and cell of the design. mixed() fits mixed models using lme4::lmer() and computes p-values for all fixed effects using either Kenward-Roger or Satterthwaite approximation for degrees of freedom (LMM only), parametric bootstrap (LMMs and GLMMs), or likelihood ratio tests (LMMs and GLMMs). afex_plot() provides a high-level interface for interaction or one-way plots using ggplot2, combining raw data and model estimates. afex uses type 3 sums of squares as default (imitating commercial statistical software).