当前位置:网站首页>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
边栏推荐
- Audio-AudioRecord create(一)
- Luogu p3799 demon dream stick
- Leetcode T39: 组合总和
- [no title] free test questions for constructor municipal direction general foundation (constructor) and theoretical test for constructor municipal direction general foundation (constructor) in 2022
- On several key issues of digital transformation
- Leetcode T40: 组合总和II
- 【面试必刷101】链表
- [deep analysis of C language] - data storage in memory
- 为什么LTD独立站就是Web3.0网站!
- Pipeline detection of UAV Based on gazebo
猜你喜欢
随机推荐
Provincial selection + noi Part II string
Leetcode t29: divide two numbers
机动目标跟踪——当前统计模型(CS模型)扩展卡尔曼滤波/无迹卡尔曼滤波 matlab实现
Vscode customize the color of each area
Yolov5进阶之七目标追踪最新环境搭建
爬虫知识点总结
Gateway-88
MySQL8.0学习记录17 -Create Table
Leetcode t40: combined sum II
避免按钮重复点击的小工具bimianchongfu.queren()
《单片机原理及应用》—定时器、串行通信和中断系统
leetcode T31:下一排列
Count number of rows per group and add result to original data frame
Provincial election + noi part I dynamic planning DP
Burpsuite -- brute force cracking of intruder
seaborn clustermap矩阵添加颜色块
Maneuvering target tracking -- current statistical model (CS model) extended Kalman filter / unscented Kalman filter matlab implementation
《微机原理》-绪论
Intelligent constant pressure irrigation system
华为机试真题专栏订阅指引