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. 从for循环到机器码

    def p(*x): print(x) p(type(range), dir(range)) r = range(2); i = iter(r) try: p(next(i)); p(next(i)) ...

  2. C/C++ Qt 数据库与SqlTableModel组件应用

    SqlTableModel 组件可以将数据库中的特定字段动态显示在TableView表格组件中,通常设置QSqlTableModel类的变量作为数据模型后就可以显示数据表内容,界面组件中则通过QDat ...

  3. 100个Shell脚本——【脚本2】截取字符串

    [脚本2]截取字符串 一.脚本 现有一个字符串如下: http://www.aaa.com/root/123.htm 请根据以下要求截取出字符串中的字符: 1.取出www.aaa.com/root/1 ...

  4. fastjson过滤多余字段

    /**     * Description:过滤实体中的字段     * @param src 需要过滤的对象,如 list,entity     * @param clazz 实体的class    ...

  5. redis入门到精通系列(二):redis操作的两个实践案例

    在前面一篇博客中我们已经学完了redis的五种数据类型操作,回顾一下,五种操作类型分别为:字符串类型(string).列表类型(list).散列类型(hash).集合类型(set).有序集合类型(so ...

  6. 【HarmonyOS】【xml】初学XML布局作业

    首先要明确,有两种布局方式 线性布局:DirectionalLayout 依赖布局:DependentLayout 好,接下来看一看下面的例子 页面案例1 代码如下: <?xml version ...

  7. ABP.VNext-模块

    一.什么是ABP.Vnext? ABP.Vnext是一个基于Asp.Net Core Web应用程序框架.主要目的是用来快速开发Web应用, ABP.Vnext不仅提供完整Web应用程序开发模板,而且 ...

  8. Reids安全加固

    目录 一.简介 二.加固方案 一.简介 Redis 因配置不当存在未授权访问漏洞,可以被攻击者恶意利用. 在特定条件下,如果Redis以root身份运行,黑客可以给root账号写入SSH公钥文件,直接 ...

  9. 优化器统计跟踪(SYS.EXP_HEAD$ SYS.EXP_OBJ$ SYS.EXP_STAT$不)导致表空间 SYSAUX不断增长

    资料来自support文档 ID 2354960.1 环境: aws rds 19c(亚马逊云oracle 数据库) 背景: 在一次查看数据库表段的占用空间大小的时候,无意间发现其中EXP_开头的表占 ...

  10. DDS协议解读及测试开发实践

    DDS概述 DDS是OMG在2004年发布的中间件协议和应用程序接口(API)标准,它为分布式系统提供了低延迟.高可靠性.可扩展的通信架构标准.DDS目前在工业.医疗.交通.能源.国防领域都有广泛的应 ...