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. 理解ASP.NET Core - 模型绑定&验证(Model Binding and Validation)

    注:本文隶属于<理解ASP.NET Core>系列文章,请查看置顶博客或点击此处查看全文目录 模型绑定 什么是模型绑定?简单说就是将HTTP请求参数绑定到程序方法入参上,该变量可以是简单类 ...

  2. 【Elasticsearch-Java】Java客户端搭建

    Elasticsearch Java高级客户端   1.  概述 Java REST Client 有两种风格: Java Low Level REST Client :用于Elasticsearch ...

  3. Linux基础命令---host域名查询工具

    host host是一个常用的DNS查询工具,经常用来查询域名.检查域名解析是否正确. 此命令的适用范围:RedHat.RHEL.Ubuntu.CentOS.Fedora.   1.语法       ...

  4. OC-ARC,类扩展,block

    总结 标号 主题 内容 一 autorelease autorelease基本概念/自动释放池/autorelease基本使用 二 autorelease注意事项 注意点/应用场景 三 ARC 什么是 ...

  5. spring jdbc 配置数据源连接数据库

    概述 在XML配置数据源,并将数据源注册到JDBC模板 JDBC模板关联业务增删改查 在XML配置数据源 <?xml version="1.0" encoding=" ...

  6. 【Service】【Database】【Oracle】Oracle client 12.1.0.2 for MacOS

    1. 概述:为了在我的macos上搭建python的cx_Oracle开发环境,首先需要配置oracle client 2. 环境与版本: 2.1. OS:Mac OS Sierra 10.12.2 ...

  7. Spring Boot发布war包流程

    1.修改web model的pom.xml <packaging>war</packaging> SpringBoot默认发布的都是jar,因此要修改默认的打包方式jar为wa ...

  8. 【kafka学习笔记】kafka的基本概念

    在了解了背景知识后,我们来整体看一下kafka的基本概念,这里不做深入讲解,只是初步了解一下. kafka的消息架构 注意这里不是设计的架构,只是为了方便理解,脑补的三层架构.从代码的实现来看,kaf ...

  9. [BUUCTF]PWN——bjdctf_2020_babystack2

    bjdctf_2020_babystack2 附件 步骤: 例行检查,64位程序,开启了nx保护 尝试运行一下程序,看看情况 64位ida载入,习惯性的先检索程序里的字符串,发现了bin/sh,双击跟 ...

  10. C语言程序设计:模拟简单运算器的工作

    目录 C语言程序设计:模拟简单运算器的工作 1.题目 2.分析 3.代码实现 4.结尾 C语言程序设计:模拟简单运算器的工作 1.题目 ​ 模拟简单运算器的工作,输入一个算式(没有空格),遇等号&qu ...