Related Experiment Video
Updated: Nov 2, 2025

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
partR2: partitioning R2 in generalized linear mixed models
Martin A Stoffel1,2, Shinichi Nakagawa3, Holger Schielzeth1
1Institute of Ecology and Evolution, Friedrich-Schiller Universität Jena, Jena, Germany.
This study introduces partR2, an R package for partitioning variance explained by fixed effects in mixed-effects models. It quantifies unique predictor contributions and includes structure coefficients for comprehensive variance decomposition.
Area of Science:
- Statistics
- Ecological Modeling
- Quantitative Biology
Background:
- The coefficient of determination (R²) measures variance explained by regression coefficients in linear models.
- R² is a crucial tool for variance decomposition, complementing repeatability (intra-class correlation) for random effects.
- Partitioning R² using semi-partial (part) R² and structure coefficients is challenging due to limited software availability.
Purpose of the Study:
- Introduce partR2, an R package for quantifying part R² for fixed effects in (generalized) linear mixed-effect models.
- Provide tools for detailed variance decomposition in complex statistical models.
- Facilitate the estimation of unique and total contributions of predictors.
Main Methods:
- The partR2 package iteratively removes predictors to assess changes in linear predictor variance.
- Estimates structure coefficients representing the correlation between predictors and fitted values.
- Implements parametric bootstrapping for confidence intervals of estimates.
Main Results:
- partR2 quantifies unique variance explained by individual or sets of fixed-effect predictors.
- Estimates structure coefficients and 'inclusive' R² for total predictor contribution.
- Provides beta weights and confidence intervals via bootstrapping.
Conclusions:
- partR2 offers a robust solution for variance partitioning in mixed-effects models.
- The package enhances the interpretability of complex statistical models by detailing predictor contributions.
- Demonstrates utility with Gaussian and binomial GLMMs, addressing challenges like interactions.
Related Concept Videos
Friedman Two-way Analysis of Variance by Ranks
Quadratic Models
Routh-Hurwitz Criterion II
The first scenario occurs when a singular zero appears in the first column of the Routh table. This situation creates a division by zero issues. To resolve this, a small positive or negative number, denoted as epsilon (∈), is substituted for the zero. The stability analysis proceeds by assuming a sign for ∈. If ∈ is positive, any sign change in the first...
Variation
When independent and dependent variables are plotted on a scatter plot, the slope of a line is a value that describes the rate of change between the two...
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...
Mechanistic Models: Compartment Models in Individual and Population Analysis

