全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件
9743 1
2017-12-12
sobel检验通常用于中介效应的检验过程中,如果系数a、b有一个不显著,则需要进行该检验。
.sgmediation dv,mv() iv() cv()
sobel检验只在大样本中有效,如果有原始数据,使用bootstrap命令可能是一个更好的选择。
* bootstrap with case resampling
    . bootstrap r(ind_eff) r(dir_eff), reps(1000): sgmediation science,
        mv(read) iv(math)
    . estat bootstrap, percentile bc

    * bootstrap with residual resampling
    * need to install resboot_mediation
    . findit resboot_mediaton
    . resboot_mediation, dv(science) mv(read) iv(math) reps(1000)

二维码

扫码加我 拉你入群

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

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

全部回复
2019-10-11 11:31:49
您好,我在findit resboot_mediation的时候遇到stacktrace not available
https://stats.idre.ucla.edu/stat/stata/ado/analysis/ either
  1)  is not a valid URL, or
  2)  could not be contacted, or
  3)  is not a Stata download site (has no stata.toc file).
请问这该怎么办呢?您那边有mediation的命令吗
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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