Skip to content
PaperFren

Research method

Mixed-Effects Model

A mixed-effects (multilevel) model includes fixed effects for the contrasts of interest and random effects for clustering or repeated measures — the same person at 6 and 12 weeks, the same household, the same activity-trial participant's weekly wear. Longitudinal trials often pair mixed models with intention-to-treat so that incomplete follow-up still contributes. A significant time slope or intervention×time term is a modelled average trajectory, not proof that a missing control group would have been flat.

mHealth papers reach for mixed models when PHQ-9, WEMWBS, MVPA or HbA1c is measured more than once and people drop in and out. It answers 'after accounting for within-person correlation, did assignment or time shift the outcome?' Its main limitation is that the random-effects structure does not create a control arm, does not fix 73.5% versus 26.9% attrition, and does not turn a 42-person Fitbit subsample into a confirmatory trial.

Evidence

What the evidence shows

Drawn from 8 studies in this library. Each finding starts with a plain-language takeaway, then the denser detail. Supports means evidence for a finding; Challenges means evidence against a stated position; Qualifies marks scope with a short note on each study’s contribution. Challenged positions are labeled — they are not findings.

  • MoodGYM's primary analysis was an ITT mixed model of WEMWBS at baseline, 6 and 12 weeks in 3,070 randomised NHS Choices users. The intervention×time interaction was highly significant: adjusted differences favoured the programme by about 2.5 points at 6 weeks and 2.9 at 12 weeks (≈Cohen d 0.34). Attrition was 73.5% in the intervention arm versus 26.9% in wait-list control — a missing-data threat the mixed model does not erase.

    1 study
    1. 1MoodGYM improves population wellbeing
  • Repeated-measures RCTs in this set move behaviour or symptoms while the stimulus is on. A 50-day Facebook walking programme increased walking by about 155 min/week (P < .001) with 87.3% retention, but between-group advantages were gone three months after the app ended. Adjunctive Kokoro-app CBT produced about a 2.5-point PHQ-9 advantage at week 9 (SMD 0.40) among 164 randomised participants, without a significant remission difference.

    2 studies
    1. 1Facebook team walking RCT
    2. 2Can a CBT phone app help stubborn depression?

    Study comparison

    StudyRoleDesignNPopulationOutcome
    Facebook team walking RCT2015SupportsRCT50-day Facebook app + pedometer vs wait-list; teams of friendsN=110 · 51 intervention, 59 controlInsufficiently active adults organized in Facebook friend teamsSelf-reported MVPA/walking at 8 and 20 weeks
    Can a CBT phone app help stubborn depression?2017SupportsRCTKokoro-app smartphone CBT plus antidepressant switch vs medication change aloneN=164 · ITT; primary outcome at week 9 in 163/164 (99.4%)Adults in Japan with antidepressant-refractory major depressionPHQ-9 at week 9
  • Glucose Buddy plus weekly educator texts in 72 adults with type 1 diabetes produced a significant HbA1c decrease versus usual care to 9 months; usage frequency did not clearly mediate that change. A mixed model can separate average glycaemic change from a usage mediator and still leave open whether the app would work without the texts.

    1 study
    1. 1Glucose Buddy app associated with improved type 1 HbA1c in a trial
  • Single-arm and exploratory mixed-model papers describe trajectories without a randomised comparator. Among 105 IntelliCare users enrolled at PHQ-9 ≥10 and/or GAD-7 ≥8, paired outcomes improved and 37% reached PHQ-9 <5 and 42% GAD-7 <5 by end of treatment. Among 42 cancer survivors in a Fitbit subsample, mean wear was 6.2 of 7 days weekly and intervention MVPA rose from 93.8 to 195.3 min/week — use patterns, not a Fitbit-only causal test.

    2 studies
    1. 1IntelliCare app suite field trial
    2. 2Fitbit wear during an activity trial

    Study comparison

    StudyRoleDesignNPopulationOutcome
    IntelliCare app suite field trial2017SupportsHuman experimentSingle-arm 8-week field trial of IntelliCare Android suite with low-intensity coachingN=105 · PHQ-9 ≥10 and/or GAD-7 ≥8 at enrollmentAdults with elevated depression and/or anxiety symptomsPHQ-9 and GAD-7 change over 8 weeks
    Fitbit wear during an activity trial2018SupportsOtherSecondary analysis of the exercise arm of a 12-week physical-activity RCTN=42 · 42 of 43 exercise-arm completers (parent RCT randomized 87)Female breast cancer survivors in a physical-activity interventionFitbit wear adherence and ActiGraph MVPA over 12 weeks
  • Not every mixed-effects paper is an mHealth outcome trial. A British Columbia COVID-19 vaccine-intention survey found 79.8% somewhat or very likely to vaccinate; respondents skewed female, white and highly educated, with mean age about 52. Household clustering can justify random effects, but intention is not uptake and the sample is not a random draw of the province.

    1 study
    1. 1COVID-19 vaccine intention in BC

