Author-reviewedEvidence: highv1.0.0

Generalized Estimating Equations

Generalized estimating equations are a regression approach for estimating population-averaged associations from correlated observations by specifying a marginal mean model and accounting for within-cluster dependence.

Last reviewed byDr Darrin Baines

Concept Architecture

Generalized Estimating Equations: Concept Architecture

Orientation and learning roadmap

This page follows repeated or clustered outcomes from the study design to a population-level regression estimate. It then shows how within-cluster correlation enters estimation, illustrates the interpretation with hospital outcomes, and identifies the assumptions that matter for confidence intervals.

Choose the outcome and independent clusters

Start by identifying the independent units, such as patients with repeated observations or clinics containing multiple patients. Measurements within one unit may be correlated, so treating every observation as an independent replicate can distort the estimated precision of a treatment effect.

Specify the outcome distribution and link for the marginal mean, along with treatment, time, and prespecified covariates. For example, a logit link can model the average probability of a hospital readmission across the target population, while an identity link can model a mean cost difference when its assumptions and predictions are appropriate. The original Liang and Zeger longitudinal-data paper develops estimating equations for this marginal regression setting.

How the estimating equation uses correlation

The mean model relates each observation's expected outcome to its covariates. A working correlation describes how outcomes within the same cluster tend to move together and helps weight their contributions to the regression estimate.

Writing YiY_i for cluster ii's outcome vector, μi(β)\boldsymbol\mu_i(\boldsymbol\beta) for its modelled marginal means, Di=∂μi/∂βTD_i=\partial\boldsymbol\mu_i/\partial\boldsymbol\beta^{\mathsf T}, and ViV_i for its working covariance matrix, the estimate solves:

U(β)=∑i=1mDiTVi−1{Yi−μi(β)}=0.U(\boldsymbol\beta)=\sum_{i=1}^{m}D_i^{\mathsf T}V_i^{-1} \{Y_i-\boldsymbol\mu_i(\boldsymbol\beta)\}=\boldsymbol0.

Common working choices include independence, exchangeable correlation across all within-cluster pairs, and correlation that decays across successive measurements. A correctly specified marginal mean and independent clusters support large-sample consistency under appropriate regularity conditions even if the working correlation is misspecified; efficiency may suffer, and uncertainty should use a suitable cluster-robust sandwich variance estimate. Neither the choice of correlation nor the robust variance fixes confounding or an incorrectly specified mean model.

Worked readmission interpretation

Imagine 100 patients per strategy, each observed at two planned follow-ups, and suppose the observed readmission proportions are approximately 20% under an intervention and 30% under usual care at each visit. An illustrative marginal risk difference is 0.20−0.30=−0.100.20-0.30=-0.10, or ten fewer readmissions per 100 patient-visits on average across those observed visits.

Because each patient contributes two measurements, the 400 visit records are not 400 independent patients. A patient-clustered GEE can estimate a covariate-adjusted marginal contrast and account for within-patient dependence in its uncertainty; the observed proportions alone do not determine its adjusted coefficient or confidence interval. If time and treatment interact, report the visit-specific contrasts rather than forcing one constant effect across both visits.

Marginal effect versus subject-specific effect

GEE coefficients describe the regression mean across the population represented by the model and analysis weights. A mixed-effects model instead commonly introduces subject or cluster-specific random effects, so its conditional coefficients answer a different question.

For binary outcomes with a nonlinear link, a population-averaged odds ratio and a conditional odds ratio generally differ even when both models describe the same underlying data. Choose the target estimand before comparing models or translating a result into a decision model. In health economic work, an absolute predicted risk difference or a standardised marginal prediction may be easier to apply to population event counts than an unqualified odds ratio.

Precision, missingness, and study design

Cluster-robust variance estimates rely on an adequate number of independent clusters for their usual large-sample approximation. With few randomised clinics, standard sandwich standard errors can be too small, so a justified small-sample correction and appropriate inference method are important.

The small-cluster GEE simulation study examines this finite-sample issue. Standard unweighted GEE also does not make informative dropout harmless: assess why outcomes are missing and consider methods such as inverse-probability weighting or imputation under their stated assumptions. In a cluster-randomised study, the clinic is the independent unit for variance estimation even if many patients and visits are measured within it.

Use and validation in economic analysis

