Constrained estimation of a correlati... PreviousNext
Mplus Discussion > Structural Equation Modeling >
 Bruce A. Cooper posted on Thursday, June 28, 2007 - 8:12 pm
Kline (2nd ed., 2005, pp. 179-180, pp 221-222) describes a problem in fitting an SEM or CFA model to a correlation matrix, citing Browne (1982, which I don't have). He uses STATISTICA for his example in Ch8, because it provides "constrained estimation" in its SEPATH module. I've run his Ch8 CFA model in Mplus V4.21 using ML, ULS, & GLS, and although some of the estimates to those in the book are close, there are meaningful differences, some dramatic. Just wondering if Mplus has some way to do "constrained estimation" when using only a correlation matrix, that will provide correct estimates (according to Kline and to Browne). I haven't found anything in an admittedly brief keyword search on site, or in the manual.
 Bengt O. Muthen posted on Friday, June 29, 2007 - 8:00 am
I don't have Kline's book, but Mplus is well-equipped to analyze a correlation matrix. Using WLS, which is an "ADF" estimator in Browne's sense, you can use the Mplus option for correlation matrix input. This will give you the correct standard errors and chi-square taking into account that sample correlations are analyzed. This follows the normal theory results presented in Jennrich (1970) and Steiger and Hakstian (1982). As Browne (1982) points out, analyzing a sample correlation matrix using ML is not always equivalent to the above, correct approach.

Alternatively, a sample covariance matrix can be analyzed while the model is specified for the correlation structure. This is accomplished by using a diagonal matrix pre- and post-multiplying the model correlation matrix, with diagonals capturing the standard deviations of the variables.
 Linda K. Muthen posted on Friday, June 29, 2007 - 8:18 am
See also the MATRIX option of the ANALYSIS command.
 Bruce A. Cooper posted on Friday, June 29, 2007 - 11:02 am
You two are great! Thanks for your responses.
I hope you will bear with me, but I've just tried for an hour to do what you suggest and I can't figure it out, and I can't find help in the manual. It seems like I've bumped into a Catch-22. If I specify DATA: TYPE=CORR, I can only use ML or GLS for the continuous vars represented by my corr matrix. If I add the ANALYSIS: MATRIX=CORR, then I get the DOS window flashing on the screen with some errors I can't read, then no output. How do I specify the input data as a corr matrix and still be able to use WLS as the estimator?
- bac
 Linda K. Muthen posted on Friday, June 29, 2007 - 12:10 pm
Please send your input, data, output, and license number to I need to see your whole setup.
 zhang, ying posted on Tuesday, February 17, 2009 - 12:58 pm
I tried to run a simple path Analysis using correlation matrix. I specified the ESTIMATOR as WLS. However, I got an error message as follows:

*** ERROR in Analysis command
Analysis with estimators ML, GLS, and ULS can use summary data.
All other estimators require individual data.

Does that mean with summary data I cannot use Mplus for this kind of analysis if I want to use the ADF estimator? Does Mplus allow a specification of the weight matrix (e.g., the asympototic covariance matrix of the parameter estimates)in the discrepancy functions?
Thanks very much!
 Linda K. Muthen posted on Tuesday, February 17, 2009 - 1:37 pm
No, Mplus does not allow the specification of a weight matrix. You need raw data for WLS.
 Antti Kärnä posted on Tuesday, January 10, 2012 - 2:01 am
I have only a correlation matrix (based on N = 910) to use as an input. Is there a way to do CFA with it? I have read that ML is not in this case appropriate, but would GLS or ULS provide correct results?
Thanks in advance!
 Linda K. Muthen posted on Tuesday, January 10, 2012 - 6:21 am
In Mplus, the analysis of a correlation matrix is allowed only when all dependent variables are continuous. Only the WLS estimator can be used.
 Antti Kärnä posted on Tuesday, January 10, 2012 - 8:29 am
A further question: I have specified
DATA: FILE = data.txt;


But then I get the following warning:

*** ERROR in ANALYSIS command
Analysis with estimators ML, GLS, and ULS can use summary data. All other estimators require individual data.

If using WLS can be used, how should it be specified? Thanks again!
 Linda K. Muthen posted on Tuesday, January 10, 2012 - 10:13 am
Please send the full output and your license number to This is not a correct message.
 Andre Plamondon posted on Monday, March 04, 2013 - 9:41 am
What is the purpose of specifying the number of observations when using the correlation matrix as input? Is it to weigh the correlation matrix?

I'm asking because I'd like to do a meta-analytic SEM but I am getting the same error as the previous person. So I'm wondering whether the ML estimation weighs the correlation matrix similarly as the WLS method would.
 Linda K. Muthen posted on Monday, March 04, 2013 - 9:45 am
This simply specifies the size of the sample that generated the correlation matrix. There is no weighting involved.
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message