Hi,
I am doing a mediation analysis using the SEM command (or the builder, both are fine) with only observed variables.
Using estat teffects I get all the "simple" (a and b paths) direct and indirect effects and their related p-values, but I would like a p-value for a test of the "complete" paths (from the predictor through the mediator to the outcome). I know that if one of the simple indirect paths are insignificant, the complete path won't be either, but I would still like an estimate, SE and p-value for these complete path.
For a simple example:
My command is: sem (lei <- sep sex age) (al <- let sp sex age)
That is, I am testing whether the effect of sep on al is mediated by lei, with sex and age as covariates.
Using estat teffects I get paths and p-values from sep to lei and from lei to al, and of course by multiplying these I can get the complete indirect effects but no p-value.
Is there some bootstrap-procedure I can use to get this?
For those of you familiar with the user-written binary_mediation command, there is a bootstrap-option that does this - the problem is, I need to use SEMs FIML option.
Please let me know if you need any more info to help me and thank you in advance.
I am doing a mediation analysis using the SEM command (or the builder, both are fine) with only observed variables.
Using estat teffects I get all the "simple" (a and b paths) direct and indirect effects and their related p-values, but I would like a p-value for a test of the "complete" paths (from the predictor through the mediator to the outcome). I know that if one of the simple indirect paths are insignificant, the complete path won't be either, but I would still like an estimate, SE and p-value for these complete path.
For a simple example:
My command is: sem (lei <- sep sex age) (al <- let sp sex age)
That is, I am testing whether the effect of sep on al is mediated by lei, with sex and age as covariates.
Using estat teffects I get paths and p-values from sep to lei and from lei to al, and of course by multiplying these I can get the complete indirect effects but no p-value.
Is there some bootstrap-procedure I can use to get this?
For those of you familiar with the user-written binary_mediation command, there is a bootstrap-option that does this - the problem is, I need to use SEMs FIML option.
Please let me know if you need any more info to help me and thank you in advance.
Comment