Skip to content

Marginal Mean Methods: Likelihood and Estimating Equations

Compare a marginalized multilevel likelihood model with generalized estimating equations for clustered outcomes.

Version
v1 · 2026-11-14 · History
Domain-specific #
14802
Domain group
Formal Sciences
Origin domain
Experimental Design & Statistics
Subdomains
Longitudinal Data, Multilevel Models → Experimental Design & Statistics

Core Idea

For clustered or repeated outcomes, a marginal mean describes the expected response at specified covariate values without conditioning on a particular cluster's latent random effect. This comparison places two approaches side by side: the marginalized multilevel likelihood construction of Heagerty and Zeger, and the generalized estimating equations (GEE) of Liang and Zeger. Both can express a regression target in terms of marginal means, but they differ in how they model dependence and carry out inference.[1][2]

A conditional multilevel model instead describes a response given latent cluster effects as well as observed covariates. In nonlinear models, its conditional coefficients need not equal the coefficients describing marginal means. Marginalizing is not a promise that every outcome is normally distributed, nor does it erase correlation among members of a cluster.[1]

How would you explain it like I'm…

All-the-Rooms Average

Kids are in lots of different classrooms, and kids in the same room tend to be a bit alike. Sometimes you want to know what's true for kids in general, across all the rooms, not just inside one room. There are two different ways grown-ups figure that out, and they go about it differently.

Two Ways to Find Group Averages

Imagine measuring kids who come in groups, like classes, where kids in the same class tend to be similar. You could ask about one particular class, or you could ask what is typical across all kids with certain features, no matter which class they are in. The second kind of answer is called a marginal mean. Statisticians have two main ways to study marginal means when data come in groups. They aim at the same kind of answer but handle the group similarity and the math of checking their answers in different ways.

Comparing Marginal-Mean Methods

When data come in clusters, like students in schools or repeated measurements of the same person, observations inside a cluster are correlated. A marginal mean is the expected outcome for given characteristics averaged over clusters, without fixing a particular cluster's hidden effect. A conditional model instead asks about the outcome given that hidden cluster effect, and in nonlinear models (for example, models of yes/no outcomes) its coefficients can differ from the marginal ones. This entry compares two ways to target marginal means: a likelihood-based multilevel model that is built so its parameters describe marginal means, and generalized estimating equations (GEE). They differ in how they model the correlation and how they do inference. Using marginal means does not assume outcomes are normally distributed and does not make the within-cluster correlation disappear.

 

With clustered or longitudinal outcomes, the marginal mean E[Y | x] is the population-averaged expected response at covariates x, integrating over latent cluster effects rather than conditioning on them. A conditional (subject-specific) multilevel model specifies E[Y | x, b] given a random effect b; with a nonlinear link, the conditional coefficients generally differ from population-averaged ones. Two approaches can put the regression target on the marginal scale. Heagerty and Zeger's marginalized multilevel models specify a full likelihood in which the marginal mean is modeled directly while a latent structure captures dependence. Liang and Zeger's generalized estimating equations specify the marginal mean model plus a working correlation and use estimating equations with robust variance estimates, rather than a full likelihood. They therefore differ in how dependence is modeled and how inference proceeds. Marginalization neither implies normality of outcomes nor removes intra-cluster correlation.

Two Methods

Heagerty and Zeger specify a marginal mean regression while using a latent-effects multilevel probability model for dependence; the resulting construction supports likelihood inference. The relationship between the marginal mean and conditional model depends on the specified model, including the distribution of latent effects. Their paper examines the sensitivity of results to assumptions; it does not show that every marginally parameterized model is immune to misspecification.[1]

Liang and Zeger's GEE approach specifies a marginal mean and uses estimating equations with a working description of within-cluster association. Their equations do not require specification of the complete joint distribution of each cluster's observations. Consistency and variance statements depend on the assumptions of the method; a working correlation is not a universal covariance prescription, and a shared marginal target does not make GEE the same procedure as the likelihood construction.[2]

A Gaussian Illustration

Suppose \(Y_{ij}=\gamma+U_j+R_{ij}\), where the cluster intercept \(U_j\sim N(0,\tau^2)\), residuals \(R_{ij}\sim N(0,\sigma^2)\) are independent across observations, and \(U_j\) is independent of those residuals. Then one observation marginally has \(Y_{ij}\sim N(\gamma,\tau^2+\sigma^2)\). For two different observations in the same cluster, the common intercept leaves covariance \(\tau^2\). This simple illustration depends on its stated Gaussian and independence assumptions; it is not a formula for every multilevel model.

Relationships to Other Abstractions

Local relationship map for Marginal Mean Methods: Likelihood and Estimating EquationsParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Marginal Mean Method…DOMAINPrime abstraction: Comparison — presupposesComparisonPRIME

Current abstraction Marginal Mean Methods: Likelihood and Estimating Equations Domain-specific

Parents (1) — outgoing typed relations

  • Marginal Mean Methods: Likelihood and Estimating Equations presupposes Comparison Prime

    The entry co-frames two methods by target mean and joint-model commitments, then reads off their differences.

Hierarchy path (1) — routes to 1 parentless root

  • Marginal Mean Methods: Likelihood and Estimating Equations → presupposes Comparison

Neighborhood in Abstraction Space

Marginal Mean Methods: Likelihood and Estimating Equations sits in a sparse region of the domain-specific corpus (97th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Statistical Bias & Inference Pitfalls (8 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Patrick J. Heagerty and Scott L. Zeger (2000), "Marginalized Multilevel Models and Likelihood Inference", Statistical Science 15(1), 1–19. DOI: 10.1214/ss/1009212670. registry ↩a ↩b ↩c

[2] Kung-Yee Liang and Scott L. Zeger (1986), "Longitudinal Data Analysis Using Generalized Linear Models", Biometrika 73(1), 13–22. DOI: 10.1093/biomet/73.1.13. registry ↩a ↩b