I want to perform Multilevel Mediation Analyses in R with Lavaan, but I came across a Problem:
Normally, at least that is what I've learned, it is important to group-mean center level-1 variables and grand-mean center level-2 variables for multilevel analyses. So that's what I did when trying to do multilevel mediation in lavaan as well.
Not surprising, I got tons of errors when first trying, but after
lots of troubleshooting, I simply went for the non-centered variables
and it worked perfectly.
So my question is: Is it not necessary to do group/grand-mean centering for multilevel mediation analyses in lavaan (maybe because Lavaan does the centering itself by default)?
Thanks in advance for you help!
it is important to group-mean center level-1 variables and grand-mean center level-2 variables for multilevel analyses.
So my question is: Is it not necessary to do group/grand-mean centering for multilevel mediation analyses in lavaan (maybe because Lavaan does the centering itself by default)?