Hern\(\'{a}\)n M. and Robins J. Causal Inference: What If.

4.1 Definition of effect modification

什么是 effect modification, 即causal effect在不同因素\(V\)下不同, 即

\[\mathbb{E} [Y^{a=1} - Y^{a=0}|V=1]
\not =
\mathbb{E} [Y^{a=1} - Y^{a=0}|V=0],
\]

或者

\[\frac{
\mathbb{E} [Y^{a=1}|V=1]
}{
\mathbb{E} [Y^{a=0}|V=1]
}
\not =
\frac{
\mathbb{E} [Y^{a=1}|V=0]
}{
\mathbb{E} [Y^{a=0}|V=0]
}.
\]

也就是说\(V\)这个因素会影响causal effect, 或许变好或许变差.

另外需要一提的是, additive effective modification 或许和 multiplicative effect modification 有偏差.

有可能前者显示\(V\)是一个effect modifier, 但是后者显示它不是.

所以一个因素是否是effect modifier还得依赖你所选的衡量指标.

4.2 Stratification to identify effect modification

\[\mathrm{Pr} [Y^{a=1}=1|V=1] - \mathrm{Pr} [Y^{a=0}=1|V=1], \\
\mathrm{Pr} [Y=1|A=1,V=1] - \mathrm{Pr} [Y=1|A=0,V=1], \\
\]

4.3 Why care about effect modification

可迁移性

4.4 Stratification as a form of adjustment

通过\(V\)将整个数据集分成子集, 并对每个子集计算相应的casual effect.

当然, 在此过程中我们往往也是需要条件可交换性的.

4.5 Matching as another form of adjustment

通过随机选择, 使得在不同子集中, 所关心元素的数量是一致的.

比如根据\(A\)划分treated 和 untreated, 通过随机选择使得\(L=l\)在两个子集中的数目是一样的.

此时,

\[\begin{array}{ll}
\mathrm{Pr}[Y^{a=1}]
& = \sum_l \mathrm{Pr} [Y^{a=1}|L=l] \mathrm{Pr}[L=l] \\
& = p \sum_l \mathrm{Pr} [Y|A=1,L=l] \\
& = \frac{1}{\mathrm{Pr}[A=1]} \sum_l \mathrm{Pr} [Y,A=1,L=l] \\
& = \mathrm{Pr} [Y|A=1]
\end{array}
\]

此时, 计算causal effect只需考虑\(\mathrm{Pr}[Y|A=a]\)即可.

4.6 Effect modification and adjustment methods

Standard, IP weighting, stratification, matching这几个方法的比较.

Fine Point

Effect in the treated

\[\mathrm{Pr} [Y=1|A=1]
\not =
\mathrm{Pr} [Y^{a=0}=1|A=1].
\]

Transportability

Collapsibility and the odds ratio

Technical Point

Computing the effect in the treated

计算\(\mathbb{E}[Y^a|A=a']\)只需要部分可交换性\(Y^a \amalg A|L\)即可.

Standard:

\[\sum_l \mathbb{E} [Y|A=a,L=l] \mathrm{Pr}[L=l|A=a'].
\]

IP weighting:

\[\frac{
\mathbb{E}[
\frac{I(A=a)Y}{f(A|L)}
\mathrm{Pr}[A=a'|L]
]
}
{
\mathbb{E}[
\frac{I(A=a)}{f(A|L)}
\mathrm{Pr}[A=a'|L]
]
}.
\]

注: 分母实际上是\(\mathrm{Pr}[A=a']\).

Pooling of stratum-specific effect measures

Relation between marginal and conditional risk ratios

\[\mathrm{Pr} [Y^{a=1}=1]
/
\mathrm{Pr} [Y^{a=0}=0] =
\sum_l
\frac{
\mathrm{Pr} [Y^{a=1}=1| L=l]
}
{
\mathrm{Pj} [Y^{a=0}=1|L=l]
}
w(l).
\]

其中,

\[w(l)
=
\frac{
\mathrm{Pr} [Y^{a=0}=1, L=l]
}
{
\mathrm{Pr} [Y^{a=0}=1]
}, \quad
\sum_l w(l)=1.
\]

Chapter 4 Effect Modification的更多相关文章

  1. Chapter 15 Outcome Regression and Propensity Scores

    目录 15.1 Outcome regression 15.2 Propensity scores 15.3 Propensity stratification and standardization ...

  2. Chapter 12 IP Weighting and Marginal Structural Model

    目录 12.1 The causal question 12.2 Estimating IP weights via modeling 12.3 Stabilized IP weights 12.4 ...

  3. Chapter 6 Graphical Representation of Causal Effects

    目录 6.1 Causal diagrams 6.2 Causal diagrams and marginal independence 6.3 Causal diagrams and conditi ...

  4. 《SQL Server 2012 T-SQL基础》读书笔记 - 8.数据修改

    Chapter 8 Data Modification SQL Server 2008开始,支持一个语句中插入多行: INSERT INTO dbo.Orders (orderid, orderdat ...

  5. DML_The OUTPUT Clause

    DML_The OUTPUT Clause /**/ ------------------------------------------------------------------------- ...

  6. Chapter Data Modification & Chapter Data Validation

    Chapter Data Modification XF的数据提交,支持单行.集合和多层次的master-details结构的数据. Create 当提交如下数据 <Job> <Id ...

  7. Chapter 6 - How to Play Music and Sound Effect

    In this chapter, we would add background music to the game and play sound effect when the hero fires ...

  8. thinkphp5中Indirect modification of overloaded element of XXX has no effect的解决办法

    最近在使用Thinkphp5做foreach循环嵌套的时候报错:Indirect modification of overloaded element of XXX has no effect,网上搜 ...

  9. Chapter 1 A Definition of Causal Effect

    目录 1.1 Individual casual effects 1.2 Average casual effects 1.5 Causation versus association Hern\(\ ...

随机推荐

  1. 学习java 7.3

    学习内容:定义类不需要加static 成员方法在多个对象时是可以共用的,而成员变量不可以共用,多个对象指向一个内存时,改变变量的值,对象所在的类中的变量都会改变 成员变量前加private,成员方法前 ...

  2. 【讨论】APP的免填邀请码解决方案

    00x0 具体需求 app中已注册的用户分享一个含有邀请码的二维码,分享到朋友圈新用户在朋友圈打开这个这个链接下载app.新用户安装后打开app后就自动绑定邀请码要求用户不填写任何东西 朋友老板出差给 ...

  3. Git上项目代码拉到本地方法

    1.先在本地打开workspace文件夹,或者自定义的文件夹,用来保存项目代码的地方. 2.然后登陆GitHub账号,点击复制项目路径 3.在刚才文件夹下空白处点击鼠标右键,打开Git窗口 4.在以下 ...

  4. Virtual Destructor

    Deleting a derived class object using a pointer to a base class that has a non-virtual destructor re ...

  5. 【编程思想】【设计模式】【其他模式】graph_search

    Python版 https://github.com/faif/python-patterns/blob/master/other/graph_search.py #!/usr/bin/env pyt ...

  6. redis入门到精通系列(九):redis哨兵模式详解

    (一)哨兵概述 前面我们讲了redis的主从复制,为了实现高可用,会选择一台服务器作为master,多台服务器作为slave.现在有这样一种情况,master宕机了,这时系统会选择一台slave作为m ...

  7. 最基础前端路由实现,事件popstate使用

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...

  8. Synchronized和Lock接口

    关于synchronized字段,不管该关键字是修饰方法还是修饰同步代码块,synchronzed拿到的都是对象. 当synchronized修饰的是方法时,synchronized所拿到的是调用该方 ...

  9. RocketMQ架构原理解析(三):消息索引

    一.概述 "索引"一种数据结构,帮助我们快速定位.查询数据 前文我们梳理了消息在Commit Log文件的存储过程,讨论了消息的落盘策略,然而仅仅通过Commit Log存储消息是 ...

  10. Log4j 被曝核弹级漏洞,开发者炸锅了!

    大家好,我是鱼皮,开门见山,知名的开源项目 Apache Log4j 出事了! 2021 年 12 月 9 日,该项目被曝存在 严重安全漏洞 ,攻击者只需要向目标机传入一段特殊代码,就能触发漏洞,自由 ...