- 阅读权限
- 255
- 威望
- 0 级
- 论坛币
- 185 个
- 通用积分
- 47.3188
- 学术水平
- 0 点
- 热心指数
- 0 点
- 信用等级
- 0 点
- 经验
- 12529 点
- 帖子
- 266
- 精华
- 0
- 在线时间
- 410 小时
- 注册时间
- 2015-6-20
- 最后登录
- 2025-12-27
已卖:5份资源
讲师
还不是VIP/贵宾
- 威望
- 0 级
- 论坛币
 - 185 个
- 通用积分
- 47.3188
- 学术水平
- 0 点
- 热心指数
- 0 点
- 信用等级
- 0 点
- 经验
- 12529 点
- 帖子
- 266
- 精华
- 0
- 在线时间
- 410 小时
- 注册时间
- 2015-6-20
- 最后登录
- 2025-12-27
 | 开心 2023-10-6 16:34:56 |
|---|
签到天数: 93 天 连续签到: 1 天 [LV.6]常住居民II
|
经管之家送您一份
应届毕业生专属福利!
求职就业群
感谢您参与论坛问题回答
经管之家送您两个论坛币!
+2 论坛币
最近在做面板数据的shapley分解,总是出现问题,有没有大神帮我解答下疑问,在此感谢!(1)我的数据是面板数据,然后首先做了一个固定效应logit 回归,可是回归结果中没有显示pseudo_R2,有人知道怎么让她显示出来吗?(2)做完回归之后再做shapley2分解,然后也总是出现故障,不知道是不是因为前一阶段的(r2_p)未显示,所以分解出现问题,还是因为shapley分解不能用于面板数据只能用于截面数据,还是我哪里有问题?这个问题困扰我好久,查了很多资料在论坛逛了好久也还是没有找到答案,希望有心人能够帮我解答一下,感激涕零!
- [/size][/color][/font]
- [font=Monaco, Consolas, \Lucida Console\, \Courier New\, serif][color=#666666][size=12px]xtset idind wave[/size]
- [size=12px] panel variable: idind (unbalanced)[/size]
- [size=12px] time variable: wave, 1989 to 2015, but with gaps[/size]
- [size=12px] delta: 1 unit[/size]
- [size=12px]
- [/size]
- [size=12px]. [/size]
- [size=12px]end of do-file[/size]
- [size=12px]
- [/size]
- [size=12px]. do "C:\Users\ADMINI~1\AppData\Local\Temp\STD01000000.tmp"[/size]
- [size=12px]
- [/size]
- [size=12px]. xtlogit y x1 x2 x3 x4 x5 x6 x71 x72 x73 x74 x75 x76 x8 x9 x10 x11 x12 x13,fe nolog [/size]
- [size=12px]note: multiple positive outcomes within groups encountered.[/size]
- [size=12px]note: 23,448 groups (58,584 obs) dropped because of all positive or[/size]
- [size=12px] all negative outcomes.[/size]
- [size=12px]
- [/size]
- [size=12px]Conditional fixed-effects logistic regression Number of obs = 83,419[/size]
- [size=12px]Group variable: idind Number of groups = 14,907[/size]
- [size=12px]
- [/size]
- [size=12px] Obs per group:[/size]
- [size=12px] min = 2[/size]
- [size=12px] avg = 5.6[/size]
- [size=12px] max = 10[/size]
- [size=12px]
- [/size]
- [size=12px] LR chi2(18) = 1240.63[/size]
- [size=12px]Log likelihood = -33502.524 Prob > chi2 = 0.0000[/size]
- [size=12px]
- [/size]
- [size=12px]------------------------------------------------------------------------------[/size]
- [size=12px] y | Coef. Std. Err. z P>|z| [95% Conf. Interval][/size]
- [size=12px]-------------+----------------------------------------------------------------[/size]
- [size=12px] x1 | .0795028 .0575578 1.38 0.167 -.0333083 .192314[/size]
- [size=12px] x2 | .0461597 .0018417 25.06 0.000 .0425501 .0497694[/size]
- [size=12px] x3 | .1631089 .1312427 1.24 0.214 -.094122 .4203398[/size]
- [size=12px] x4 | .1588539 .0075223 21.12 0.000 .1441105 .1735972[/size]
- [size=12px] x5 | -.2460249 .0229823 -10.70 0.000 -.2910693 -.2009805[/size]
- [size=12px] x6 | .1922465 .0400458 4.80 0.000 .1137583 .2707348[/size]
- [size=12px] x71 | -.1979017 .0286929 -6.90 0.000 -.2541388 -.1416646[/size]
- [size=12px] x72 | -.3544013 .0326192 -10.86 0.000 -.4183338 -.2904689[/size]
- [size=12px] x73 | -.4583168 .0546164 -8.39 0.000 -.565363 -.3512706[/size]
- [size=12px] x74 | -.4871241 .0822347 -5.92 0.000 -.6483011 -.3259471[/size]
- [size=12px] x75 | -.9876566 .114091 -8.66 0.000 -1.211271 -.7640424[/size]
- [size=12px] x76 | -.3156806 .7020513 -0.45 0.653 -1.691676 1.060315[/size]
- [size=12px] x8 | .2712248 .0687965 3.94 0.000 .1363862 .4060633[/size]
- [size=12px] x9 | -.0192152 .0338481 -0.57 0.570 -.0855563 .0471258[/size]
- [size=12px] x10 | .246788 .0486554 5.07 0.000 .1514252 .3421509[/size]
- [size=12px] x11 | .1234697 .0235251 5.25 0.000 .0773613 .1695781[/size]
- [size=12px] x12 | -.0175256 .0268552 -0.65 0.514 -.0701608 .0351096[/size]
- [size=12px] x13 | .2512456 .0248795 10.10 0.000 .2024828 .3000084[/size]
- [size=12px]------------------------------------------------------------------------------[/size]
- [size=12px]
- [/size]
- [size=12px]. [/size]
- [size=12px]end of do-file[/size]
- [size=12px]
- [/size]
- [size=12px]. shapley2,stat(r2_p) group(x1,x2,x3,x4,x5,x6,x71 x72 x73 x74 x75 x76,x8,x9,x10,x11,x12,x13)[/size]
- [size=12px]invalid syntax[/size]
- [size=12px]r(198);[/size]
- [size=12px]
复制代码
扫码加我 拉你入群
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
|
|
|