当前位置:网站首页>PSM summary
PSM summary
2022-06-28 02:53:00 【Coco-Lele】
background
When evaluating the experimental effect , In a nonrandom experiment , Correlation is not causality , There are various deviations .
example 1: Conduct a survey , The content of the survey is whether going to the hospital or not will affect personal health , Therefore, questionnaires were sent to all kinds of personnel in the hospital and their health status was obtained , Finally, I found that going to the hospital was bad for my health .
Sample selection bias :sample selection bias
example 2: Evaluate the effectiveness of a pollution control policy , Select the area with basically the same pollution degree at the beginning of the period as the sample , And decide whether to implement the policy according to the wishes of each region ,3 After the year, the pollution index of the places where the policy is implemented is significantly lower than that of the areas where the policy is not implemented , The conclusion is that this policy is effective .
Self selection bias :self-selection bias: Whether the policies implemented by each region have been included in the interference item , Related to explanatory variables , Cause endogenesis
Experimental ATT And ATE
ATT:average treatment effect on the treated
Randomized trials : Find the subject “ Parallel time and space ”

Hard to find in reality “ Parallel time and space ”, Only the difference between the subject and the non subject can be calculated
ATE:average treatment effect

Let the selection deviation be 0 -> Conditional expectation equals expectation ,D And y Independence between -> Control impact D Factors , Whether or not an individual participates in the experiment is “ Random ” Of
D And y Independence between :CIA hypothesis
summary
- It is estimated that ATT The best way is to find the self of the individual participating in the experiment in parallel time and space , And assume that the parallel spacetime self did not participate in the experiment , Finally, the purest ATT, But it is unrealistic to find yourself in parallel time and space ;
- Second best , We can use randomly divided treatment groups and control groups , Make a difference and get ATT, But in reality, the choice of whether an individual participates in the experiment is not random ;
- In order to get a sample of randomized grouping , Find out the factors that affect whether an individual participates in the experiment , Control the equal value of factors between the two groups , Finally, the processed grouped samples are used to make a difference to get ATT.
PSM
The essence : Match individuals with similar probability of participating in the experiment , Make the experiment approximate to a random experiment .
The key : Find the variables that affect individual participation in the experiment .
Existing problems : Variable unobservable ; Variables are observable , But high dimension , Resulting in sparse data -> Use propensity scores , It is equivalent to reducing the dimension of multiple confounding variables to a fraction .
Propensity score calculation
The dependent variable : Whether to accept the experiment D = 1 D=1 D=1
The independent variables : At the same time influence D And y Characteristics of (CIA Suppose it is true )
Model : A dichotomous model
Positive sample 、 Negative sample selection :treatment Whether it is an active choice ?
Predicted by negative samples prediction_score Isn't it because our model is not accurate ?
—— Co support hypothesis
Pairing method
Nearest neighbor matching : Choose the one with the closest score ; It can be divided into with and without return .
PSM And DID
At the moment t Exert influence , Two ways to calculate the effect :
- Affected people t After the performance - Unaffected people t After the performance
- Affected people t after performance - Affected people t front performance
PSM Eliminate the differences between people in the first idea , and DID combination , It is equivalent to introducing the second time dimension , Further match the crowd , The combination of the two is better .
reference
边栏推荐
- [today in history] June 7: kubernetes open source version was released; Worldofwarcraft landed in China; Birth of the inventor of packet switching network
- [today in history] June 24: Netease was established; The first consumer electronics exhibition was held; The first webcast in the world
- [elevator control system] design of elevator control system based on VHDL language and state machine, using state machine
- 【方块编码】基于matlab的图像方块编码仿真
- Character interception triplets of data warehouse: substrb, substr, substring
- 无心剑汉英双语诗004.《剑》
- You got 8K in the 3-year function test, but were overtaken by the new tester. In fact, you are pretending to work hard
- 在线JSON转PlainText工具
- The horizontal scrolling recycleview displays five and a half in one screen, which is lower than the five average distributions
- Win11不能拖拽圖片到任務欄軟件上快速打開怎麼辦
猜你喜欢

Online text batch inversion by line tool

The first place on the list - the carrying rate of front-end equipment is up to 10%, and the top 10 suppliers of digital key solutions

Win11不能拖拽圖片到任務欄軟件上快速打開怎麼辦

【二維碼圖像矯正增强】基於MATLAB的二維碼圖像矯正增强處理仿真
![抓包整理外篇fiddler————了解工具栏[一]](/img/5f/24fd110a73734ba1638f0aad63c787.png)
抓包整理外篇fiddler————了解工具栏[一]

树莓派-环境设置和交叉编译
![Packet capturing and sorting out external Fiddler -- understanding the toolbar [1]](/img/5f/24fd110a73734ba1638f0aad63c787.png)
Packet capturing and sorting out external Fiddler -- understanding the toolbar [1]

Usage differences between isempty and isblank

如何开启多语言文本建议?Win11打开多语言文本建议的方法

Writing based on stm32
随机推荐
LiveData 面试题库、解答---LiveData 面试 7 连问~
Character interception triplets of data warehouse: substrb, substr, substring
What if win11 can't drag an image to the taskbar software to open it quickly
Simple elk configuration to realize production level log collection and query practice
【电梯控制系统】基于VHDL语言和状态机实现的电梯控制系统的设计,使用了状态机
Interview: how do lists duplicate objects according to their attributes?
JDBC and MySQL databases
新手炒股开户选哪家证券平台办理是最好最安全的
【Kotlin】在Android官方文档中对其语法的基本介绍和理解
Writing C program with GCC and makefile for the first time
The horizontal scrolling recycleview displays five and a half in one screen, which is lower than the five average distributions
How does win11 add printers and scanners? Win11 add printer and scanner settings
第一次使用gcc和makefile编写c程序
[today in history] June 20: the father of MP3 was born; Fujitsu was established; Google acquires dropcam
Initial linear regression
Shuttle uses custompaint to paint basic shapes
[today in history] June 15: the first mobile phone virus; AI master simahe was born; Chromebook launch
How to enable multi language text suggestions? Win11 method to open multilingual text suggestions
[today in history] June 17: the creator of the term "hypertext" was born; The birth of Novell's chief scientist; Discovery channel on
You got 8K in the 3-year function test, but were overtaken by the new tester. In fact, you are pretending to work hard