Posts

Showing posts from September, 2025

The difference between MMRM with vs without random effects

  🧠 Short Answer Model Type Random Effect Included? Type of Model Assumes Subject-specific Trajectories? Typical Use MMRM ❌ No Marginal model ❌ No Regulatory trials (e.g. FDA) Linear Mixed Model (LME) ✅ Yes Conditional model ✅ Yes Academic 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 ...

Use FDA Suggestions on Missing Data and Sensitivity Analyses

  The U.S. FDA provides guidance and expectations on how to handle missing data in clinical trials, especially in the context of estimands and sensitivity analyses . Below is a detailed summary based on key regulatory documents and practices. 📘 1. Key FDA Guidance Documents A. FDA (2019): "Estimands and Sensitivity Analyses in Clinical Trials" Focus: Aligning analysis with the trial objective and handling intercurrent events , like treatment discontinuation or dropout. Introduces the estimand framework from ICH E9(R1). Emphasizes sensitivity analysis under plausible MNAR assumptions. 🔗 Link: FDA Estimand Guidance (PDF) 📌 2. FDA Expectations at a Glance Topic FDA View Primary analysis Can assume MAR (e.g., MMRM) if justified Sensitivity analysis Must explore MNAR scenarios (not just MAR) Multiple imputation Acceptable if properly implemented Pattern-mixture models Encouraged as part of sensitivity analyses Reference-based imputation (CIR, J2R) Inc...

Understanding covariance in MMRM

🔑 1. Within-Subject Covariance (Repeated Measures Covariance) This is the main type of covariance modeled in MMRM. ➤ What it is: The correlation of repeated measurements within the same subject over time. It captures how a subject’s outcome at Week 12, Week 24, Week 48, etc., are related to each other . ➤ How it’s handled: This is modeled using the REPEATED statement in SAS (or nlme::lme in R). You specify a covariance structure , such as: Covariance Structure Description UN (Unstructured) Every timepoint has its own variance; all pairwise covariances are estimated. Very flexible but high parameter count. CS (Compound Symmetry) Constant variance and constant correlation between any two visits. AR(1) Correlation declines as timepoints are further apart (auto-regressive). TOEP (Toeplitz) Fixed correlation pattern depending on lag between visits. VC (Variance Components) No correlation, but separate variances per visit. FA (Factor Analytic) Parsimonious alternati...

How MMRM Handles Missing Data ?

  1. Assumes MAR (Missing At Random) This is a key assumption . MAR means: The probability that data are missing depends only on observed data , not on the unobserved (missing) values. 📌 Example : If patients with worse baseline scores are more likely to drop out, but you include baseline scores as a covariate in your model, then the missingness mechanism is MAR. 2. Uses All Available Data Unlike methods like LOCF (Last Observation Carried Forward), MMRM does not impute missing values directly . Instead: It uses all observed values for each participant It models the mean structure and the covariance structure across visits This allows the model to make informed inferences about the treatment effect at each time point, even if some patients missed visits. 3. Estimation Method: REML or ML MMRM typically uses: REML (Restricted Maximum Likelihood) for unbiased variance component estimation ML (Maximum Likelihood) if comparing nested models These m...

Not Estimable: Why the Median Time-to-Event Is Sometimes Out of Reach ?

 In clinical trials and survival analyses, statements like: “ The median DoR was not estimable with a median duration of follow-up of 26.6 months ,” or “ The median PFS and OS were not estimable ” typically mean that insufficient events (e.g., disease progression, death, or end of response) have occurred at the time of data cutoff to accurately estimate the median using Kaplan-Meier survival analysis . Here’s a breakdown of the reasoning: 🔍 What Does "Not Estimable" Mean? In the context of Kaplan-Meier curves , median is the time at which 50% of patients have experienced the event (e.g., progression, death, end of response). If fewer than 50% of patients have had the event by the data cutoff, then the median cannot be computed because the curve hasn’t dropped to 50%. So the median is “not estimable” (NE) or not reached . 📌 Common Scenarios for NE (Not Estimable): Durable responses or long survival : If a large proportion of patients are st...

A Basket Trial Example: Vemurafenib in BRAF V600 Mutation–Positive Cancers

Image
 Brief Summary: This open-label, multi-center study will assess the efficacy and safety of vemurafenib in participants with BRAF V600 mutation-positive cancers (solid tumors and multiple myeloma, except melanoma and papillary thyroid cancer) and for whom vemurafenib is deemed the best treatment option in the opinion of the investigator. Participants will receive twice daily oral doses of 960 mg vemurafenib until disease progression, unacceptable toxicity, or withdrawal of consent. The safety and efficacy of vemurafenib in combination with cetuximab in a subset of participants with colorectal cancer will also be assessed. Official Title: An Open-label, Phase II Study of Vemurafenib in Patients With BRAF V600 Mutation-positive Cancers How is the study designed ? Allocation  : Non-Randomized Interventional Model  : Parallel Assignment Masking  : None (Open Label) How is the study measuring ? Results Trial M028072 (VE Basket) initiated on April 11, 2012, and completed on...

Introduction to master protocols : basket, umbrella, and platform trials

Image
  Introduction to Master Protocols Master protocols are innovative clinical trial designs that allow for the investigation of multiple hypotheses under a single, overarching protocol. They are designed to improve efficiency, reduce costs, and accelerate the development of new treatments, particularly in the field of oncology. The three main types of master protocols are basket, umbrella, and platform trials. 1. Basket Trials A basket trial evaluates a single targeted drug or drug combination across multiple different types of cancer or diseases. The commonality among the patients in a basket trial is a specific genetic mutation or biomarker that the drug is designed to target, rather than the location of their tumor. Application: This design is highly efficient for testing drugs that target a rare genetic mutation that may appear in different types of cancer. For example, the VE-BASKET study evaluated vemurafenib in patients with various non-melanoma cancers that all shared the BR...

MMRM in SAS: Step-by-Step

 /*-----------------------------*  | 0) Housekeeping (optional)  |  *-----------------------------*/ ods trace on; options nolabel; /*-----------------------------*  | 1) Fit the MMRM             |  *-----------------------------*/ proc mixed data=xxx(where=(0<vsn<=96)) order=data;   class usubjid trtc vsn genotype;   /* Fixed effects */   model chg =         trtc|vsn              /* trtc, vsn, and trtc*vsn */         base*vsn         b_age*vsn         genotype*vsn         / solution ddfm=kr;   /* Repeated measures (UN covariance) */   repeated vsn / subject=usubjid type=un;   /* Precision/analytic weights (e.g., ATT) */   weight _attwgt_;   /* LSMEANS with visit-wise EC – Internal study differences */   lsmeans trtc*vsn / diff cl slice=vsn...