楼主: yffhm
13706 31

[面板数据求助] bootstrap结果分析 [推广有奖]

  • 0关注
  • 2粉丝

硕士生

45%

还不是VIP/贵宾

-

威望
0
论坛币
29 个
通用积分
3.0000
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1416 点
帖子
132
精华
0
在线时间
95 小时
注册时间
2011-11-9
最后登录
2025-11-7

楼主
yffhm 学生认证  发表于 2014-3-14 22:16:40 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
运用bootstrap对残差抽样 出现下面的问题 请教一下 是怎么回事儿呢? 1.png
二维码

扫码加我 拉你入群

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

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

关键词:Bootstrap Bootstra boots 结果分析 boot

沙发
jjjj6666 发表于 2014-3-14 23:07:36
you didn't set data correctly for running xtreg

藤椅
yffhm 学生认证  发表于 2014-3-14 23:09:17
jjjj6666 发表于 2014-3-14 23:07
you didn't set data correctly for running xtreg
已经运用xtset对数据进行了面板数据设定

板凳
jjjj6666 发表于 2014-3-15 00:13:30
I just tried one fake data,

xtset id
bootstrap e(F), rep(10) :xtreg y x, fe

works fine

报纸
jjjj6666 发表于 2014-3-15 01:16:48
one question I had: when applying bootstrap to xtreg, do you need some options to differentiate that the same panel being sampled and should be treated as different panels in bootstrap?  

地板
yffhm 学生认证  发表于 2014-3-25 10:14:02
jjjj6666 发表于 2014-3-15 00:13
I just tried one fake data,

xtset id
QQ截图20140325101106.jpg
想请教一下将残差按照个体分组后,如何抽选观察值呢?非常感谢!最近做论文需要检验门槛效应,感觉难度挺大!

7
jjjj6666 发表于 2014-3-25 21:27:38
I think that's correct, if you want to treat X as fixed, you have to bootstrap the residuals.  Basically in you data, you have residual and predicted Y (or if you want, the X variables), and then bootstrap the data, construct new y using the residual plus the predicted Y (or if using X, compute X'beta).  This is the same as regular bootstrap, the only difference is you need to construct the dependent variable, not bootstrap the dependent variable.

8
yffhm 学生认证  发表于 2014-3-26 09:42:24
jjjj6666 发表于 2014-3-25 21:27
I think that's correct, if you want to treat X as fixed, you have to bootstrap the residuals.  Basic ...
谢谢  我貌似有些明白了  先尝试一下  非常感谢

9
yffhm 学生认证  发表于 2014-3-26 10:18:36
jjjj6666 发表于 2014-3-25 21:27
I think that's correct, if you want to treat X as fixed, you have to bootstrap the residuals.  Basic ...
谢谢!但是我试了一下,还是有些问题想要请教 我已经回归得到了残差,但是如何按照个体对残差分组呢?能否告知具体的stata命令?还有就是从构造的实证分布中抽取样本观察值的stata命令,也就是上述两步如何在stata中实现呢?非常感谢!

10
jjjj6666 发表于 2014-3-26 20:10:34
directly sample from the data using "bsample"

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

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