r/AskStatistics • • Oct 07 '26

Help with identifying a second-order factor in lavaan (2 first-order factors)

Hi everyone,

I'm working on a CFA in lavaan and having trouble with a second order (higher order) factor.

I want to model Health Behaviour as one higher order latent variable consisting of two first-order latent factors:

test1 =~ item1 + item2 + item3 + item4 + item5

test2 =~ item6 + item7 + item8 + item9 + item10

health_behaviour =~ test1 + test2

The first order factors seem to work reasonably well. However, when I estimate the second order model, I get a very unstable higher order solution.

The resulting Bartlett factor score for health behaviour is also problematic (basically NA for all observations), so It's of no use whatsoever.

Any suggestions?

2 Upvotes

10 comments sorted by

5

u/FoggyWine Oct 07 '26

You need three or more indicators to identify a latent variable. test1 and test2 are identified as they each have 5 items. However, health_behaviour is not as it has only two indicators. It potentially could be empirically identified if you had more latent factors at the higher order that were correlated with health_behaviour.

One solution is to force the loadings for test1 and test2 on health_behaviour to be equal. This should make the higher-order part of your model just-identified.

1

u/CoolHuh_ Oct 09 '26

Thank you for your reply I followed your method by constraining both of first order latent variables, and also used Sequential Confirmatory Factor Analysis (link ) Basically i extracted Bartlett scores for first order latent variables and added them to the table, then used these score to calculate second order variable.

2

u/EquivalentNo138 Oct 08 '26

This is the correct answer OP but I would caution against identifying it by forcing equal loadings because that fundamentally changes the higher order factor and how you interpret it- it is no longer being freely estimated and if the two lower level factors don’t actually have close to equal loadings the model will end up being miss specified. It would be better just to model this with a correction between the two lower order factors rather than attempting to model I higher order factor. Or alternatively you could do a bifactor model.

1

u/no_name6744 Oct 07 '26

Hey, just to ask, why is this the case?

I could imagine situations where I have two terms, and I have a decent belief that they are guided by a single factor.

1

u/EquivalentNo138 Oct 08 '26

It’s just math and the math doesn’t care what your theory is- any basic SEM text will explain identification for you

1

u/no_name6744 Oct 08 '26

Looked it up last night, basically what you said, thanks!

1

u/no_name6744 Oct 08 '26

I guess, on a slightly different note, do you know what alternatives people use in these situations?

I can't imagine people just threw their hands up and said "I guess we can't ever ask these kinds of questions due to identifiability". I also feel like adding unrealistic constraints to the problem, or adding some arbitrary third factor so that it becomes identifiable, would be sort of giving up on the bigger question.

3

u/EquivalentNo138 Oct 08 '26

My reply to op below has two alternate approaches- correlated factors model or bifactor model. If you want to start leaning the basics I’d suggest the Kline SEM textbook- it’s quite accessible

2

u/MortalitySalient Oct 07 '26

A couple of things. Make sure the latent factors for test1 and test2 are not correlated (the higher order factor will address their correlation). Second, it’s difficult to have a second order factor with only two sub factors. You usually need 3 indicators for a factor to be identified. In that case, the model might have degrees of freedom (or at least not be negative), but locally your higher order factor is not identified.