Mixed Model for Repeated Measures (MMRM)
The mixed model for repeated measures (MMRM) analyses a continuous outcome measured at scheduled visits with fixed treatment-by-visit effects and an unstructured within-subject covariance, using all observed visits.
반복측정 혼합모형(MMRM)은 정해진 방문마다 측정한 연속형 결과를 처치×방문 고정효과와 비구조 피험자 내 공분산으로 분석하여 관측된 모든 방문 자료를 쓰는 모형입니다.
Also known as: MMRM with Unstructured Covariance
다른 이름: 비구조 공분산 MMRM
In my two-arm trial the outcome was measured at weeks 4, 8 and 12 with some dropouts; what is the treatment difference at week 12?
두 군 임상시험에서 4·8·12주에 결과를 측정했고 탈락자가 있는데, 12주 시점의 처치 차이는 얼마인가요?
MMRM fits treatment, visit and treatment-by-visit fixed effects, usually with baseline-by-visit, and estimates the within-subject covariance by restricted maximum likelihood without random effects. Least-squares mean differences at each visit are tested with Kenward–Roger or Satterthwaite degrees of freedom, and the analysis remains valid when missing visits are missing at random.
When to use Mixed Model for Repeated Measures (MMRM)
- A continuous endpoint is measured at a fixed set of visits in a randomised trial.
- Some participants miss later visits and you want to use all observed data without imputation.
- Regulatory or protocol practice asks for an MMRM primary analysis with an unstructured covariance.
When to use something else
- Measurement times vary continuously between participants; use a linear mixed model with random slopes instead.
- Dropout depends on unobserved outcomes (missing not at random); add sensitivity analyses such as reference-based multiple imputation.
Assumptions and requirements
- Missing visits are missing at random given the observed data.
- Residuals are multivariate normal with the chosen covariance structure (unstructured, Toeplitz, AR(1) or compound symmetry).
- Treatment is constant within participant and each participant has at most one row per visit.
- The unstructured option supports up to 10 visits and 5,000 participants.
What the analysis reports
- Least-squares means by arm and visit with standard errors
- Treatment differences at each visit with Kenward–Roger or Satterthwaite df, confidence intervals and p-values
- Treatment-by-visit interaction F test
- REML −2 log-likelihood, AIC and estimated SD at each visit
- Forest plot of treatment differences by visit
How to report it
An MMRM with an unstructured covariance (Kenward–Roger df; [value] participants) estimated a least-squares mean difference of [value] at week [value] (SE = [value], t([value]) = [value], p = [value], 95% CI [[value], [value]]).
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Mixed Model for Repeated Measures (MMRM) itself, at the same price.
- MMRM with AR(1) Covariance — covariance set to “ar1”
- MMRM with ARMA(1,1) covariance — covariance set to “arma11”
- MMRM with banded Toeplitz covariance TOEP(q) — covariance set to “toeplitz”
- MMRM with heterogeneous Toeplitz covariance (TOEPH) — covariance set to “toeph”
- MMRM with Huynh-Feldt covariance — covariance set to “hf”
- MMRM with factor-analytic covariance FA(q) — covariance set to “fa”
- MMRM with factor-analytic covariance FA1(q) — covariance set to “fa1”
- MMRM with linear covariance structure LIN(q) — covariance set to “lin”
- MMRM with banded unstructured covariance UN(q) — covariance set to “unstructured”
- MMRM with heterogeneous AR(1) covariance (ARH1) — covariance set to “arh1”
- MMRM with heterogeneous compound symmetry (CSH) — covariance set to “csh”
- MMRM with unstructured correlations (UNR) — covariance set to “unr”
- MMRM with first-order antedependence ANTE(1) — covariance set to “ante1”
- MMRM with group-specific covariance — group covariance set to “on”
- MMRM pairwise LS-mean comparisons with Tukey adjustment — pairwise set to “on”; adjust set to “tukey”
- MMRM comparisons with control, Dunnett adjustment — adjust set to “dunnett”
- MMRM pairwise comparisons with Bonferroni adjustment — pairwise set to “on”; adjust set to “bonferroni”
- MMRM pairwise comparisons with Sidak adjustment — pairwise set to “on”; adjust set to “sidak”
- MMRM pairwise comparisons with Scheffe adjustment — pairwise set to “on”; adjust set to “scheffe”
- MMRM pairwise comparisons with SMM adjustment — pairwise set to “on”; adjust set to “smm”
- MMRM pairwise comparisons with simulation-based adjustment (Edwards-Berry) — pairwise set to “on”; adjust set to “simulate”; n sim set to “20000”
- MMRM slice tests (simple effects) — slices set to “on”
- MMRM custom estimates and contrasts —
- MMRM with AR(p) residual correlation — covariance set to “ar”; cov order set to “2”
- MMRM with MA(q) residual correlation — covariance set to “ma”; cov order set to “1”
Related methods
- Linear Mixed Effects Model
- Repeated Measures ANOVA
- Generalized Estimating Equations
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 2건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Mixed Model for Repeated Measures (MMRM) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a treatment indicator, a time variable, a unit (entity) ID and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.