楼主: 转来转去
6754 10

[回归分析求助] 运行DID结果中显示e [推广有奖]

  • 0关注
  • 2粉丝

已卖:102份资源

博士生

22%

还不是VIP/贵宾

-

威望
0
论坛币
325 个
通用积分
0.3107
学术水平
1 点
热心指数
1 点
信用等级
0 点
经验
1717 点
帖子
117
精华
0
在线时间
293 小时
注册时间
2013-8-12
最后登录
2025-10-8

楼主
转来转去 学生认证  发表于 2018-7-24 02:54:05 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
求助于各位专家,
       为何Stata运行DID结果显示的出e,如果控制变量少的话显示的较为正常,但解释力度很小。
       如,我控制两个变量,显示结果为 1.png
       虽然总结果还有e,但是能算出来。但是控制所有变量之后就变成了: 2.png
因为计划把干预组和对照组的值也放进来,但是出来e是为什么,怎么去改啊或者阅读。
希望热心的大神不吝赐教!  非常感谢!
二维码

扫码加我 拉你入群

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

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

关键词:两个变量 解释力度 控制变量 解释力 对照组

回帖推荐

黃河泉 发表于8楼  查看完整内容

请 help diff并按照我的上面建议。

沙发
黃河泉 在职认证  发表于 2018-7-24 06:36:30
e 通常是代表 10 的几次方,-1.2e+03 代表 -1.2x10^3。
已有 2 人评分经验 论坛币 热心指数 信用等级 收起 理由
葫芦娃大王 + 10 + 10 精彩帖子
蓝色 + 3 + 3 热心帮助其他会员

总评分: 经验 + 10  论坛币 + 10  热心指数 + 3  信用等级 + 3   查看全部评分

藤椅
转来转去 学生认证  发表于 2018-7-24 17:25:47
黃河泉 发表于 2018-7-24 06:36
e 通常是代表 10 的几次方,-1.2e+03 代表 -1.2x10^3。
您好,非常感谢您的指点。这样计算的话只是一个粗略值吧,1200,出现这种结果是不是我变量有问题,还是本应显示如此的啊。

板凳
黃河泉 在职认证  发表于 2018-7-24 17:37:29
转来转去 发表于 2018-7-24 17:25
您好,非常感谢您的指点。这样计算的话只是一个粗略值吧,1200,出现这种结果是不是我变量有问题,还是本 ...
可以试试
  1. . use cardkrueger1994.dta
  2. (Sample dataset from Card and Krueger (1994))

  3. . diff fte, treated(treated) period(t)

  4. DIFFERENCE-IN-DIFFERENCES ESTIMATION RESULTS
  5. Number of observations in the DIFF-IN-DIFF: 780
  6.             Baseline       Follow-up
  7.    Control: 76             76          152
  8.    Treated: 314            314         628
  9.             390            390
  10. ------------------------------------------------------
  11. Outcome var.   | fte     | S. Err. |   t   |  P>|t|
  12. ----------------+---------+---------+-------+---------
  13. Baseline        |         |         |       |
  14.    Control      | 20.013  |         |       |
  15.    Treated      | 17.069  |         |       |
  16.    Diff (T-C)   | -2.944  | 1.160   | -2.54 | 0.011**
  17. Follow-up       |         |         |       |
  18.    Control      | 17.523  |         |       |
  19.    Treated      | 17.518  |         |       |
  20.    Diff (T-C)   | -0.005  | 1.160   | -0.00 | 0.997
  21.                 |         |         |       |
  22. Diff-in-Diff    | 2.939   | 1.641   | 1.79  | 0.074*
  23. ------------------------------------------------------
  24. R-square:    0.01
  25. - Means and Standard Errors are estimated by linear regression
  26. **Inference: *** p<0.01; ** p<0.05; * p<0.1

  27. . dis `r(did) '
  28. 2.9391762
复制代码
最底下之指令。

报纸
转来转去 学生认证  发表于 2018-7-24 17:56:31
黃河泉 发表于 2018-7-24 17:37
可以试试最底下之指令。
这就去试试!!!

地板
转来转去 学生认证  发表于 2018-7-24 18:02:23
转来转去 发表于 2018-7-24 17:56
这就去试试!!!
大神,你好,我是想让干预组和对照组里面的值也呈现出那种正常的数值额

7
转来转去 学生认证  发表于 2018-7-24 18:05:28
黃河泉 发表于 2018-7-24 17:37
可以试试最底下之指令。
大神,你好,我是想让干预组和对照组里面的值也呈现出那种正常的数值额

8
黃河泉 在职认证  发表于 2018-7-24 18:23:43
转来转去 发表于 2018-7-24 18:05
大神,你好,我是想让干预组和对照组里面的值也呈现出那种正常的数值额
请 help diff
  1. Stored results

  2.     diff stores the following in r():

  3.     Scalars   
  4.       r(mean_c0)     mean of output_var of the control group in period() = 0
  5.       r(mean_t0)     mean of output_var of the treated group in period() = 0
  6.       r(diff0)       difference of the mean of output_var between the treated and the control groups in period t=0
  7.       r(mean_c1)     mean of output_var of the control group in period() = 1
  8.       r(mean_t1)     mean of output_var of the treated group in period() = 1
  9.       r(diff1)       difference of the mean of output_var between the treated and the control groups in period() = 1
  10.       r(did)         DID treatment effect
  11.       r(se_c0)       standard error of the mean of output_var of the control group in period() = 0
  12.       r(se_t0)       standard errors of the mean of output_var of the treated group in period() = 0
  13.       r(se_d0)       standard errors of the difference of output_var between the treated and the control groups in period() = 0
  14.       r(se_c1)       standard errors of the mean of output_var of the control group in period() = 1
  15.       r(se_t1)       standard errors of the mean of output_var of the treated group in period() = 1
  16.       r(se_d1)       standard errors of the difference of output_var between the treated and the control groups in period() = 1
  17.       r(se_dd)       standard errors of the DID
复制代码
并按照我的上面建议。

9
转来转去 学生认证  发表于 2018-7-24 18:30:25
黃河泉 发表于 2018-7-24 18:23
请 help diff并按照我的上面建议。
哇!!!!!哇!!!!!哇!!!!!!我要怎么报答你!!!!!!!!

10
黃河泉 在职认证  发表于 2018-7-25 07:28:35
转来转去 发表于 2018-7-24 18:30
哇!!!!!哇!!!!!哇!!!!!!我要怎么报答你!!!!!!!!
哈哈!你似乎有点夸张了!

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-9 16:52