argument 'group =' and model fit

35 views
Skip to first unread message

Christopher Bratt

unread,
Mar 1, 2019, 7:02:40 AM3/1/19
to lavaan
I would like to run a model on many groups, but not impose or test measurement invariance across these groups.

Am I correct in believing that I should use an R looping function because I cannot get model fit for each group when using the following lavaan argument?
 
group =


Christopher

kinga.bie...@gmail.com

unread,
Mar 4, 2019, 5:40:20 PM3/4/19
to lavaan
Hi, 

I have the exact same question. 

Best, 
Kinga

Terrence Jorgensen

unread,
Mar 6, 2019, 2:53:57 PM3/6/19
to lavaan
Am I correct in believing that I should use an R loop

If you want the test of fit in each group, then that is the simplest way, yes.  But summary() displays the chi-squared contribution from each group, and if there are no equality constraints, then the df are divided evenly between those groups, so you could always use pchisq() to calculate your p values manually from a multigroup model.

Terrence D. Jorgensen
Assistant Professor, Methods and Statistics
Research Institute for Child Development and Education, the University of Amsterdam

Christopher Bratt

unread,
Mar 6, 2019, 4:40:17 PM3/6/19
to lavaan
Thanks for the clarification.
Reply all
Reply to author
Forward
0 new messages