Chapter_19
9/17/25About 7 min
Chapter 19: Time-Varying Treatments (《因果推断:What If》第19章 时间变化处理)
This is the summary with all key points, technical details, fine points, and all formulas in Math + bilingual format.
19.1 The Causal Effect of Time-Varying Treatments
Key Ideas
- Most of the book so far has considered static (time-fixed) treatments: set at and outcome measured at a later time.
- Time-varying treatments () can change at each time ().
- E.g., monthly ART (抗逆转录病毒治疗) therapy in HIV.
- The treatment history is denoted .
- For fixed treatments, average causal effect (ACE) is:
- For time-varying treatments, the ACE is no longer uniquely defined as interventions are a vector/sequence.
中文
- 之前讨论的均为时间固定处理(在设定,在未来测量)。
- 时间变化处理()可以在每个时间点发生变化()。
- 例如,HIV患者的每月抗病毒治疗。
- 处理历史记为 。
- 固定处理的平均因果效应(ACE):。
- 时间变化处理的ACE不再唯一定义,因为干预是一个序列。
19.2 Treatment Strategies 策略
Definitions & Main Points
- Treatment strategy (also: plan, policy, protocol, regime): rule assigning treatment at each time .
- Examples:
- "Always treat" ⇒
- "Never treat" ⇒
- ACE for strategies: contrast mean outcomes under two strategies:
- Static strategy: treatment does not depend on time-varying covariates.
- Dynamic strategy: treatment at time depends on the evolving covariate history (e.g. "Treat if CD4 drops below threshold").
Fine Point 19.1: Deterministic & Random Strategies
- Deterministic dynamic strategy:
- Static deterministic strategy: depends only on past treatments.
- Random strategy: assigns a probability of treatment at each time (static or dynamic).
- Optimal strategy: maximizes ; usually dynamic for drug interventions.
中文
- 处理策略:给每个时间点分配处理的规则。
- 举例:
- 始终治疗:
- 从不治疗:
- 策略的平均因果效应:
- 静态策略:处理与协变量无关。
- 动态策略:处理取决于随时间变化的协变量,如CD4计数。
19.3 Sequentially Randomized Experiments (SRE) 顺序随机实验
Main Points
- SRE: At each time , treatment is randomly assigned, possibly depending on observed history only ().
- Causal diagrams:
- No arrows from or to —ideal randomization.
- Only from measured covariates—randomization conditional on observed history.
- Arrows from both measured and unmeasured—unmeasured confounding (typical in observational studies).
- Sequential randomization eliminates time-varying confounding by unmeasured variables.
中文
- 顺序随机实验(SRE):每个时间点,在观测历史下随机分配。
- 三种因果图:
- 没有从或到的箭头——理想随机化。
- 只有测量协变量——观测历史条件下的随机化。
- 有未测量协变量——有未测量混杂的观察性研究。
- 顺序随机分配消除了未测变量带来的时间变化混杂。
19.4 Sequential Exchangeability 顺序可交换性
Main Points
- Exchangeability (time-fixed):
- Sequential conditional exchangeability (SCE): At each time, treatment is as if randomized given past (, ).
- Two time points:
- General (for all and strategies ):
- Two time points:
- Holds in SRE and some observational studies if treatment depends only on measured history.
Identification:
- If SCE holds, means is identified (using g-formula) for all (static/dynamic) .
- Sequential positivity and consistency are also required (see below).
中文
- 可交换性(固定处理):
- 顺序条件可交换性:每个时间点,处理在既往历史下如同随机。
- 两时间点举例:
- 一般化:
- 两时间点举例:
- SRE和某些观察数据在满足条件下成立。
- 只要顺序可交换性成立,就能识别所有(静态和动态)策略的。
19.5 Positivity and Consistency for Time-varying Treatments
Technical Point 19.2:
Positivity
- Fixed:
- Sequential: If , then
for all
Consistency
- Fixed: If for an individual, for that person.
- Sequential:
- For dynamic strategies, if at each , for an individual, then .
中文
- 可积极性(positivity):保证每个处理历史下各处理分配概率均大于零。
- 一致性(consistency):个体遵循所关注策略时,其反事实结果与观测结果一致。
19.6 Identifiability under Some but Not All Treatment Strategies
Key Technical Detail: SWIGs and Sequential Exchangeability
- SWIG (Single World Intervention Graph): Used to directly check for sequential exchangeability and identification by d-separation.
- Static Sequential Exchangeability:
Sufficient for static strategies.
- Dynamic strategies identification requires stronger exchangeability. Not always possible if unmeasured common causes (e.g., "W") exist between and (see diagrams).
- Fine Point: Even if is not a cause of , adjusting for may still be needed to block backdoor paths.
中文
- SWIG图:可视化确认交换性与可识别性的重要工具。
- 静态顺序可交换性:只对静态策略成立。
- 动态策略 需更强的可交换性条件,若有未测共同原因则不能识别。
19.7 Time-varying Confounding and Time-varying Confounders
Definitions & Main Points
Time-varying confounders (): variables that:
- Affect subsequent treatment and outcome (possibly via unmeasured ).
- Change over time.
Need to adjust for at each to block backdoor path .
Definition (Fine Point 19.3):
- There is confounding for if
- If
then confounding is time-fixed; otherwise mixing (time-varying) confounding is present.
- There is confounding for if
Unmeasured confounding: Any violation of identifiability conditions or unmeasured common causes (e.g. ).
Time-varying confounders (also called time-dependent confounders): must be measured and adjusted via appropriate methods (see g-methods in next chapters).
中文
- 时间变化混杂变量():影响未来处理及结局,并且随时间变化。
- 每个时间点需调整以阻断反门路径。
- 定义(细节19.3):
- 若 ,则存在混杂。
- 若 ,则只有时间固定混杂。
- 未测混杂:可识别性条件被破坏或存在未测共同原因。
Summary Table of Technical/Fine Points and Core Formulas
| Concept | Formula (English) | 公式 (中文) |
|---|---|---|
| ACE (fixed treatment) | ||
| ACE (time-varying) | 时间序列两组策略的均值差 | |
| Sequential Exchangeability | $Y^g \perp!!!\perp A_k \mid \overline{k-1}=g(\overline{A},\overline{L}_{k-1}),\overline{L}_k $ | 顺序条件可交换性 |
| Positivity (seq.) | $f_{\overline{A}_{k-1},\overlinek}(\overline{a},\overline{l}k)\neq 0 \implies f{A_k | \overline{A}_{k-1},\overline{L}_k}(a_k |
| Consistency (seq.) | if | 一致性 |
| Time-varying confounding | $E[Y^{\overline{a}}] \neq E[Y | A = \overline{a}]$ |
| Static Seq. Exchangeability | $Y^{\overline{a}} \perp!!!\perp A_k | \overline{k-1}=\overline{a},\overline{L}_k $ |
In summary...(总结)
- 核心思想:时间变化处理和动态策略背景下的因果推断需明确定义策略,关注顺序可交换性、可积极性和一致性。
- 模型识别:是否能用观测数据识别因果效应,取决于所考虑策略、变量测量完整性与混杂结构。
- 时间变化混杂变量的调整必须使用g-methods(第21章详述)而非普通回归调整。
The next chapter explains how to actually estimate these causal effects (g-methods).