山河涧库 发表于 2020-8-10 11:12 
这是由于sgmediation命令没有更新,更新以后就会输出P值、Z值了
您好,我更新命令后还是不显示P值和z值,请问是不是还有其他原因?Sobel-Goodman Mediation Tests
Coef Std Err Z P>|Z|
Sobel -.00642223 . . .
Goodman-1 -.00642223 . . .
Goodman-2 -.00642223 . . .
Pecent of total effect that is mediated: 12.85 %
Ratio of indirect to direct effect: 0.1475换了其他中介变量可以出P值了,但是我想知道上面这个到底有没有中介效应,求赐教,谢谢
Sobel-Goodman Mediation Tests
Coef Std Err Z P>|Z|
Sobel -.00399252 .00885067 -.4511 .65191892
Goodman-1 -.00399252 .0089123 -.448 .65416831
Goodman-2 -.00399252 .00878862 -.4543 .64962514
Pecent of total effect that is mediated: 7.99 %
Ratio of indirect to direct effect: 0.0868