黃河泉 发表于 2019-2-28 09:55 
你先试试看看可不可以?也请提供之资讯!
sgmediation y, mv(m) iv(x) bootstrap reps(500) level(95)后显示
Sobel-Goodman Mediation Tests
Coef Std Err Z P>|Z|
Sobel 1.1067186 .27277617 4.057 .00004966
Goodman-1 1.1067186 .2748397 4.027 .00005655
Goodman-2 1.1067186 .2706969 4.088 .00004343
Pecent of total effect that is mediated: 101.87 %
Ratio of indirect to direct effect: -54.5362
Percentile and Bias-corrected bootstrap results for Sobel: 500 replications
sgboot command not found