全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
3005 2
2017-05-18
【模型】 DIV = Lag.DIV + EPS + [其他需要添加项:例如leps, cf, lcf等等外生变量] +YEAR + e
【目的】得到跟文献中表4一样的表格

【我的编程思路】
2-step GMM(DIF) 跑两次
第一次 use full moment conditions and estimate the model. Usually J test is reported. (用内生跟外生一起做IV)
第二次 estimate the same model but using only the exogenous regressors as instruments. Then you get value of another j test statistic. (只用外生做IV)
然后计算DIF-in SARGAN

2-step GMM(SYS) 跑两次
第一次 use full moment conditions and estimate the model. Usually J test is reported. (用内生跟外生一起做IV)
第二次 estimate the same model but using only the exogenous regressors as instruments. Then you get value of another j test statistic. (只用外生做IV)
然后计算DIF-in SARGAN

【问题】这个可以用什么指令完成?xtabond2?IV怎么样可以自己设置,好像不能不写gmm这一项

【我认为语句应该如下可惜行不通呢】xtabond2 div ldiv eps cf lcf y1-y11, gmm(ldiv) iv(eps y1-y11)  twostep nolevel
xtabond2 div ldiv eps cf lcf y1-y11, iv(eps y1-y11)  twostep nolevel

xtabond2 div ldiv eps cf lcf y1-y11, gmm(ldiv) iv(eps y1-y11)  twostep

xtabond2 div ldiv eps cf lcf y1-y11, iv(eps y1-y11)  twostep



附件列表

sample-data.xls

大小:5.71 MB

 马上下载

数据

二维码

扫码加我 拉你入群

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

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

全部回复
2017-6-7 18:30:41
你的问题解决了吗?
二维码

扫码加我 拉你入群

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

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

2017-6-27 05:16:37
jxapp_31914 发表于 2017-6-7 18:30
你的问题解决了吗?
没有。。。。。。。。。。。。。。。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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