-
Notifications
You must be signed in to change notification settings - Fork 13
Notes on I‐GSCA Implementation
These are developer notes on how I-GSCA is implemented in the cSEM notes. It is intended to serve as both a refresher and reference to cSEM developers.
flowchart TD
A["`Prepare Data using _cSEM::extract_parseModel_`"]
B["`Initiate igsca using _cSEM::igsca()_`"]
A --> B
The implementation of IGSCA in cSEM was compared against GSCAPro Version 1.2.1 and a Matlab version kindly sent by Dr. Heungsun Hwang.
The .csv files for the output of GSCAPro are stored in tests/comparisons/igsca_translation/GSCAPro_1_2_1Output.
These .csv files were formatted for comparison using cSEM::get_lavaan_table_igsca_gscapro()
The .RData for comparing between GSCAPro and csem::igsca() are found in tests/data/igsca_gscapro.RData/
igsca_sim_test.m is a modified version of the original igsca_sim.m sent by Dr. Hwang. The modifications were made to facilitate the repeated execution of the exemplary model.
The .csv files for the input to igsca_sim.m are stored in tests/comparisons/igsca_translation/matlab_in.
The output of igsca_sim.m was transformed into a table of results (probably-THIS NEEDS TO BE DOUBLE CHECKED) through cSEM::get_lavaan_table_igsca_matrix()
The .RData for comparing between GSCAPro and csem::igsca() are found in tests/data/igsca_matlab.RData/