楼主: momingqimiao7
60168 231

更新!合成控制法SCM案例--包含稳健性检验/安慰剂检验(附示例数据和Stata代码)   [推广有奖]

31
momingqimiao7 在职认证  学生认证  发表于 2019-4-16 17:47:27 |只看作者 |坛友微信交流群
秣之a 发表于 2019-4-16 16:21
已购买,资料非常好。关于安慰剂检验有点问题想问,可以的话加一下QQ864790267,非常感谢!
谢谢支持
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
十七里香 + 5 + 5 + 5 + 5 精彩帖子

总评分: 论坛币 + 5  学术水平 + 5  热心指数 + 5  信用等级 + 5   查看全部评分

使用道具

32
momingqimiao7 在职认证  学生认证  发表于 2019-4-16 17:47:39 |只看作者 |坛友微信交流群
秣之a 发表于 2019-4-16 15:40
已购,关于安慰剂检验有点问题想问,可以的话加一下QQ864790267,非常感谢!!
已经申请加了

使用道具

33
momingqimiao7 在职认证  学生认证  发表于 2019-4-16 22:53:45 |只看作者 |坛友微信交流群
安装synth出现问题,可以看这个
  1. Frequently Asked Questions for Synth

  2. Synth for Stata

  3. 1. The code stops with an error message. What should I do?

  4. Most problems can be solved by exactly repeating the following steps:
  5. a) close your Stata and reopen it
  6. b) type: "update all" (and if asked "update swap" to fully install newly updated executables)
  7. c) type:
  8.    net from "https://web.stanford.edu/~jhain/Synth"
  9.    net install synth, all replace force
  10. In most cases the code should run now.

  11. 2. When installing the program using net install I get the following error message:

  12. Could not load plugin: c:\ado\plus\s\synthopt.plugin
  13. (error occurred while loading synth.ado)

  14. This means that a plugin is not availbale for your platform (see here details). In this case you can download the C code to compile the plugin on your platform here.  

  15. 3. How can I improve the fit for the pre-treatment ouctomes?

  16. Use the "nested" and the "nested allopt" option. Also try to add more pre-treatment years of the ouctome variable. Finally, trim the donor pool to units that are sufficiently close to the treated unit.
复制代码
已有 1 人评分学术水平 热心指数 信用等级 收起 理由
十七里香 + 5 + 5 + 5 精彩帖子

总评分: 学术水平 + 5  热心指数 + 5  信用等级 + 5   查看全部评分

使用道具

34
十七里香 发表于 2019-4-17 18:26:20 来自手机 |只看作者 |坛友微信交流群
其实挺好的,大家不要光看到价钱,如果有用的话还是值得购买的。 我从来不反对有偿提供服务,欢迎大家积极参与论坛活动!

使用道具

35
momingqimiao7 在职认证  学生认证  发表于 2019-4-17 20:27:49 |只看作者 |坛友微信交流群
十七里香 发表于 2019-4-17 18:26
其实挺好的,大家不要光看到价钱,如果有用的话还是值得购买的。 我从来不反对有偿提供服务,欢迎大家积极参 ...
谢谢支持

使用道具

36
Lee_iris 在职认证  学生认证  发表于 2019-4-17 21:17:20 |只看作者 |坛友微信交流群
你好,想问下月度数据如何做合成控制?案例中都是年度数据,直接输入年份。因为一开始做过季节调整,所以时间变量是2008m1格式的月度数据,但在合成控制法的命令中不能运行

使用道具

37
momingqimiao7 在职认证  学生认证  发表于 2019-4-17 22:12:28 |只看作者 |坛友微信交流群
Lee_iris 发表于 2019-4-17 21:17
你好,想问下月度数据如何做合成控制?案例中都是年度数据,直接输入年份。因为一开始做过季节调整,所以时 ...
一样的,月份变量设置好就可以

使用道具

38
Lee_iris 在职认证  学生认证  发表于 2019-4-18 19:29:27 |只看作者 |坛友微信交流群
momingqimiao7 发表于 2019-4-17 22:12
一样的,月份变量设置好就可以
请问具体怎么操作呢?我之前是把月份编了序号,用序号做了合成控制运算,但是后来设置为月度数据以后,我在trperiod(#)里输入month的2017m1时,合成控制的命令不能正常运算了

使用道具

39
momingqimiao7 在职认证  学生认证  发表于 2019-4-18 21:09:05 |只看作者 |坛友微信交流群
Lee_iris 发表于 2019-4-18 19:29
请问具体怎么操作呢?我之前是把月份编了序号,用序号做了合成控制运算,但是后来设置为月度数据以后,我 ...
month 是输入2017m1对应的数值

使用道具

40
Lee_iris 在职认证  学生认证  发表于 2019-4-19 08:44:52 |只看作者 |坛友微信交流群
momingqimiao7 发表于 2019-4-18 21:09
month 是输入2017m1对应的数值
我不太懂你说的数值是什么,我的处理是重新定义了面板,把月份的顺序作为时间变量,在trperiod输入了处理期的顺序拍下来对应的数字,可以完成运算,但是这样的话作图出来的坐标轴上就没有月份了

使用道具

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

本版微信群
加JingGuanBbs
拉您进交流群

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

GMT+8, 2024-4-25 22:06