全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
777 1
2023-08-26

用的是固定效应模型的工具变量法 2SLS回归 ,使用的代码如下,跑出来会报错,输出的结果first和second一模一样,目前不清楚是工具变量法的一阶段没有进行回归(那输出的结果肯定不敢用),还是说只是一阶段的结果没能导出,输出的second是没问题可以用的呢?



tab year, gen(dyear)

xtivreg2 DIGT1 ROA ROE sale lnage LEV stock pettm size Q ( DFcity = distance ) dyear*, fe first savefirst

eststo second

est restore first

outreg2 using IV1.doc,cttop(first) tstat bdec(3) tdec(2) replace

est restore second

outreg2 using IV1.doc,cttop(second) tstat bdec(3) tdec(2)



. est restore first

estimation result first not found


r(111);





二维码

扫码加我 拉你入群

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

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

全部回复
2023-8-30 16:34:53
复制代码
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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