How to fid Invariant items/ Reference Indicator (RI) in Lavaan

132 views
Skip to first unread message

sg

unread,
Oct 26, 2018, 1:58:19 AM10/26/18
to lavaan
I need some help in finding reference indicator items for multi group CFA for factorial Invariance.
I need to find  invariant items to be chosen as reference indicators instead of Lavaan choosing first item.
If anyone please can provide me with R codes, that will save my life. 
Thank you! 

Terrence Jorgensen

unread,
Oct 26, 2018, 5:50:53 AM10/26/18
to lavaan
I need some help in finding reference indicator items for multi group CFA for factorial Invariance.

Why don't you just fix the factor variance instead (std.lv = TRUE), and free all but one variance when constraining (at least 2) loadings across groups?  That way, you don't have to pick any arbitrary indicator as a reference.

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

Saima Ghazal

unread,
Oct 30, 2018, 1:40:42 PM10/30/18
to lav...@googlegroups.com
Thank you Terrence, 
You are so helpful, I wonder how you manage so many questions.

I really need some help, I have already spent one whole week, but still cant get out of it.
I have developed a numeracy test, and have collected national data on it.
I want to show that test Is invariant across gender, age and ethnicity.
I am running this code 
model2= '
BNTS=~ five_sided_correct+ choir_correct+ six_sided_correct+ mushroom_correct +  coinflip_correct+ acme_correct+ bigbucks_correct'
White=subset(N,Race==1)
Black = subset (N, Race>1)
Overallmodel.fit.W = cfa(model2, data = White, meanstructure = T)
summary(Overallmodel.fit.W, rsquare= T, standardized=TRUE, fit.measure= TRUE)
Overallmodel.fit.B = cfa(model2, data = Black, meanstructure = T)
summary(Overallmodel.fit.B, rsquare= T, standardized=TRUE, fit.measure= TRUE)

multisteps = measurementInvariance(model = model2, data= N, group = "Race", strict= TRUE)

when I run multisteps, it gives following error 
Error in measurementInvariance(model = model2, data = N, group = "Race",  : 
  Configural model did not converge.
In addition: Warning message:
The measurementInvariance function is deprecated, and it will cease to be included in future versions of semTools. See help('semTools-deprecated) for details. 
>

I don't know how to fix it, also IS THIS RIGHT COMMAND/CODE I am using? 
Earlier I asked you that I want to find invariant items  (RIs) in my test, and you said I can use std.lv command, 
I tried using it, but Lavaan is giving error message (may be I have already something in the code above that its not allowing me to add std.lv). 
I am not expert in SEM or advance analysis, any of your guidance will be a great HELP.
Please let me know how I can identify Invariant items that I can use further for propensity matching data
THANK YOU

--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.
Visit this group at https://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/d/optout.


--
Saima Ghazal, PhD, Michigan Technological University, USA
Assistant Professor, Institute of Applied Psychology
University of the Punjab, Lahore, Pakistan 




Terrence Jorgensen

unread,
Nov 2, 2018, 9:27:00 AM11/2/18
to lavaan
  Configural model did not converge.

The syntax is fine, but this error message is clear.  I see you fit a single-group model to each group, but you should try fitting the multigroup configural model.

fit.config <- cfa(model = model2, data= N, group = "Race", std.lv = TRUE)

This is the model that does not converge within measurementInvariance().  But I have no way of knowing why without seeing the data.
Reply all
Reply to author
Forward
0 new messages