I am estimating a mediation model with two exogenous variables and wish to specify all the variables as ordinal (see syntax below). To specify the exogenous variable as ordinal, used theta parameterization and created a latent factor as follows: MH BY mhr@1; mhr@0;
However, the model is only identified if I also fix the variance of the latent factor at 1 as follows: MH@1. I am not sure why this is necessary and what the estimated covariance between MH and PH in the psi matrix refers to considering that the variances for MH and PH are both set at one. Could you explain to me how MPlus has specified this? Thanks so much.
DATA: file is impute1_cov.txt; VARIABLE: NAMES ARE y2 y5 y6 y7 phr mhr ql1 ql2; USEVARIABLES ARE y2 y5 y6 y7 phr mhr ql1 ql2; CATEGORICAL ARE y2 y5 y6 y7 phr mhr ql1 ql2;
you are fixing the variance at zero, which means that the factor you create has no variance and hence cannot predict anything You want instead to fix it at one. The correlation with the other factor is then a polychoric one. That's what Mplus does in the first alternative I mentioned above.
Thank you very much for your reply. For some reason I cannot get the alternative that you suggested to work. I only get polychoric correlations when I explicitly specify latent factors for mhr and phr as I did above. I actually meant to specify these latent factors so that I could obtain their correlations with the other latent variables in TECH4 (the above model is actually embedded in a much larger larger model that requires theta parameterization, and I need the correlations between the latent factors to calculate a Pratt Index). Also, mhr and phr are actually ordinal variables with 5 categories.
Is my understanding of the following correct and is this a correct syntax for specifying exogenous ordinal categorical variables in the model? MH by mhr@1; MH@1;-> fixes variance of latent MH at 1 in PSI; mhr@0;->fixes residual of mhr at zero in theta;
Everything looks fine in the output, but I just want to be sure ...
Thanks again for your reply. If I leave mhr@0 out, the program gives a warning that the model is not identified with respect to the implied correlation between MH and PH. This issue is resolved if I specify mhr=0 and phr=0.
I think that MPlus is actually placing another latent factor before PH and MH so as to estimate their correlation as follows: f by mhr@1 phr; f@1;
I get identical results when I do so. In that case, PH and MH become endogenous and mhr@0 and phr@0 fixes the residual variances of the observed ordinal variables at zero in theta. Is my understanding correct?
It sounds like you need to send all of your files and your license number to email@example.com. This cannot be solved without more information. We will be away for a week and will look at it when we return.