Skip to content

Notes on I‐GSCA Implementation

emstruong edited this page May 11, 2024 · 38 revisions

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.

Comparisons with Other Implementations

The implementation of IGSCA in cSEM was compared against GSCAPro Version 1.2.1 and a Matlab version kindly sent by Dr. Heungsun Hwang.

GSCAPro V1.2.1

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/

Matlab: igsca_sim.m

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/

Clone this wiki locally