Description Usage Arguments Details Value
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. Function adapt from package "bda". (for covariable)
1 | sob.parallel(X, Y, M, conf = NULL, nb.core = 2)
|
X |
exposure |
Y |
outcome |
M |
methylation matrix |
conf |
latent factors |
nb.core |
number of core used (parallel) |
To test whether a mediator carries the influence on an IV to a DV. Missing values are not allowed.
pValue et score for Sobel test, Aroian test and Goodman test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.