R – Adding manifest exogenous variable to SEM leads to error
I am new to SEM, and some help would be very appreciated.
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:
SEM with 11 IVs and 2 mediators – Optimizer warns that a solution has not been found
I am trying to run a SEM to determine the model fit for my model, which has 11 IVs (IV1 – IV11), 2 parallel mediators (M1 and M2), and one outcome (Y). When I run the model, I get the following error “The Optimizer warns that a solution has not been found”.
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.
How to calculate effect sizes for predictors in lavaan regression model?
Is there a way to calculate an effect size for each predictor in a lavaan model like this?
(lavaan in this example is just used to be able to use FIML, otherwise it’s a simple linear regression)
Retrieving p-value of R-squared in lavaan model
How can I retrieve the p-value of R-squared of a simple lavaan model?