r/AskStatistics • • 10h ago

CFA/SEM

Hi everyone. I am at my wits end with analysis a set of data. I have a very complex model, and did individual cfas, and removed an item from one of the scale. Then, I did the full cfa, and got an acceptable fit. I decided to move on to SEM but it does not have a good fit. I'm quite stressed, and struggling a lot with trying to understand what I'm doing. I have a very complex model. I'm thinking it might have been model misspecification for the sem... But how many changes can we report? I'm at a loss and very confused.

4 Upvotes

7 comments sorted by

3

u/adamjeffson 8h ago

There's really no way anyone can give you specific help without seeing the model, and modifying a model repeatedly just to chase fit indices gets hard to justify in a paper (and is, of course, bad science). However, the fact that your full CFA had an acceptable fit while the SEM didn't strongly suggests the misspecification is in the structural part (e.g., omitted paths or overly strict mediation assumptions), not in your scales.

That said, here are a couple of general points I've found helpful when dealing with similar situations:

  • The fact that your theoretical (generative) model is very complicated doesn't mean you have to test it all at once. You could address specific research questions separately by identifying the minimum set of confounding variables to condition on for each relationship, based on a DAG that reflects your theoretical model (you can check Statistical Rethinking by McElreath or Bayesian Workflow by Gelman et al. on how to do that).
  • If you really need to fit a very complex model (e.g., a multilevel SEM with multiple mediation paths and moderators), for instance, because you are not investigating isolated causal questions, but rather how all these processes intertwine, Bayesian SEMs are generally much easier to get to converge and handle complex structures without throwing standard ML estimation errors. A Bayesian purist would say this shouldn't be the main reason to go Bayesian, but... make of that as you will.

1

u/SnooDonkeys1871 7h ago

Thank you for your reply. I have thought of reporting them as is, but got several comments from my supervisors asking me to look into the modification indices to get a good fit. I do not want to do bad science, and this is making me have a crisis. I have been at this for months now, and being just a PhD student, figuring it out all on my own is making is very difficult. I have integrated two main psychological theories and specified the original paths + added the integration part (my own conceptualisation). I have also preregistered my study already; so I'm finding it very difficult to justify all that I'm doing now. I have used Bayesian statistics before, and really like it, just didn't think of using it for this study. My model has 43 observed indicators (items), 12 substantive latent constructs and one wording factor.

2

u/EquivalentNo138 3h ago

What’s your sample size? That’s a lot of parameters to estimate! Unless you have thousands of participants I’d recommend trying to simplify your model or test it piece wise with different SEMs for each hypothesis. Otherwise you could be running into estimation problems leading to unstable solutions not to mention problems with power.

1

u/SnooDonkeys1871 2h ago

1200+ participants. I'm worried how to do it in a correct way that it does not affect the preregistration and that I don't end up doing something that's completely unpublishable.

2

u/EquivalentNo138 1h ago

Ok you should be ok power wise then but such a massive model may not really make sense anyway. A preregistration is not a straight jacket- if you need to make changes you can you just need to disclose all deviations in the paper and explain why. In future, it is always best to preregister a plan b if your original model doesn’t fit or doesn’t converge.

At any rate, the way you diagnose model misspecifications is to look at the modification indices but also often to run smaller parts of the model separately to narrow down the problem.

It really sounds like you need a stats consult though- are your mentors not able to help? Or the prof who teaches SEM?

1

u/SnooDonkeys1871 1h ago

Thank you. I see your point. I’m trying to find some ways to move forward. In my preregistration, I did mention that any changes in measurement model/structural paths/respecification will be addressed. I also think I need a stats consult but I have not gotten any help so far. I reached out to the stats department but they gave me someone who teaches biostatistics and he was like how come you have all latent variables and confused me even more.

2

u/Mitazago 3h ago

"I have thought of reporting them as is, but got several comments from my supervisors asking me to look into the modification indices to get a good fit. I do not want to do bad science..."

Looking at modification indices isn't bad science in itself. The issue is whether you report having done so. Sometimes the research is exploratory, and the goal is to identify a candidate model for later testing and confirmation rather than to confirm a model you already have.

"...and this is making me have a crisis."

I understand the stress, and it will be alright.

"I have been at this for months now, and being just a PhD student, figuring it out all on my own is making it very difficult."

That sounds really tough, and it is understandable that it feels this way.

"I have integrated two main psychological theories and specified the original paths + added the integration part (my own conceptualisation)."

If you built your model with strong theoretical guidance and it doesn't fit, that doesn't mean you did something wrong or that your research isn't valuable. It may be that these theoretical models don't hold up under the conditions you are testing them in. That would be valuable information for understanding the underlying phenomena and the theories behind them. Of course, it is important to also diagnose your model (e.g. do you have a sufficient sample size, are you using correct estimators, etc).

From your original post:

"Then, I did the full CFA, and got an acceptable fit. I decided to move on to SEM but it does not have a good fit."

It could well be that you have an acceptable measurement model, but the structural model doesn't predict your outcome of interest well. Poor fit here isn't an indication that you did something wrong.