Gyeongcheol Cho
- The DGP-SEM_Pro package allows users to generate implied covariance matrices of indicators and simulate data from structural equation models (SEM) with factors and/or components.
- Derive implied covariance matrices from linear structural equation models with factors and/or components.
- Randomly generate data from the model for simulation purposes.
- New in v1.1: Support for generating data from SEM with component interactions.
- New in v1.2: Support for generating data from SEM with higher-order constructs.
To use this package in MATLAB:
- Clone or download the repository:
git clone https://github.com/PsycheMatrica/DGP-SEM_Pro.git
- Add the package to your MATLAB path:
addpath(genpath('DGP-SEM_Pro'))
- To see examples of how to use the package, refer to the "Run_Example_...".m files. This file demonstrates how to derive implied covariance matrices and generate simulation data using the package.
- Tested on MATLAB R2023b.
- Likely compatible with earlier MATLAB versions.
- A version of this package will be released for R in the near future.
- More complex model structures will be accommodated.
- If you use DGP-SEM_Pro in your research or publication, please cite it in APA format as follows:
Cho, G. (2024). DGP-SEM_Pro: A package for generating data from structural equation models [Computer software]. GitHub. https://github.com/PsycheMatrica/DGP-SEM_Pro