Relative Content

Tag Archive for rr-lavaan

How to obtain standardized residuals for clustered data in lavaan?

I am facing a problem concerning the output of standardized residuals for a fitted lavaan (sem)-object. As far as I do not include “cluster = ” in the fitting function, I can easily obtain the standardized residuals
But, as soon as include the cluster-argument (to take into account clustered data and correct the standard errors), I got this error message:

Moderated Mediation Model with Three Moderators?

I’m trying to run a moderated mediation model with three moderators. I was unable to identify a model in PROCESS (Hayes) taht allows for this.
I’ve been told that it’s possible in lavaan however, I’m having very little work.