bda.mediation.test: The Sobel mediation test
Description
To compute statistics and p-values for the Sobel test. Results for three versions of "Sobel test" are provided: Sobel test, Aroian test and Goodman test.
Usage
bda.mediation.test(mv, iv, dv)
Arguments
- mv
The mediator variable
- iv
The independent variable
- dv
The dependent variable