Gengrui-Zhang / R2spa

An R Package for Two-Stage Path Analysis (2S-PA)
https://gengrui-zhang.github.io/R2spa/
Other
0 stars 0 forks source link

Handle missing items in `get_fs()` and `tspa_mx()` #62

Open marklhc opened 11 months ago

marklhc commented 11 months ago

The standard errors are not constant with missing data. Currently lavaan gives a different covariance for different missing patterns. Need to incorporate this into get_fs() for row-specific errors and loadings.

Then show an example of analyzing this in tspa_mx().

marklhc commented 7 months ago

May need to restructure the internal structure for compute_fspars()

marklhc commented 3 months ago

Add attributes to augment_lav_predict() for easier specification of cross-loadings and error covariances