I run Exploratory Factor Analysis in Mplus using ML estimator. My dataset is composed of ordinal variables and has missing values (n total = 806 cases). Missing values were specified in Mplus as: MISSING IS ALL(999); and variables were treated as continuous in the ML analysis. However, the correlation matrix obtained in Mplus output is slightly different from the Pearson correlation computed in SPSS and in R (the latter two are identical by the way). Would you have any idea why the Mplus correlation matrix is different from the two others? Thanks heaps in advance.
I would imagine that the sample size may be different between the programs and also perhaps the type of estimation. The default in Mplus since Version 5 is to use TYPE=MISSING which uses all available information. I think SPSS would do a listwise deletion or pairwise present analysis.
Thanks a lot for your prompt answer. I did specify pairwise deletion in SPSS and R. It seems that the two softwares perform the pairwise deletion because the number of observations are different for each pair of variables. I really don't see where the differences come from...
Mplus does not read an Euclidean distance matrix per se. You could use TYPE=CORRELATION in the DATA command to read the matrix. You would be on your own as far as interpreting the results however. I can't comment on other programs.
Jan Zirk posted on Tuesday, July 24, 2012 - 6:19 pm
Dear Linda or Bengt, Is it possible to automatically obtain in MPlus the correlation matrix with Bayesian estimation (non-inf. priors)? Also, how can I obtain the significance level for the ML correlations?
We don't provide standard errors for the correlations.
Jan Zirk posted on Thursday, July 26, 2012 - 2:48 pm
I see, thank you and best wishes.
Guanyi Lu posted on Wednesday, November 07, 2012 - 4:55 pm
Can we get the correlation matrix from a measurement model?
I have a few latent factors predicting a few sets of objective performance measures. Theoretically it does not make sense to put all objective performance measures in one model. I test my hypotheses using different structural models with each set of objective performance measures as DVs respectively. Now I want to get a correlation matrix including all objective measures and the latent variables.
Tech4 only gives me the correlation matrix of latent variables.
My correlation matrix in Mplus is different from the one computed in SAS. In mplus I specified in the data command LISTWISE = ON and selected listwise deletion in SAS to ensure that the correlation analyses were being conducted on the same sample in both programs. However, this didn't help with the problem. Any suggestions as to what I can do in Mplus to fix this?
If the data are the same, the correlations will be the same. Be sure you have the same sample size in both. If you can't see the difference, send both outputs and your license number to email@example.com.
Nara Jang posted on Friday, September 26, 2014 - 11:29 pm
Dear Drs. Muthen,
What is the command to get the p-values of correlation coefficients in Mplus?
For ML, MLR, and MLF, use the H1SE option along with TYPE=BASIC. For WLSMV, they are given automatically with TYPE=BASIC.
Nara Jang posted on Saturday, September 27, 2014 - 10:11 pm
Thank you so much, Dr. Muthen!
Tracy Witte posted on Friday, January 30, 2015 - 6:49 am
I am working on a manuscript and would like to include the MLR correlations I get from Mplus. When I use the H1SE option with TYPE=BASIC, I get standard errors for the covariance, but not the correlation matrix. Would it be inappropriate to use the statistical significance of the covariances (i.e., covariance divided by standard error) to indicate whether the correlations are statistically significant? If so, what options are there for determining the statistical significance of correlation matrices in Mplus?
We don't give these. The standard errors for the covariances will not be the same for the correlations. You can standardize the variables and use the covariances which will be the correlations and you will get standard errors for those.
Tracy Witte posted on Monday, February 02, 2015 - 7:04 am
Thanks! One thing I've tried to do is model the correlations between the observed variables using syntax similar to this:
Model: v1 v2 v3 v4; [v1 v2 v3 v4]; v1 with v2 v3 v4; v2 with v3 v4; v3 with v4;
However, when I do this, I get an error message that says
THE STANDARD ERRORS OF THE MODEL PARAMETER ESTIMATES MAY NOT BE TRUSTWORTHY FOR SOME PARAMETERS DUE TO A NON-POSITIVE DEFINITE FIRST-ORDER DERIVATIVE PRODUCT MATRIX. THIS MAY BE DUE TO THE STARTING VALUES BUT MAY ALSO BE AN INDICATION OF MODEL NONIDENTIFICATION. THE CONDITION NUMBER IS -0.816D-14. PROBLEM INVOLVING THE FOLLOWING PARAMETER: Parameter 99, EDEQ18 WITH BMIADMIT
THIS IS MOST LIKELY DUE TO HAVING MORE PARAMETERS THAN THE SAMPLE SIZE.
My sample size is 99, and I'm trying to model bivariate correlations between 22 different variables. Would I be better off standardizing the variables and using the approach you suggested above? Are there any downsides to standardizing the variables in this way? (and does it make a difference that I'm using MLR and have some variables with notable skew). Or, is this error message ignorable?
Why don't you explore this by working with only 2 variables, doing it the way you show here and pre-standardizing. Compare the results of those 2 approaches to each other and to the approach you show for all 22 variables. Make sure you use the same sample size in all 3 cases so the runs are comparable.
Tracy Witte posted on Tuesday, February 03, 2015 - 8:17 am
Thank you so much for the suggestion! So far, I've run 20 models, each with just two variables. All of the estimates have been identical to the full model that contains all 22 variables, with the exception of one that was .004 different.
Do you think that I should run all 210 pairwise correlations just to be sure, or is this enough to be confident that the warning message can be ignored for the full model?
Hello, I wonder why the correlations given in the sample statics differ from the correlations given in the results section when using the "with" command. Is this due to the fact that when using "with" Pearson correlation is requested independent of the metric of the scale? Thank you!
My question is related to differing results for correlation matrices.
I have run correlations based on mental health measure scores for couples in both Stata and in MPlus. However, I get vastly different results for these.
I have 340 couples with no missing data. I have checked the data file and format command etc in case I have made a mistake somewhere but cannot work out why these would be so so different. I am using ML estimation in MPlus.
Jamin Day posted on Sunday, August 09, 2015 - 11:29 pm
I have a dataset containing missing values and I'm curious as to how Mplus calculates the correlation/covariance matrices that are reported at the top of the output when running EFA.
From what I can determine these seem to be *estimated* matrices, calculated using missing data theory, hence N is equivalent for all variables (is this correct?). Most other statistical packages I've tried calculate correlation matrices using listwise or pairwise deletion methods. I'm able to replicate the Mplus correlation matrix in R by using LISTWISE = ON under the DATA command, but I'm not able to replicate the correlation matrix otherwise so it would seem Mplus approaches this differently.
Are you able to shed any light on what's happening 'behind the scenes' here?