Conducting a CFA on bi-factor models that allow latent factors to correlate

27 views
Skip to first unread message

Joan Chan

unread,
Jul 12, 2020, 10:27:34 PM7/12/20
to lavaan
Hi, I am trying to test a 5-factor model with a general alexithymia bi-factor model that allows 4 out of 5 latent factors to correlate using CFAs. Here is how I defined the model: 

PAQ_model6 <-'
              N_DIF =~ PAQ_2+ PAQ_8+ PAQ_14+ PAQ_20
              P_DIF =~ PAQ_5+ PAQ_11+ PAQ_17+ PAQ_23
              N_DDF =~ PAQ_1+ PAQ_7+ PAQ_13+ PAQ_19
              P_DDF =~ PAQ_4+ PAQ_10+ PAQ_16+ PAQ_22
              G_EOT =~ PAQ_3+ PAQ_6+ PAQ_9+ PAQ_12+ PAQ_15+ PAQ_18+ PAQ_21+ PAQ_24
              
              N_DIF ~~  N_DDF
              P_DIF ~~  P_DDF
              N_DIF ~~  P_DIF
              N_DDF ~~  P_DDF
              
              gen_alex =~ PAQ_1 + PAQ_2 + PAQ_3 + PAQ_4 + PAQ_5 + PAQ_6 + PAQ_7 + PAQ_8 + PAQ_9 + PAQ_10 +
                PAQ_11 + PAQ_12 +PAQ_13 + PAQ_14 + PAQ_15 + PAQ_16 + PAQ_17 + PAQ_18 + PAQ_19 + PAQ_20 +
                PAQ_21 + PAQ_22 + PAQ_23 + PAQ_24'

And here is the code that I used to test the fit of the model: 

PAQ_model6_fit <- cfa(PAQ_model6,
                       data = final_data_Sg,
                       estimator = "MLM",
                       orthogonal = FALSE, 
                       std.lv = FALSE)

I allowed the latent factors to correlate by using "orthogonal = FALSE", however, R gives me this error message: 

Warning message:
In lav_model_estimate(lavmodel = lavmodel, lavpartable = lavpartable,  :
  lavaan WARNING: the optimizer warns that a solution has NOT been found!

Does anyone have any suggestions for conducting a CFA on bi-factor models that allow latent factors to correlate? 

Thank you in advance. 

Patrick (Malone Quantitative)

unread,
Jul 13, 2020, 8:16:16 AM7/13/20
to lav...@googlegroups.com
Try specifying G_EOT at a fixed covarance of zero with the other
factors. I believe in this situation it will default to free, making
your model unidentified.

G_EOT ~~ 0*N_DIF + 0*N_DDF + (etc.)
> --
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/bc4f90c9-e340-4462-986c-c2a603c14e14o%40googlegroups.com.



--
Patrick S. Malone, Ph.D., Malone Quantitative
NEW Service Models: http://malonequantitative.com

He/Him/His

Patrick (Malone Quantitative)

unread,
Jul 13, 2020, 8:16:51 AM7/13/20
to lav...@googlegroups.com
Sorry, I meant gen_alex, not G_EOT. Not enough coffee yet.

Joan Chan

unread,
Jul 13, 2020, 10:42:33 PM7/13/20
to lavaan
It worked!! Thank you so much! :)
> > To unsubscribe from this group and stop receiving emails from it, send an email to lav...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages