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)


雷达卡




京公网安备 11010802022788号







