问题 I want to perform multigroup SEM on imputed data using the R packages mice and semTools , specifically the runMI function that calls Lavaan . I am able to do so when imputing the entire dataset at once, but whilst trawling through stackoverflow/stackexchange I have come across the recommendation to impute data separately for each level of a grouping variable (e.g. men, women), so that the features of each group are preserved (e.g. https://stats.stackexchange.com/questions/149053/questions-on