- model
Model specified using lavaan syntax. More about model specification can be found in Rosseel (2012).
- indirect
Indirect effect difined using lavaan syntax.
- nobs
Sample size. It is 100 by default.
- type
The method used to test the indirect effects ('basic'
or 'boot'
). By default type='basic'.
The type 'basic' is to use Sobel test (see also wp.mc.sem.basic), while 'boot' is to use bootstrap method (see also wp.mc.sem.boot).
- nrep
Number of replications for the Monte Carlo simulation. It is 1000 by default.
- nboot
Number of replications for the bootstrap to test the specified parameter (e.g., mediation). It is 1000 by default.
- alpha
significance level chosed for the test. It equals 0.05 by default.
- skewness
A sequence of skewnesses of the observed variables. It is not required.
- kurtosis
A sequence of kurtosises of the observed variables. It is not required.
- ovnames
Names of the observed variables in the model. It is not required.
- se
The method for calculatating the standard errors. Its default method "default" is regular standard errors.
More about methods specification standard errors calculatationcan be found in Rosseel (2012).
- estimator
Estimator. It is Maxmum likelihood estimator by default. More about estimator specification can be found in Rosseel (2012).
- parallel
Parallel computing ("no"
or "parallel"
or "snow"
). It is "no" by default, which means it will not use parallel computing.
The option "parallel" is to use multiple cores in a computer for parallel computing. It is used with the number of cores (ncore).
The option "snow" is to use clusters for parallel computing. It is used with the number of clusters (cl).
- ncore
Number of processors used for parallel computing. By default, ncore = Sys.getenv('NUMBER_OF_PROCESSORS').
- cl
Number of clusters. It is NULL by default. When it is NULL, the program will detect the number of clusters automatically.
- ...
Extra arguments. It is not required.