Open jhorzek opened 3 months ago
I've also found a separate bug in lavScores that is resolved in a pull request.
Indeed. The code in lavScores() is very old, and needs to be revised. It did not follow up on changes that were made later. I will have a good look at this in the next days.
Hi,
I just ran into some errors with the updated version of the
lavScore
function that sent me down a small rabbit hole :). According to the comments, the function was updated in version 0.5-17 to always use all cases - even those with missings. However, if I try to get the scores of a model with listwise deletion, I get an error:This error occurs because all data points with missings have been removed from data X, but J is still based on the full sample size (see here).
Best, Jannik