jhorzek / lessSEM

lessSEM estimates sparse structural equation models.
https://jhorzek.github.io/lessSEM/
GNU General Public License v2.0
6 stars 1 forks source link

Select weights for cross-validation of wls-estimated models #314

Closed jhorzek closed 1 year ago

jhorzek commented 1 year ago

Currenlty, the weights of wls estimated models are re-estimated for the test-sets in cross-validation. I am not sure if this is correct or if we should re-use the weights from the training set.

https://github.com/jhorzek/lessSEM/blob/a170c0c85c0e8e95c9079656f088e279d7fc9725/R/cvRegularizeSEMInternal.R#L232