Generalized Estimating Equations (GEE)

GEE handles regression for correlated/clustered data — longitudinal studies, repeated measures, or clustered designs where observations within a subject/cluster are not independent.


Step 1 — Provide your data

Each row is one observation:

  • Subject ID — cluster identifier
  • Time Point — when observed
  • Outcome — dependent variable
  • Covariates — independent variables

Supports Excel Import, Sample Data Generator, and Manual Entry.


Step 2 — Configure the model

Outcome family:

FamilyUse when
GaussianContinuous outcomes
BinomialBinary outcomes (0/1)
PoissonCount outcomes

Link function:

LinkTypical pairing
IdentityGaussian
LogitBinomial
LogPoisson

Working correlation structure:

StructureAssumption
IndependenceNo within-cluster correlation
ExchangeableUniform correlation (0.3)
AR(1)Decay with time distance (0.5^k)
UnstructuredAll pairwise estimated

Step 3 — Results

  • Coefficients table — Estimate, SE, Z-value, p-value, 95% CI per variable
  • Working Correlation Matrix
  • Model fit — Quasi-likelihood, AIC, BIC
  • Convergence status — converged, iterations, final tolerance
  • Model summary — subjects, observations, time points, family/link/correlation
  • Interpretation — adaptive plain-language summary

A UniversalChatBot is available for discussion.


Statistical methods used

Model

g(E[Y_ij]) = beta0 + beta_time * t_ij + sum(beta_k * X_ijk)

Estimation — Iterative least squares, max 20 iterations.

Standard errors — Conservative estimates accounting for within-cluster correlation.

Confidence intervals and p-values (Wald)

95% CI: beta +/- 1.96 * SE, Z = beta / SE, p = 2*(1 - Phi(|Z|))

Quasi-likelihood

FamilyFormula
Gaussian-0.5 * sum((y - mu)^2)
Binomialsum(y*log(mu) + (1-y)*log(1-mu))
Poissonsum(y*log(mu) - mu)

Key property: GEE produces consistent population-average estimates even when the working correlation structure is misspecified.