I've conducted a multiple group analysis testing factor loading invariance across 2-3 groups using a 2 factor CFA with MLM estimation. The corrected chi-square difference test comparing this constrained model to an unconstrained model was nonsignificant, suggesting that the factor loadings are invariant across groups. My question is about reporting results. I would like to include a figure showing the standardized factor loadings and factor correlations. But, the standardized loadings differ across groups despite the fact that I imposed cross group equality constraints on the loadings (the parameter specification indicates that the constraints were correctly imposed and the estimates for the unstandardized loadings are the same across groups). I understand that the standardized loadings vary because of the variances used to calculate them, but I'm afraid that stating that I imposed equality constraints and then showing in the figure that the loadings are still different across groups will confuse readers, especially in the case where the standardized loadings are different by what would appear to be a nontrivial amount (e.g., difference of 0.07). I'm wondering if anyone has a suggestion for how to handle this apparent inconsistency.
I prefer to work with raw coefficients and would definitley not report standardized coefficients for a multiple group analysis for the reasons you state. If you must report them, then I would include the explanation you have given. Maybe someone else has an opinion on this.
kberon posted on Saturday, December 31, 2005 - 12:29 pm
I've also been interested in standardized coefficients across multiple groups. Lisrel has a feature that allows you to weight each group covariance matrix so that you end up having a common scale for all groups. This allows reporting a single "beta." I was wondering if Mplus had this facility? It sounds, from Linda's comment, that it doesn't but I'd like to confirm that. Thanks....Kurt
finnigan posted on Friday, March 23, 2007 - 9:27 am
I have five factor model which I'm testing across two groups. I have a suspicion that the the five factors will not replicate across groups,i.e in one group 4 factors emerge and in the second group 5 factors may emerge. If this is the case am I correct in saying that within group comparisions can be made ,but between group comparisons on factor means cannot?
Or is it more appropriate to estimate one model for both groups and then test the factor structure? Any refs you may have would be appreciated.
You should look at the factor structure in each group separately as a first step. If they don't have the same number of factors, then going on to look at them together is not appropriate unless four of the five factors are the same which would be fairly unusual I think.
finnigan posted on Friday, March 23, 2007 - 3:34 pm
If the same number of factors is not present across groups, is it reasonable to carry out a within multi group CFA for each separate group and make within group comparisons on latent means once measurement invariance is present?
If you don't have the same number of factors in each group, you can look at the groups separately. I'm not sure what you mean by doing a multiple group CFA for each separate group since you would then be looking at a single group.
Brian Hall posted on Monday, July 27, 2009 - 3:01 pm
Dear list, I am testing a two-group CFA model testing for metric and configural invariance. I am extending this model to establish longitudinal invariance over three waves of data collection. I am testing several correlated models, and several hierarchical models.
Does anyone happen to have example programming syntax that can help with this model? I am not sure how to fix the paths to be equal in the case of metric invariance, and to compare the models in the case of configural invariance. Any assistance would be much appreciated.
Hi, I have 3 latent factors, each BY 16 dichotomous observed items.
I would like to run an invariance analysis with the same factors across groups, but factor loadings, unique error variances, and item thresholds are freely estimated. I am getting an error that reads, "THE MODEL ESTIMATION TERMINATED NORMALLY THE STANDARD ERRORS OF THE MODEL PARAMETER ESTIMATES COULD NOT BE COMPUTED. THE MODEL MAY NOT BE IDENTIFIED."
Thank you, Dr. Muthen. I thought the factor loading for the first indicator in the group-specific MODEL command was fixed with @1 (e.g., numop BY fp11@1). How do I then appropriately fix this factor loading in the syntax? Could you please give an example?
Thank you in advance for your time and assistance.
i'm testing configural invariance for a 4 group, 2 latent factor, and 15 item (4 level likert scales) model. i'm getting the error: "THE MODEL MAY NOT BE IDENTIFIED." could you help me fix my input file? (the model stmts for the last 2 groups are the same as for month4.)
When you free the thresholds, factor means must be fixed to zero in all groups and, if you are using the default estimator WLSMV, scale factors must be fixed to one in all groups. See the models for testing for measurement invariance in Chapter 14 of the Version 6 user's guide after the multiple group discussion.
i wanted to make sure i was doing the battery of tests correctly:
(1) baseline model, free thresholds (outlined above) - factor means set to zero in all groups, residual variances of factor indicators fixed to one in all groups
(2) invariant loadings, free thresholds - factor means set to zero in all groups, residual variances of factor indicators fixed to one in first group and free in other groups
(3) invariant loadings and thresholds - factor means set to zero in first group and free in other groups, residual variances of factor indicators fixed to one in the first group and free in other groups
(4) invariant loadings, thresholds, and uniqueness - factor means set to zero in first group and free in other groups, residual variances of factor indicators fixed to one in all groups.
Hans Leto posted on Tuesday, April 10, 2012 - 10:33 am
I am performing a single group analysis with the same syntax of slide 209 of Mplus' handout no. 1:
USEOBSERVATIONS ARE (gender EQ 1); !change 1 to !0 for females
MODEL: f1 BY y1-y5; f2 BY y6-y10;
But is gives me an error "Variable is uncorrelated with all other variables: gender. All least one variable is uncorrelated with all other variables in the model. Check that this is what is intended." (The variable is gender, variance 0).
I am testing a measurement model at two waves (i.e., wave 3 and wave 4). The model is the same at each wave. Since, both measurement models will eventually be added to a two-time point longitudinal SEM, I was advised to test for measurement invariance between the measurement models of the two waves.
My estimator is WLSMV and I have categorical and continuous variables. Can I simply use the DiffTest option to do a multi-group comparison or is there another test that is more appropriate?
No, the groups would not be independent. You would test the measurement invariance in a single-group analysis. The multiple indicator growth model example in the Topic 4 course handout shows how to do this for continuous variables. You would take the same approach for categorical variables but use the steps shown in the Topic 2 course handout under multiple group analysis.
Hi I am doing a MGCFA, 3 groups. When testing each group separately, everything is fine and models are identified. when multi-group modeling however, I get this message:
THE STANDARD ERRORS OF THE MODEL PARAMETER ESTIMATES COULD NOT BE COMPUTED. THE MODEL MAY NOT BE IDENTIFIED. CHECK YOUR MODEL. PROBLEM INVOLVING PARAMETER 61.
parameter 61 is for alpha (I guess something related to intercept) of item 14 in group 2. As I told you when doing the analysis separately in group 2, the model converges.
It is noteworthy that the MGCFA converges when using Amos on the same data. Sounds like this is something specific to Mplus way of calculating estimates.
In the MGCFA, the unstandardized coefficient for item 14 in group 2 is 1.292, while other items’ coefficients are smaller. This is the only aspect of this item different from others. Interestingly, when I omit this item in the model, still it does not converge and says something is wrong with item 13. Can you please help me resolve this?
Hi Thanks for your message. I think I found the problem. while in Amos, especifying factor means to be 0 leads to unidentification in a multigroup analyis, in mplus things are different. I had not specified the factor mean to be zero in my multigroup analysis in mplus, which resulted in an intercept issue in one of the groups. setting it to be zero resolved the issue.
Hi I have a question and I would appreciate if you could answer. in testing for scalar invariance, when we find that an intercept is not invariant, in order to follow up this finding it is attractive to compare the intercepts in various groups. In doing so, should we compare the unstandardization intercepts or the standardized (Est./S.E.) ones?
the results are sometimes contradictive. for example, based on the unstandardization estimates group 1 has the highest score but based on the standardized estimates, group 4 has the highest score. what do you suggest?
the same question can be asked about comparing the intercepts in a number of groups, estimating separate models for each (not multigroup CFA). which one should be used for comparing scale origins across groups: the unstandardized or starndardized estimates?
a marginal question is whether or not we could only examine observed item means in separate samples to follow up a noninvariant intercept.
the unstandardized and standardized intercepts are from the multigroup analysis for testing scalar invariance.
Now, I would like to report actual intercept differences among these three groups for that item to understand the results better.
As you can see it is so tricky. If I use the unstandardized intercepts, I should conclude that group 1 had the lowest scale origin (4.354), and the main difference is that group 2 scored remarkably differently from the other two groups.
Alternatively, if I use the standardized intercepts, I should conclude that group 3 had the lowest scale origin (61.631), and the noninvariance is because this group scored remarkably differently from the other two groups.
So the question is: in this multi group analysis, should I use standardized or unstandardized intercepts for comparison.
Thank you very much professor Muthen. really helpful.
H Steen posted on Tuesday, June 04, 2013 - 5:12 am
I have a question about interpreting differences in model fit between groups.
Before doing a multigroup second order CFA, I compared the models in the groups separately. And the results are so different that I have no reason to investigate any type of invariance any further. However the results are a bit surprising and I would like your comments. Comparing low, medium and high educated groups results in a mediocre model fit for the low educated (RMSEA 0.075) and reasonable fit in de high educated group (0.041). The groups are about the same size, N varies between 302 and 330. The thing is, the MI's are very similar; in all groups 10 is the highest, and almost all are (much) lower. Furthermore, the factor loadings are much higher in de low educated group, which seems contradictory, as the model fit is worse. The low educated group have much smaller variance in the items in the CFA though, and I would like to whether this can explain the combination of worse fit and higher loadings. With small variance, there is less to model anyway.
Other types of Analysis (eg Mokken) which are not to be preferred though for my research, show best structure fit for the low educated.
Shortly stated, can it be the case that the fit is indeed best in de low educated group as the factor loadings are highest?
Fit assessments are affected by the size of correlations among the observed variables - higher correlations give higher power to reject, ceteris paribus. hose correlation sizes may vary across your groups.
H Steen posted on Thursday, June 06, 2013 - 2:10 am
Thank you for your response. You are right, in the lower educated group (which shows worst fit) the correlations are much higher.
But what that this imply? That the fit indices are not meaningful?
Is there a way to correct fit indices for the level of interrelatedness of items?
Hi I managed to fit the model in each group, but it doesn't seem to fit in a multogroup CFA. I am performing a multi group CFA with a four factor solution across two groups. I followed the handout to the letter, but I get this message: ----------------------------------- MAXIMUM LOG-LIKELIHOOD VALUE FOR THE UNRESTRICTED (H1) MODEL IS -7520.177
THE MODEL ESTIMATION TERMINATED NORMALLY
THE STANDARD ERRORS OF THE MODEL PARAMETER ESTIMATES COULD NOT BE COMPUTED. THE MODEL MAY NOT BE IDENTIFIED. CHECK YOUR MODEL.
PROBLEM INVOLVING PARAMETER 110.
THE CONDITION NUMBER IS -0.318D-06. --------------------------------------
The syntax is as follows:
USEVARIABLES ARE A1 A2 A3 A5 B1 B2 B3 B4 C5 C6 C7 C9 D3 D4 D5 D7; GROUPING IS Group (1=GROUP1 2=GROUP2); MISSING are all (666);
Liting Cai posted on Tuesday, January 14, 2014 - 1:56 am
In an earlier post, as well as in the handout for Topic 2, it was mentioned that to conduct multiple group analysis on categorical variables, the steps are slightly different from that if the variables are continuous. The difference is that for categorical variables, we do not conduct the following steps:
(1) Fix the factor loadings across groups and free the thresholds, and
(2) Fix the thresholds across groups and free the factor loadings.
May I find out, what should I do if I have both continuous and categorical variables in my multiple group factor analysis? Do I go with the steps for categorical variables?
You can go with the steps for the categorical variables for all the variables, but you can also do all steps for the continuous variables.
Liting Cai posted on Thursday, January 16, 2014 - 6:57 pm
Dear Dr Muthen,
Thank you for taking time to address my query!
May I understand the rationale for the different steps (for multiple group analysis) for continuous and categorical variables? Is there a paper that provides this rationale, that you could direct me to?
I am trying to conduct multiple group invariance testing using categorical indicators for continuous latent factors. When I try to release the factor loadings and the thresholds for my second group, I get the following error:
THE STANDARD ERRORS OF THE MODEL PARAMETER ESTIMATES COULD NOT BE COMPUTED. THE MODEL MAY NOT BE IDENTIFIED. CHECK YOUR MODEL. PROBLEM INVOLVING PARAMETER 42.
The TECH output tells me Param 42 is the second diagonal entry in the THETA matrix for my second group. I'm not sure what I'm doing wrong:
VARIABLE: NAMES ARE DUMMY PTSD6-PTSD25; USEVARIABLES PTSD6-PTSD25; CATEGORICAL ARE PTSD6-PTSD25; GROUPING is DUMMY (0 = NOTRAUMA 1 = TRAUMA); ANALYSIS: ESTIMATOR = WLSMV; PARAMETERIZATION = THETA; MODEL: F1 BY PTSD6-PTSD13@1; F2 BY PTSD14-PTSD25@1;
F1 with F2;
[PTSD6$1-PTSD25$1@1]; MODEL TRAUMA: F1 BY PTSD7-PTSD13; F2 BY PTSD15-PTSD25;
Any ideas what I am doing wrong? Help is very much appreciated!
See the Version 7.1 Mplus Language Addendum on the website. You will find described in this document a way to do invariance testing automatically and a full description of the models for testing for measurement invariance in various situations.
When factor loadings and thresholds are free across groups, residual variances should be one in all groups and factor means should be zero in all groups.
JW posted on Wednesday, September 10, 2014 - 4:53 am
Based on your post from December 23, 2005, when conducting multiple group CFA it is best to report the unstandardised loadings especially as the standardised ones won't be equal across groups even after specifying loading invariance.
My goal is to present the loadings of the CFA and - after showing invariance - to have them equal across groups; could I specify the code as
kberon made a comment earlier above in 2007, and I wasn’t sure if the answer had chance now that MPlus has developed.
Specifically, kberon stated that: "I’ve also been interested in standardized coefficients across multiple groups. Lisrel has a feature that allows you to weight each group covariance matrix so that you end up having a common scale for all groups. This allows reporting a single "beta." I was wondering if Mplus had this facility?”
The answer at the time in 2007 was no. Has this changed? If so, are you able to direct me to the relevant part?
Uzay Dural posted on Monday, November 09, 2015 - 12:55 pm
Dear Dr. Muthen,
I conducted multi-group CFA on 4 continous indicators, but received the following error:
THE STANDARD ERRORS OF THE MODEL PARAMETER ESTIMATES COULD NOT BE COMPUTED.THE MODEL MAY NOT BE IDENTIFIED. CHECK YOUR MODEL.PROBLEM INVOLVING PARAMETER 6 (lambda of one item - g13 - for female group.)
Is it related to any error in the syntax? The syntax is as follows: ---------------------------- USEVARIABLES ARE gender g11 g12 g13 g14; GROUPING IS gender (0=f 1=m); MISSING ARE ALL(999);
ANALYSIS: TYPE IS GENERAL; ESTIMATOR IS ML; OUTPUT: STANDARDIZED SAMPSTAT MODINDICES (4) RESIDUAL tech1 tech4; MODEL: giat1 BY g11* (L1) g12* (L2)g13* (L3) g14@1 (L4); [g11*](I1);[g12*](I2);[g13*](I3); [g14@0](I4); g11* (E1); g12* (E2); g13* (E3); g14* (E4); giat1*; [giat1@0]; g11 WITH g12* (ecov12);
MODEL M: giat1 BY g11* g12* g13* g14@1; [g11-g14*]; g11-g14*; giat1*; [giat1@0]; g11 WITH g12*; ---------------------------
Do intercepts need to be fixed to 0 when testing measurment invariance or can they be fixed to another constant? I am testing longitudinal measrement invarience across 5 waves. In the less restrictive model the thresholds are much closer to 6. When I fix the intercepts to be equal over time beginning with fixing the first indicator intercept at 0. Not only does the model demonstrate a substantial and significant decrease in fit, freeing the different intercepts does not result in a substantial improvement in model fit.
We are testing the reliability and validity of four stigma scales (internal/external and towards TB/HIV).
We also tested for measurement invariance across two groups (patient staff vs. support staff). We showed that two scales are full scalar invariant and two are only full metric invariant.
Now in the next step we are (a) examining the correlations between the four stigma scales and (b) estimatings SEMs which assess the correlations between the stigma scales and other related concepts (e.g. confidentialiy) to test the external construct validity.
Now my questions:
(1) If we test the correlations between the stigma constructs, should we do this seperately for the two groups (patient staff and support staff) OR should we do them all in one time (all metric invariant) OR seperately for the metric invariant scales and in one go for the scalar invariant scales?
(2) If we want to test the correlations with opther concepts, do we need a multiple group for the two groups seperately? OR does the metric invariance allow us to test the models for the two groups together? In other words, is metric invariance enough to employ the construct in future analyses without divining the dataset into the groups?
We performed MGCFA with six groups. According to changes in RMSEA and CFI between more and less stringent models, the 12-item questionnaire is measurement invariant, but according to the DIFFtest, it is not. We want to additionally calculate an effect size measure, based on Meade (2010, a taxonomy of effect size measures). We need all factor loadings and thresholds for that additional calculation in R, but what would be the correct model to select factor loadings and thresholds from? Would it be the configural model with equal variances and free factor loadings across groups? Or would you go for a model in which one factor loading per factor is set at one, and variances are held free across groups? I ask this because effect size results depend on which model I choose. For example, all factor loadings change when I set the variances at 1, or when I fix two different loadings at 1, even though the total model fit does not change.
A related question is if it is possible to check if the model is not identified in one group. Only in one of the groups, one item has a negative loading, and one of the factor means is unexpectedly far below that of the reference group. So we expect that something goes wrong there, although this is not observed in the model fit statistics.
I am trying to test configural invariance and not impose any constraints. I am receiving this error message: "THE STANDARD ERRORS OF THE MODEL PARAMETER ESTIMATES COULD NOT BE COMPUTED. THE MODEL MAY NOT BE IDENTIFIED. CHECK YOUR MODEL. PROBLEM INVOLVING THE FOLLOWING PARAMETER: Parameter 296, Group F: SS6 WITH SS1"(296 = psi).
MODEL: SSK by COPRSTKF ASTRSTKF SLFRSTKF; SS1 by COPRST1S ASTRST1S SLFRST1S; SS2 by COPRST2S ASTRST2S SLFRST2S; SS3 by COPRSTG3 ASTRSTG3 SLFRSTG3; SS4 by COPRSTG4 ASTRSTG4 SLFRSTG4; SS5 by COPRSTG5 ASTRSTG5 SLFRSTG5; SS6 by COPRSTG6 ASTRSTG6 SLFRSTG6; [SSK@0]; [SS1@0]; [SS2@0]; [SS3@0]; [SS4@0]; [SS5@0]; [SS6@0];
Model F: SSK by COPRSTKF ASTRSTKF SLFRSTKF; SS1 by COPRST1S ASTRST1S SLFRST1S; SS2 by COPRST2S ASTRST2S SLFRST2S; SS3 by COPRSTG3 ASTRSTG3 SLFRSTG3; SS4 by COPRSTG4 ASTRSTG4 SLFRSTG4; SS5 by COPRSTG5 ASTRSTG5 SLFRSTG5; SS6 by COPRSTG6 ASTRSTG6 SLFRSTG6; [COPRSTKF ASTRSTKF SLFRSTKF]; [COPRST1S ASTRST1S SLFRST1S]; [COPRST2S ASTRST2S SLFRST2S]; [COPRSTG3 ASTRSTG3 SLFRSTG3]; [COPRSTG4 ASTRSTG4 SLFRSTG4]; [COPRSTG5 ASTRSTG5 SLFRSTG5]; [COPRSTG6 ASTRSTG6 SLFRSTG6];
Hi! I specified a cross-lagged panel model with two time points. The factor loadings are held equal across time (e.g.,: pe_t1 BY pe1_t1(1)...; pe_t2 BY pe1_t2(1)...;).
Now I want to compare two subsamples (GROUPING IS...) and see whether the model fits for both of them. How can I run a multiple group analysis in this case? I have no idea how to specify the model in Mplus because I have problems with setting the factor loadings equal vs. free. Furthermore, I do not know which models I have to specify.
My question is whether I can test if the regression coefficients are equal or different across groups. How can I test it? I know that I can compare a all-free with a all-equal model, but I don´t know how to specifiy it regarding the regression coefficients to be free across groups.
Furthermore, I would like to understand how Mplus works in multiple group analysis. If I label paths, the estimates are the same across groups. If I do not - they differ. Reading the Mplus UserGuide I thought it would not make a difference to label paths. How can I speficiy, that regression coefficients and covariates are equal across groups versus unequal? The UG did not help me.
I'm testing measurement invariance of a PTSD measure by fitting a multiple group CFA with categorical factor indicators. Results have shown that thresholds and factor loadings are not invariant across both groups.
We have a theory that the difference in the threshold structure and factor loadings is caused by the influence of another variabele (M) and would like to test this. Specifically, it is expected that the values of the thresholds and factor loadings differ as a function of M. I have two questions about this:
1) I wonder whether if the expected effect of M on the threshold structure can be tested by using a MIMIC model in which the latent variables are predicted by M? If not, do you maybe have another suggestion?
2) Do you have a suggestion of how to test the expected effect of M on the factor loadings?