Skip to content

This repository contains code for generating data from various population structural equation models that involve factors and/or components.

Notifications You must be signed in to change notification settings

PsycheMatrica/DGP-SEM_Pro

Repository files navigation

DGP-SEM_Pro

Author:

Gyeongcheol Cho

Description:

  • 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.

Features:

  • 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.

Installation:

To use this package in MATLAB:

  1. Clone or download the repository:
    git clone https://github.com/PsycheMatrica/DGP-SEM_Pro.git
  2. Add the package to your MATLAB path:
     addpath(genpath('DGP-SEM_Pro'))

Usage:

  • 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.

Compatibility:

  • Tested on MATLAB R2023b.
  • Likely compatible with earlier MATLAB versions.

Future Update

  • A version of this package will be released for R in the near future.
  • More complex model structures will be accommodated.

Citation (APA):

  • 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

About

This repository contains code for generating data from various population structural equation models that involve factors and/or components.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages