Micro-Randomized Trial Analysis (Weighted and Centered Least Squares)
A micro-randomised trial randomises each participant many times, for example whether to send a phone prompt at each decision point. Weighted and centred least squares estimates the causal excursion effect: how much sending the intervention now changes the next outcome, on average or depending on a moderator.
한 참여자를 여러 결정 시점마다 반복 무작위 배정하는 미세 무작위 임상시험에서, 가중 중심화 최소제곱으로 지금 개입을 주는 것이 직후 결과를 얼마나 바꾸는지(인과적 이탈 효과)를 추정하는 방법입니다.
Does delivering a push notification at a decision point raise the outcome measured shortly afterwards, and does the effect depend on context such as time of day or recent activity?
모바일 알림을 보낸 시점 직후의 활동량이 알림을 보내지 않았을 때보다 늘어날까요?
The proximal outcome is regressed on control covariates and on the treatment indicator centred at a reference probability, multiplied by the chosen moderators. Rows are weighted by the ratio of the reference to the actual randomisation probability, unavailable decision points are left out, and standard errors are clustered by participant with a small-sample correction.
When to use Micro-Randomized Trial Analysis (Weighted and Centered Least Squares)
- Data come from a micro-randomised trial with known randomisation probabilities at every decision point.
- Interest is in the proximal effect of an intervention component, marginally or moderated by time-varying context.
- Availability for treatment is recorded at each decision point.
When to use something else
- Treatment was not randomised at each decision point: use Generalized Estimating Equations (GEE)
- Participants were randomised once to a fixed arm and measured repeatedly: use Mixed Model for Repeated Measures (MMRM)
Assumptions and requirements
- Randomisation probabilities are known and between 0 and 1
- The proximal outcome is measured after the decision point and before the next
- Participants are independent of each other
What the analysis reports
- Causal excursion effect with confidence interval and t-test
- Moderation coefficients and a joint F test
- Uncorrected and small-sample-corrected standard errors
How to report it
Across [value] participants and [value] available decision points, delivering the prompt changed the proximal outcome by [value] (95% CI [value] to [value]), t([value]) = [value], p = [value].
Related methods
- Generalized Estimating Equations (GEE)
- Dynamic Treatment Regimes (Q-Learning and A-Learning)
- SMART Design Analysis (Embedded Dynamic Treatment Regimes)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-6).
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 Micro-Randomized Trial Analysis (Weighted and Centered Least Squares) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a treatment indicator, a unit (entity) ID and a time variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.