I really want to believe you because this was my intuition as well. I double checked it with a structural equation model:
- one model where residual covariance is constrained to be 0
- one model where residual covariance is estimated freely
Fit with #lavaan, check the regression parameter estimates...
they are the same.
see here: https://gist.github.com/vankesteren/310ba8ff91149c5d91fdffb1cb42f5d3
Do you mean something else than this?
Fantastic news, everyone! 🎆
We can now plot #lavaan #SEM outputs using the #lavaanPlot package, developped by Alex Lishinski.
What a time to be alive! 🥳
#StructuralEquationModels
#R
#PackagesThatFeelLikeCandy
https://lavaanplot.alexlishinski.com/articles/intro_to_lavaanplot
#lavaan #sem #lavaanplot #structuralequationmodels #r #packagesthatfeellikecandy
Does anyone know what happened to the #RMediation package? Since last #rstats update, I get a message saying that it isn't available for my version of R. Can't install from CRAN. Used to be my go-to for formally testing indirect effects, when using #lavaan. #SEM #mediation
#rmediation #rstats #lavaan #sem #mediation
Has anyone successfully used lavaan's mplus2lavaan or lavExport to check whether code for complex models (e.g., STARTS/RI-CLPM) translates well across programs? I haven't been able to get either to work correctly, and I don't know whether it's worth digging into it to get it working or whether the code only works for simple models. #rstats #lavaan
@Mattalica1972 After starting to feel comfortable with the language in general I’d just Google tutorials or read manuals/vignettes of packages that do the stuff you actually need to do, like #lme4 for multilevel or #lavaan for SEM. Also, Googling “How do I [insert thing you want to do here] in R?” dozens of times while you work is a 100% legitimate way of learning #rstats.