GEE can estimate average changes in utilisation, clinical events, quality-of-life measures, or costs when observations repeat or cluster. Map the link-scale coefficient to the quantity needed by the economic model, such as an adjusted mean difference or population-level predicted probability, and keep the relevant follow-up period and target population clear.

Report the number and size of independent clusters, outcome family, link, working correlation, missing-data strategy, variance estimator, and any prespecified effect modification. Inspect fitted means, residual patterns, influential clusters, and sensitivity to reasonable correlation and missingness choices. Correlation-aware uncertainty improves inference about a specified association; causal interpretation still depends on the study design and identification assumptions.

Library

Publications

1
  • Book

    Bayesian Methods in Health Economics — Gianluca Baio, 1st Edition ed., 2012 (Chapman & Hall / CRC Press)

    An overview of Bayesian statistical methods for the analysis of health economic data, covering economic evaluation concepts, statistical cost-effectiveness analysis, Bayesian computation and MCMC, and applied health economic evaluation.

Frequently Asked Questions (6)

  • What are generalized estimating equations?

    A method analysing repeated measures or clustered data, estimating population-average effects while accounting for within-cluster correlation, without a full random effects specification.

    Source: Liang & Zeger 1986

  • What do generalized estimating equations estimate from clustered data?

    Generalized estimating equations analyse repeated or clustered measurements to estimate the average effect across a population, while accounting for the fact that observations within a cluster are correlated. They focus on the population-average relationship rather than modelling each cluster's own deviation, treating the within-cluster correlation as a nuisance to be adjusted for rather than a quantity of interest. This makes them a robust choice when the goal is a marginal, population-level effect. Estimating population-average effects under correlation is their purpose. Kirkwood and Sterne (2003) describe this method.

    Source: Kirkwood & Sterne 2003

  • How do generalized estimating equations work?

    Generalized estimating equations work by extending generalised linear models to correlated data, specifying a model for the mean response and a working correlation structure for the within-cluster correlation, then estimating the parameters through estimating equations that account for that correlation. Robust standard errors give valid inference even if the working correlation is misspecified. So generalized estimating equations work by fitting the mean model while adjusting for within-cluster correlation via a chosen working structure, and using robust variance estimation, which yields consistent estimates of population-average effects and valid standard errors for clustered or repeated-measures data.

    Source: Liang & Zeger 1986

  • When are generalized estimating equations used?

    Generalized estimating equations are used for analysing clustered or longitudinal data when the interest is in population-average effects, such as the average effect of a treatment across the population, rather than in effects for individual clusters. They are common for repeated measures and grouped data with various outcome types. So generalized estimating equations are used when correlated data must be analysed and average effects are wanted, providing a flexible approach for binary, count, or continuous outcomes that accounts for within-cluster correlation, which is why they are widely applied in longitudinal studies and clustered designs where marginal, population-level effects are of interest.

    Source: Liang & Zeger 1986

  • How do generalized estimating equations differ from mixed models?

    Generalized estimating equations estimate population-average, or marginal, effects and treat the within-cluster correlation as a nuisance handled by a working structure, while mixed models include random effects that model the correlation explicitly and estimate cluster-specific, or conditional, effects. The two answer subtly different questions, and their estimates can differ for non-linear models. So generalized estimating equations and mixed models differ in whether they target average or cluster-specific effects and in how they treat the correlation, with generalized estimating equations focusing on marginal effects with robust inference and mixed models on conditional effects with a full specification, and the choice depends on the question and the interpretation desired.

    Source: Liang & Zeger 1986

  • What are the advantages of generalized estimating equations?

    The advantages of generalized estimating equations include that they give consistent estimates of population-average effects and valid robust standard errors even when the working correlation structure is misspecified; that they handle various outcome types and correlation patterns flexibly; and that they avoid the stronger distributional assumptions of full random effects models. So generalized estimating equations are advantageous for their robustness and flexibility in analysing correlated data for marginal effects, requiring fewer assumptions about the correlation than mixed models, which is why they are a popular choice when population-average effects are of interest and a full model of the correlation structure is not needed or desired.

    Source: Liang & Zeger 1986

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 25 Sep 2026

Content version: 1.0.0

Canonical Identity

Term code
HE-ES-SA-070

Stable URI · Machine-readable · Resolvable · CC BY 4.0