Related Experiment Video
Updated: Feb 15, 2026

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
The gradient function as an exploratory goodness-of-fit assessment of the random-effects distribution in mixed models
Geert Verbeke1, Geert Molenberghs
1Interuniversity Institute for Biostatistics and Statistical Bioinformatics, Katholieke Universiteit Leuven, B-3000 Leuven, Belgium and Interuniversity Institute for Biostatistics and Statistical Bioinformatics, Universiteit Hasselt, B-3590 Diepenbeek, Belgium. geert.verbeke@med.kuleuven.be
Abstract:
Inference in mixed models is often based on the marginal distribution obtained from integrating out random effects over a pre-specified, often parametric, distribution. In this paper, we present the so-called gradient function as a simple graphical exploratory diagnostic tool to assess whether the assumed random-effects distribution produces an adequate fit to the data, in terms of marginal likelihood. The method does not require any calculations in addition to the computations needed to fit the model, and can be applied to a wide range of mixed models (linear, generalized linear, non-linear), with univariate as well as multivariate random effects, as long as the distribution for the outcomes conditional on the random effects is correctly specified. In case of model misspecification, the gradient function gives an important, albeit informal, indication on how the model can be improved in terms of random-effects distribution. The diagnostic value of the gradient function is extensively illustrated using some simulated examples, as well as in the analysis of a real longitudinal study with binary outcome values.
Related Concept Videos
Goodness-of-Fit Test
Expected Frequencies in Goodness-of-Fit Tests
Induced-fit Model
Enzymes exhibit substrate specificity, meaning that they can only bind to certain substrates. This is mainly determined by the shape and chemical...
Statistical Methods to Analyze Parametric Data: Student t-Test and Goodness-of-Fit Test
The Student's t-test is a statistical test that examines if there is a statistically significant difference between the means of two groups. This test is instrumental when dealing with...
Cholinesterases: Distribution and Function
What is an Electrochemical Gradient?
The chemical gradient relies on differences in the abundance of a substance on the outside versus the inside of a cell and flows from areas of high to low ion concentration. In contrast, the electrical gradient revolves around an...

