The difference between MMRM with vs without random effects

 

๐Ÿง  Short Answer

Model TypeRandom Effect Included?Type of ModelAssumes Subject-specific Trajectories?Typical Use
MMRMNoMarginal model❌ NoRegulatory trials (e.g. FDA)
Linear Mixed Model (LME)YesConditional model✅ YesAcademic studies, hierarchical modeling

๐Ÿ” MMRM = No Random Effects

✅ Standard MMRM (FDA-favored)

  • Marginal model: estimates population-average effects.

  • Uses a repeated statement in SAS (or nlme::gls() in R).

  • Models the within-subject covariance directly (e.g., UN, AR(1), CS).

  • Assumes no subject-specific random intercepts/slopes.

➕ Pros:

  • Very flexible in modeling within-subject correlations.

  • Doesn't assume normally distributed random effects.

  • Performs well under MAR with dropout.

  • Standard in late-phase clinical trials and regulatory submissions.

➖ Cons:

  • Can become unstable with too many timepoints (e.g., unstructured covariance).

  • Cannot model subject-level variation (e.g., random slopes).

๐Ÿ“˜ Example in SAS:

proc mixed data=adsl; class id visit trt; model change = trt visit trt*visit / solution; repeated visit / subject=id type=un; /* ← within-subject covariance only */ run;

๐Ÿ” LME = Random Effects Included

✅ Linear Mixed-Effects Model (aka Hierarchical Model)

  • Conditional model: estimates effects within individuals.

  • Uses a random statement for subject-level intercepts/slopes.

  • Residuals assumed i.i.d. after accounting for random effects.

  • Models the intra-subject variability via random intercepts/slopes.

➕ Pros:

  • Models subject-specific deviations (e.g., individual growth curves).

  • Better for small sample sizes, nested/hierarchical structures.

  • Often used in academic and psychometrics research.

➖ Cons:

  • Assumes random effects are normally distributed.

  • Not ideal when missing data are not MCAR, especially with dropout.

  • Not preferred in regulatory settings (can bias treatment effect estimates under MAR with dropout).

๐Ÿ“˜ Example in SAS:

proc mixed data=adsl; class id visit trt; model change = trt visit trt*visit / solution; random intercept / subject=id; /* ← random effect: subject-specific intercept */ run;

๐Ÿ“ˆ Key Differences

FeatureMMRM (No Random Effect)Mixed Model (With Random Effect)
Type of modelMarginal (population-level)Conditional (subject-level)
Target estimandMean difference across populationIndividual trajectories
Handles dropout?✅ Yes, under MAR❌ Biased if dropout is informative
Within-subject correlationModeled via repeated covarianceModeled via random effects
Between-subject variabilityNot explicitly modeled✅ Modeled via random intercepts/slopes
FDA/EMA preference✅ Yes❌ Generally not preferred for primary analysis
Example usePhase III trialsLongitudinal growth, academic studies

๐Ÿงช Which Should You Use?

If You...Use
Need regulatory-compliant population-level estimatesMMRM
Want to model individual-level change over timeRandom effects (LME)
Have monotone missing data and want unbiased inference under MARMMRM
Want to model hierarchical structure (e.g., patients nested in sites)Mixed model with random intercept for site

๐Ÿงญ Bottom Line

  • MMRM is the gold standard for continuous longitudinal outcomes in clinical trials.

  • Random effects models are powerful but not robust to informative dropout—use with caution for regulatory work.

Comments

Popular posts from this blog

Analysis of Repeated Measures Data using SAS (1)

Medical information for Melanoma, Merkel cell carcinoma and tumor mutation burden

Four essential statistical functions for simulation in SAS