Open questions

Tensions and limits

Some items are genuine disagreements on the same question. Others mark different assays, populations, or outcomes — limits on how far one study travels — not a forced fight between papers.

  • Scope / different questions

    A mixed model with a randomised control (MoodGYM, Kokoro-app, Facebook walking, Glucose Buddy) answers a different question from a mixed model of change inside one arm (IntelliCare field trial, Fitbit wear). Significant PHQ-9/GAD-7 improvement to 37%/42% below 5, or MVPA doubling from 93.8 to 195.3 min/week, can be expectancy, concurrent care, or the surrounding activity trial. Those papers do not licence the same causal sentence as a 2.5-point randomised PHQ-9 gap.

    4 studies
    1. 1MoodGYM improves population wellbeing
    2. 2Can a CBT phone app help stubborn depression?
    3. 3IntelliCare app suite field trial
    4. 4Fitbit wear during an activity trial

    Study comparison

    StudyRoleDesignNPopulationOutcome
    MoodGYM improves population wellbeing2012SupportsRCTFully automated MoodGYM vs waiting-list; ITT mixed modelsN=3070 · Randomized NHS Choices users; high differential attritionNHS Choices website users randomized to MoodGYM or wait-listWEMWBS well-being at 6 and 12 weeks
    Can a CBT phone app help stubborn depression?2017SupportsRCTKokoro-app smartphone CBT plus antidepressant switch vs medication change aloneN=164 · ITT; primary outcome at week 9 in 163/164 (99.4%)Adults in Japan with antidepressant-refractory major depressionPHQ-9 at week 9
    IntelliCare app suite field trial2017SupportsHuman experimentSingle-arm 8-week field trial of IntelliCare Android suite with low-intensity coachingN=105 · PHQ-9 ≥10 and/or GAD-7 ≥8 at enrollmentAdults with elevated depression and/or anxiety symptomsPHQ-9 and GAD-7 change over 8 weeks
    Fitbit wear during an activity trial2018SupportsOtherSecondary analysis of the exercise arm of a 12-week physical-activity RCTN=42 · 42 of 43 exercise-arm completers (parent RCT randomized 87)Female breast cancer survivors in a physical-activity interventionFitbit wear adherence and ActiGraph MVPA over 12 weeks
  • Scope / different questions

    Durability and missingness pull in opposite directions across trials that share the modelling family. Facebook walking's 155 min/week advantage vanished after the stimulus ended despite 87.3% retention; MoodGYM's WEMWBS advantage persisted to 12 weeks on paper while 73.5% of the intervention arm had left. A student who treats 'mixed-model p < .05' as one finding will miss both limits.

    2 studies
    1. 1Facebook team walking RCT
    2. 2MoodGYM improves population wellbeing

    Study comparison

    StudyRoleDesignNPopulationOutcome
    Facebook team walking RCT2015SupportsRCT50-day Facebook app + pedometer vs wait-list; teams of friendsN=110 · 51 intervention, 59 controlInsufficiently active adults organized in Facebook friend teamsSelf-reported MVPA/walking at 8 and 20 weeks
    MoodGYM improves population wellbeing2012SupportsRCTFully automated MoodGYM vs waiting-list; ITT mixed modelsN=3070 · Randomized NHS Choices users; high differential attritionNHS Choices website users randomized to MoodGYM or wait-listWEMWBS well-being at 6 and 12 weeks

