全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
834 1
2023-10-12
sgmediation做中介效应检验,发现中介效应每一步检验的y对x回归系数和reghdfe完全不一样,不知道是为什么,求解惑,命令如下:
reghdfe lny lnt1 x2 x3 x5 x6 x7, absorb(ar1 year send1) vce (cluster sendpp)
reghdfe ln需求2 lnt1 x2 x3 x5 x6 x7, absorb(ar1 year send1) vce (cluster sendpp)
reghdfe lny lnt1 ln需求2 x2 x3 x5 x6 x7, absorb(ar1 year send1) vce (cluster sendpp)

xi:sgmediation lny,mv(ln需求2) iv(lnt1) cv(x2 x3 x5 x6 x7 year send1 ar1) 1.png
2.png

二维码

扫码加我 拉你入群

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

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

全部回复
2023-10-12 09:25:05
我知道咋回事了,应该用i.
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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