Convenience class for use with other methods and classes to generate mediation data for use with parallel processing.
nis the sample size.
pXis the minor allele frequency
gamma0is the intercept for M
gammaXis the association of X with M
varMis the variance of M
beta0is the intercept for Y
betaXis the direct effect of X on Y
betaMis a vector of different associations of M with Y
varYis the variance of Y
nSimis the number of simulations to run
Michael Gooch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.