Common misconceptions

  • An ITT mixed model solves large, unequal dropout.

    It uses the incomplete records it has. MoodGYM still compared arms with 73.5% versus 26.9% attrition. If people who leave differ in well-being, the intervention×time term can be biased even though the analysis is labelled ITT.

    1. 1MoodGYM improves population wellbeing
  • If PHQ-9 falls significantly over 8 weeks in a mixed model, the app caused the improvement.

    IntelliCare's field trial had no control group, so expectancy and concurrent care remain explanations for 37% reaching PHQ-9 <5. Kokoro-app's 2.5-point gap is the randomised mixed/ITT contrast in this set.

    1. 1IntelliCare app suite field trial
    2. 2Can a CBT phone app help stubborn depression?
  • Random effects mean the study was a cluster-randomised trial.

    Random effects can capture repeated measures in an individually randomised app trial, wear days in a 42-person subsample, or household clustering in a vaccine-intention survey (79.8% likely). Cluster randomisation is a design choice, not a synonym for mixed models.

    1. 1Fitbit wear during an activity trial
    2. 2COVID-19 vaccine intention in BC

Exam-style questions

Short-answer questions that ask you to explain or compare, not recall.

MoodGYM reports an intervention×time term and WEMWBS advantages of about 2.5 and 2.9 points. What does the mixed model add, and what do the attrition figures still threaten?

The mixed model uses repeated WEMWBS measures (baseline, 6, 12 weeks) and within-person correlation so incomplete follow-up still contributes to an ITT estimate among 3,070 randomised users. Attrition of 73.5% versus 26.9% can still bias that estimate if dropout relates to well-being; wait-list controls may also inflate benefit.

Compare IntelliCare's 37% PHQ-9 <5 rate with Kokoro-app's 2.5-point randomised PHQ-9 difference. Which design supports a causal app effect, and why?

Kokoro-app randomised 164 participants to add smartphone CBT versus medication change alone, so the 2.5-point (SMD 0.40) contrast is a treatment effect on the assigned population (remission still NS). IntelliCare enrolled 105 symptomatic adults in a single arm; 37% below 5 can reflect time, coaching, concurrent care or expectancy.

The Facebook walking trial increased walking by about 155 min/week during the programme. How should a mixed-model 'success' be time-stamped?

During the 50-day stimulus, with 87.3% retention. Between-group advantages were not maintained 3 months after the app ended, so the modelled benefit is time-limited, not a self-sustaining habit.

Glucose Buddy improved HbA1c versus usual care, but usage frequency did not clearly mediate the change. What should a student conclude about 'engagement' as a mixed-model mediator?

In 72 adults followed to 9 months, the app-plus-text package moved HbA1c without a clear usage-frequency pathway. More taps are not automatically the mechanism, and the trial does not show the app would work without educator texts.

The studies

8 studies in this library bear on Mixed-Effects Model, ordered by citations.

  • Glucose Buddy app associated with improved type 1 HbA1c in a trial

    Adults with poorly controlled type 1 diabetes using Glucose Buddy plus weekly educator texts lowered HbA1c versus usual care.

    Journal of medical Internet research · 2013 · 225 citations

  • IntelliCare app suite field trial

    Eight weeks of IntelliCare apps plus light coaching produced large pre–post drops in depression and anxiety symptoms.

    Journal of medical Internet research · 2017 · 171 citations

  • MoodGYM improves population wellbeing

    In a large UK web RCT, automated MoodGYM raised mental well-being versus wait-list control despite high intervention attrition.

    Journal of medical Internet research · 2012 · 113 citations

  • Can a CBT phone app help stubborn depression?

    Adding a smartphone CBT program to a medication switch improved depressive symptoms more than switching antidepressants alone.

    Journal of medical Internet research · 2017 · 106 citations

  • Facebook team walking RCT

    A 50-day team social-network pedometer program boosted walking/MVPA during the intervention, but gains were not maintained 3 months later.

    Journal of medical Internet research · 2015 · 96 citations

  • COVID-19 vaccine intention in BC

    About 80% of surveyed British Columbians said they were somewhat or very likely to take a recommended COVID-19 vaccine.

    BMC public health · 2021 · 93 citations

  • Fitbit wear during an activity trial

    Survivors wore Fitbits most days and roughly doubled ActiGraph MVPA over 12 weeks in the intervention arm.

    JMIR mHealth and uHealth · 2018 · 85 citations

  • iCBT for depression in diabetes

    Unmodified clinician-supported iCBT beat treatment-as-usual on depression, anxiety, distress, and diabetes-specific distress in adults with diabetes.

    Journal of medical Internet research · 2017 · 79 citations

Learn alongside