I've just recently come to grips with lavaan so I am aware that there is a lot that I still have to learn. Essentially, I am doing a 2-level sem and trying to get some input on whether my input is correct or not. The coach data, alongside 2 of the 3 athlete variables are nonnormal (skewed to the left). I have followed the syntax recommendations from Rosseel (2018), however, I have been unable to find a syntax online which provides me with exact instructions on how to deal with nonnormal data. The only way I am able to get output for the majority of my data is when I do optim.method="em", otherwise the majority of the between output is NA. I know that my sample size isn't that big (157 athletes, 39 coaches), however, as I am interested in elite level sports and have been collecting data for 9 months and need to stop now as I need to move on to the next study. I appreciate that my questions might be somewhat vague, but as there is no one who can really help me with my data, I am hoping you might be able to save me.
Thank you in advance for your help!
My input is the following:
#calculate level 2 model with coach FF as explanatory variable
mlm <- 'level: within
athlete_ff ~wc*ccb + wb*pnts
pnts ~ wa*ccb
athlete_ff ~ bc*ccb + bb*pnts
pnts ~ ba*ccb