全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件
2228 2
2019-04-25
今日问题:

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

二维码

扫码加我 拉你入群

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

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

全部回复
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,似乎蒸发了。


二维码

扫码加我 拉你入群

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

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

2019-4-25 21:49:38
学术指导:张晓峒老师
本期解答人:谢杰老师
编辑:李宁宁
统筹:易仰楠 李丹丹
技术:知我者 赵雅轩
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群