Related Experiment Video
Updated: Jul 5, 2025

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
Data aggregation can lead to biased inferences in Bayesian linear mixed models and Bayesian analysis of variance
Daniel J Schad1, Bruno Nicenboim2, Shravan Vasishth3
1Institute for Mind, Brain and Behavior, Health and Medical University (HMU).
Bayesian null hypothesis tests using aggregated data can yield biased results, especially when assumptions are violated. Analyzing nonaggregated data with Bayesian linear mixed-effects models (LMMs) provides more accurate Bayes factors.
Area of Science:
- Cognitive Science
- Statistics
- Psychology
Background:
- Bayesian linear mixed-effects models (LMMs) and Bayesian analysis of variance (ANOVA) are common in cognitive sciences for null hypothesis testing.
- Bayes factor software is accessible, but correct data and model specification remain unclear.
- Many researchers aggregate data by subject for Bayesian analyses.
Purpose of the Study:
- To demonstrate the problems of null hypothesis tests on aggregated data in Bayesian analysis.
- To evaluate the impact of violated assumptions on Bayes factor results.
- To provide recommendations for accurate Bayesian inference.
Main Methods:
- Simulation-based calibration for model inference.
- Application to several example experimental designs.
- Comparison of analyses on aggregated versus nonaggregated data.
Main Results:
- Null hypothesis tests on aggregated data can be problematic in Bayesian analysis, mirroring issues in frequentist approaches.
- When sphericity is violated, Bayes factors on aggregated data are too conservative or too liberal depending on contrast variance.
- Ignoring random item slope variance in aggregated data analyses leads to biased (too liberal) Bayes factors.
Conclusions:
- Aggregating data by subject for Bayesian null hypothesis tests can lead to biased Bayes factors.
- Bayesian LMMs on nonaggregated (individual trial) data, with explicit modeling of random effects, circumvent these issues.
- Accurate Bayesian inference requires careful data and model specification, avoiding data aggregation when possible.
Related Concept Videos
Bias
In statistics, a sampling bias is created when a sample is collected from a population, and some members of the population are not as likely to be chosen as others (remember, each member...
Bias in Epidemiological Studies
Biostatistics: Overview
Discrete variables are...
Statistical Methods to Analyze Parametric Data: ANOVA
One-way ANOVA is applied when a single independent variable or factor is scrutinized. It compares...
One-Way ANOVA
One-Way ANOVA: Equal Sample Sizes
Different sample means can result in different values for the variance estimate: variance between samples. This is because the variance between samples is calculated as the product of the sample size and the variance between the...

