Erik-Jan · @erikjan
233 followers · 100 posts · Server fosstodon.org

@avehtari @modrak_m

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 , check the regression parameter estimates...

they are the same.

see here: gist.github.com/vankesteren/31

Do you mean something else than this?

#lavaan

Last updated 1 year ago

Noémie Pichon · @NA_pichon
97 followers · 58 posts · Server ecoevo.social

Fantastic news, everyone! 🎆

We can now plot outputs using the package, developped by Alex Lishinski.

What a time to be alive! 🥳



lavaanplot.alexlishinski.com/a

#lavaan #sem #lavaanplot #structuralequationmodels #r #packagesthatfeellikecandy

Last updated 2 years ago

Henrik Sørlie · @hsorlie
57 followers · 68 posts · Server social.vivaldi.net

Does anyone know what happened to the package? Since last 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 .

#rmediation #rstats #lavaan #sem #mediation

Last updated 2 years ago

Rich Lucas · @richlucas
357 followers · 26 posts · Server mastodon.social

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

Last updated 2 years ago

Henrik Sørlie · @hsorlie
9 followers · 16 posts · Server social.vivaldi.net

@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 for multilevel or 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 .

#lme4 #lavaan #rstats

Last updated 2 years ago