Chapter 4 Effect Modification
4.1 Definition of effect modification
什么是 effect modification, 即causal effect在不同因素\(V\)下不同, 即
\not =
\mathbb{E} [Y^{a=1} - Y^{a=0}|V=0],
\]
或者
\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=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\)在两个子集中的数目是一样的.
此时,
\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
\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:
\]
IP weighting:
\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=0}=0] =
\sum_l
\frac{
\mathrm{Pr} [Y^{a=1}=1| L=l]
}
{
\mathrm{Pj} [Y^{a=0}=1|L=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的更多相关文章
- Chapter 15 Outcome Regression and Propensity Scores
目录 15.1 Outcome regression 15.2 Propensity scores 15.3 Propensity stratification and standardization ...
- 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 ...
- Chapter 6 Graphical Representation of Causal Effects
目录 6.1 Causal diagrams 6.2 Causal diagrams and marginal independence 6.3 Causal diagrams and conditi ...
- 《SQL Server 2012 T-SQL基础》读书笔记 - 8.数据修改
Chapter 8 Data Modification SQL Server 2008开始,支持一个语句中插入多行: INSERT INTO dbo.Orders (orderid, orderdat ...
- DML_The OUTPUT Clause
DML_The OUTPUT Clause /**/ ------------------------------------------------------------------------- ...
- Chapter Data Modification & Chapter Data Validation
Chapter Data Modification XF的数据提交,支持单行.集合和多层次的master-details结构的数据. Create 当提交如下数据 <Job> <Id ...
- 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 ...
- thinkphp5中Indirect modification of overloaded element of XXX has no effect的解决办法
最近在使用Thinkphp5做foreach循环嵌套的时候报错:Indirect modification of overloaded element of XXX has no effect,网上搜 ...
- Chapter 1 A Definition of Causal Effect
目录 1.1 Individual casual effects 1.2 Average casual effects 1.5 Causation versus association Hern\(\ ...
随机推荐
- ache
ache和pain可能没啥差别,头疼和头好痛都对.从词典来看,有backache, bellyache, earache, headache, heartache, moustache/mustach ...
- C++类的定义,成员函数的定义,对象的创建与使用
类是一个模板,可用类生成一系列可用的实例.例如 int B就是生成了一个符合int的数据B,类也是一样,使用类名就可以直接生成一个实例, 该实例中包含类中所有的数据类型和对这些数据的操作方法. 首先, ...
- Linux学习 - 变量测试与内容替换
变量置换方式 变量y没有设置 变量y为空 变量y有值 x=${y-新值} x=新值 x空 x=$y x=${y:-新值} x=新值 x=新值 x=$y x=${y+新值} x空 x=新值 x=新值 x ...
- redis入门到精通系列(二):redis操作的两个实践案例
在前面一篇博客中我们已经学完了redis的五种数据类型操作,回顾一下,五种操作类型分别为:字符串类型(string).列表类型(list).散列类型(hash).集合类型(set).有序集合类型(so ...
- clickhouse客户端使用
测试初始化 clickhouse-client -m create database if not exists test; use test; drop table test; create tab ...
- 【编程思想】【设计模式】【行为模式Behavioral】中介者模式Mediator
Python版 https://github.com/faif/python-patterns/blob/master/behavioral/mediator.py #!/usr/bin/env py ...
- awk统计命令(求和、求平均、求最大值、求最小值)
本节内容:awk统计命令 1.求和 cat data|awk '{sum+=$1} END {print "Sum = ", sum}' 2.求平均 cat data|awk '{ ...
- Charles 手机抓包
Charles 手机抓包 请求抓包对于程序员调试代码必不可少,Charles是一个用与抓包的好工具(也可以使用Fiddler),Charles抓包是通过中间人代理实现,在客户端和服务端通信时,Char ...
- 🔥🔥🔥Flutter 字节跳动穿山甲广告插件发布 - FlutterAds
前言 Flutter 已成为目前最流行的跨平台框架之一,在近期的几个大版本的发布中都提到了 Flutter 版本 Google 广告插件 [google_mobile_ads] .对于"出海 ...
- Python模块和函数
目录 一.基础 二.特殊函数 一.基础 #导入模块 import xxx #调用 xxx.dd() from xxx import xx as dd #导入某个函数,as给函数加别名,调用xx() ...