当前位置:网站首页>Guidelines and principles of did
Guidelines and principles of did
2022-07-01 08:35:00 【Cochlear notes】
DID First, the parallel trend test must be satisfied , If not satisfied , Use triple DID test .
Why should we test it ?
Upper figure :
If you don't check , It means that the early development characteristics are different , Two individuals can't play together , How can we compare differences ?
D1 After the policy ,D2 Before the policy .
The video screenshot comes from :
https://www.bilibili.com/video/BV1Ut4y1z7YE?share_source=copy_web
Ha ha ha ha ha ha , How to do DID Parallel trend test ?
That's true
Put the link :
https://www.jianshu.com/p/fb88cdfdf9f7
A lot of links , In fact, it's quite simple , Is to take the dummy variable of the year for regression , If the dummy variable of the year before the policy occurs is not significant , The dummy variable of the year after the policy occurred is significant , That means , In accordance with the parallel trend test .
Understand the basic principle .python You can run 
Screenshot Links :
https://www.jianshu.com/p/fb88cdfdf9f7
The original said :
And, of course, there's graphical representation . Not for the time being .
Next, let's have a look DID How to do , Very simple! .
DID How to do
https://www.bilibili.com/video/BV1Ho4y1d7za?share_source=copy_web
The above link is clear , But don't look at the trouble , Actually , No matter how long or did Variable , Just set the local policy dummy variable to 1 That's all right. .

picture source :
https://www.bilibili.com/video/BV1Ho4y1d7za?share_source=copy_web
Then analysis DID It's all right
边栏推荐
- Thread safety analysis of [concurrent programming JUC] variables
- To prevent "activation" photos from being muddled through, databao "live detection + face recognition" makes face brushing safer
- 3、Modbus通讯协议详解
- 栈实现计算器
- factory type_id::create过程解析
- Provincial selection + noi Part II string
- 一文纵览主流 NFT 市场平台版税、服务费设计
- What is the material of 16MnDR, the minimum service temperature of 16MnDR, and the chemical composition of 16MnDR
- Leetcode t39: combined sum
- Field agricultural irrigation system
猜你喜欢
随机推荐
Luogu p1088 [noip2004 popularization group] Martians
Provincial election + noi Part III tree problems
[untitled]
如何招到适合自己店铺的淘宝主播
P4 installation bmv2 detailed tutorial
MySQL8.0学习记录17 -Create Table
SPL-安装与基本使用(二)
C语言指针的进阶(下)
factory type_id::create过程解析
[detailed explanation of Huawei machine test] judgment string subsequence [2022 Q1 Q2 | 200 points]
Leetcode T39: 组合总和
Suivi des cibles de manoeuvre - - mise en oeuvre du modèle statistique actuel (modèle CS) filtre Kalman étendu / filtre Kalman sans trace par MATLAB
Yolov5 advanced six target tracking environment construction
Using settoolkit to forge sites to steal user information
Conception et mise en service du processeur - chapitre 4 tâches pratiques
Li Kou 1358 -- number of substrings containing all three characters (double pointer)
电脑小技巧
The era of low threshold programmers is gone forever behind the sharp increase in the number of school recruitment for Internet companies
SPL installation and basic use (II)
leetcode T31:下一排列









