请选择 进入手机版 | 继续访问电脑版
楼主: happy_287422301
1864 2

[问答] 互助问答第77期: 反事实问题 [推广有奖]

区版主

大师

30%

还不是VIP/贵宾

-

威望
8
论坛币
637845 个
通用积分
28424.1783
学术水平
2339 点
热心指数
2999 点
信用等级
2126 点
经验
205898 点
帖子
8550
精华
10
在线时间
4668 小时
注册时间
2008-3-19
最后登录
2024-3-22

三级伯乐勋章 初级学术勋章 初级热心勋章 初级信用勋章 中级学术勋章 中级热心勋章 高级学术勋章 中级信用勋章 高级信用勋章 高级热心勋章 特级学术勋章 特级信用勋章 特级热心勋章

happy_287422301 在职认证  发表于 2019-4-25 21:18:11 |显示全部楼层 |坛友微信交流群

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
今日问题:

在使用Endogenous Switching Regression 模型时,预测出了treatment group和control group的拟合值与counterfactual value,那么接下来如何计算ATT和ATE的值呢?又如何画出拟合情况与反事实情况下的概率密度图呢?能否给出具体详细的stata命令或步骤?感谢老师的解答!

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:regression Endogenous treatment regressio switching

已有 1 人评分经验 收起 理由
nuomin + 100 鼓励积极发帖讨论

总评分: 经验 + 100   查看全部评分

happy_287422301 在职认证  发表于 2019-4-25 21:43:02 |显示全部楼层 |坛友微信交流群

答:在跑过movestay之后,用mspredict计算:tt=参与者处理效应=工人参与private项目的事实-工人不参与private项目的反事实; tu=非参与者处理效应=非工人不参与private项目的事实-非工人参与private项目的反事实;


summarize tt tu //输出att,atu

ate为att和atu的加权平均

g te2=tt

replace te2=tu if te2==.

summarize tt te2 tu //输出att,ate,atu及其标准误

tw (kdensity 工人参与private项目的事实)(kdensity 工人不参与private项目的反事实)

.....

movestay之后计算att, ate, atu还是比较少的,毕竟它的原理与PSM不同。有人指出:

The subtle error comes from omitting the negative sign for the definition of the Mills ratio for the non‐participants group. Thus, even if the results of movestayStata command are accurate, some of those of the mspredict are wrong. At this stage, I have corrected temporarily this post command (mspredict_ar.ado) and I will contact the movestayauthors. In addition, I have programmed for the PEP teams the post command msat to estimate the treatment effects.

显然movestay authors没有搭理他!

As you didn't give an accessible reference for the paper I imagine that people didn't bother to search for it. Did the author state that it was installed on SSC? Because, as you say, no such program is there.

此人再也没有公布他的msat.ado,似乎蒸发了。


已有 1 人评分经验 论坛币 收起 理由
nuomin + 100 + 40 精彩帖子

总评分: 经验 + 100  论坛币 + 40   查看全部评分

使用道具

happy_287422301 在职认证  发表于 2019-4-25 21:49:38 |显示全部楼层 |坛友微信交流群
学术指导:张晓峒老师
本期解答人:谢杰老师
编辑:李宁宁
统筹:易仰楠 李丹丹
技术:知我者 赵雅轩

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-3-28 17:00