Anonymous posted on Wednesday, September 28, 2005 - 6:11 pm
I am analyzing short-term longitudinal data. I have 4 observation points sample size of 200 individuals. I have the model developed, but I continue to get an error message that the psi (latent variable) covariance matrix is not positive definite. After researching this issue, beyond consulting the Wothke article (I'm having trouble getting my library to order this article), what may I do to remedy this issue?
I believe that the data are salvagable so any tricks of the trade are well appreciated. Thanks in advance.
If you are using Version 3.13 it should point to which variable has the problem. You may have a negative residual variance or a correlation of one somewhere. You can see the negative residual variance in the results and you can ask for TECH4 to see if any variables have a correlation greater than one. Otherwise, you may have a dependency among two or more of your variables. If it is a small negative residual variance, you could fix it to zero. Otherwise, you would need to change your model. If you can't figure this out with this information, please send your input, data, output, and license number to firstname.lastname@example.org.
WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IS NOT POSITIVE DEFINITE. THIS COULD INDICATE A NEGATIVE/RESIDUAL VARIANCE FOR A LATENT VARIABLE, A CORRELATION GREATER OR EQUAL TO ONE BETWEEN TWO LATENT VARIABLES, OR A LINEAR DEPENDENCY AMONG MORE THAN TWO LATENT VARIABLES. CHECK THE TECH4 OUTPUT FOR MORE INFORMATION. PROBLEM INVOLVING VARIABLE IN.
In the tech4 section I have found that there are correlations higher than 1. I don't understand exactly what does it mean and I don't know how to solve the problem. Could you help?
I think this will be solved if you include residual covariances among the outcomes at each time point, for example, d1 WITH neg1 etc.
Note that you should fit each process separately prior to putting them together in the same model.
Liu Xiao posted on Friday, August 17, 2007 - 2:41 am
I am doing a latent growth modeling, and I meet the same problem. The syntax:
agg2 by zcpagg2 ztrext2 (1); agg3 by zcpagg3 ztrext3 (1); agg4 by zcpagg4 ztrext4 (1); agg5 by zcpagg5 ztrext5 (1); agg6 by zcpagg6 ztrext6 (1); [zcpagg2 zcpagg3 zcpagg4 zcpagg5 zcpagg6] (2); [ztrext2 ztrext3 ztrext4 ztrext5 ztrext6] (3); i1 s1 | agg2@0agg3@1agg4@2agg5@3agg6@4;
zcpagg6 with zcpagg5; zcpagg4 with zcpagg5;
WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IS NOT POSITIVE DEFINITE. THIS COULD INDICATE A NEGATIVE VARIANCE/RESIDUAL VARIANCE FOR A LATENT VARIABLE, A CORRELATION GREATER OR EQUAL TO ONE BETWEEN TWO LATENT VARIABLES, OR A LINEAR DEPENDENCY AMONG MORE THAN TWO LATENT VARIABLES. CHECK THE TECH4 OUTPUT FOR MORE INFORMATION.PROBLEM INVOLVING VARIABLE AGG2.
I check the tech4, there are correlations higher than 1. In residual variance, there are agg2, agg3,agg4, agg6, lower than 0.
How can I fix this problem? Can I use the MODEL CONSTRAINT to constraint the residual variance larger than 0 and smaller than 1?
Having only two indicators for your factors can be problematic as the factor at each time point is not identified without borrowing information from other parts of the model. Try running the model without measurement invariance and without the growth model to see if the problem occurs with that model. If so, the model is probably not correct for the data. If it occurs only after imposing measurement invariance, it may be that the factors are not invariant across time.
I'm using a latent growth model to model math achievement across 3 time points. I've gotten the same message that others have written about (PSI matrix is not positive-definite). The problem involves the variable "linear" (ie, the latent variable representing linear growth).
There are no negative residual variances, although the residual variance for "linear" is 0.000. I've checked my variables for collinearity and do not believe that to be a factor. I've also made sure that the variables have similar variances. One of my math variables has very high kurtosis (39). I've tried transformations (square root, natural log, and inverse; then I reflected the variable and tried all 3 again)--the transformations only make the kurtosis worse.
Does anyone have any suggestions for how to fix this problem? Could it be due to the kurtosis, and if so, how does this affect the accuracy of the estimates that Mplus calculates?
You say the residual variance for the linear slope is 0. That could be a cause for the message, for example if the slope is regressed on the intercept. Or the slope and the intercept are correlated 1.0 - which you can see in the TECH4 output. To avoid this you may want to center at a different time point.
The slope and intercept were actually not correlated very highly. I did try centering at a different time point, but it didn't help. I finally fixed the "linear" residual variance to .001 (based on other posts & responses, it seems that this is acceptable), and stopped getting the error message.
If this is not a good solution, I'd appreciate hearing about it, although it seems that others have done similar things.
What may also be happening in your data is something that seems to occur more in achievement data than any other type of data: insufficient changes in rank-order for modeling *variability* in growth (i.e., *very* high correlations between repeated measures). I ran into a similar problem as yours in working with some early reading achievement data (i.e., pre-kindergarten through 4th grade) - and (according to some developmental psychologist friends of mine) for some (but not all) types of achievement outcomes this phenomenon seems consistent with literature that suggests that, after a certain point kids tend to maintain their rank ordering in achievement.
I'd still wait to see what Bengt suggests you do about it - but you may want to peek at the sample correlations (and see if they are really high) to help diagnose where this is coming from......
We are looking at academic achievement data using the same measure at three time points. We have four outcome variables: math, vocabulary, listening comprehension, and alphabet knowledge.
We first ran the model for math, and it worked just fine. We then tried to run the models for the other three outcomes and we received the following message:
WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IS NOT POSITIVE DEFINITE......
Upon reviewing the output, we notice we have a correlation between baseline and linear that is greater than 1. We have tried centering the variables at each time point and we've checked for collinearity. However, we still get the same warning message. We do not have enough df to do all of the with statements and therefore, that is not an option for us. We are not sure why the intercept and growth terms are so highly correlated and what we can do about it at this point.
I'm doing a unconditional LGGM with alcohol use data. When I assumed 3 classes I also received above mentioned warning. Looking at tech4 revealed that I have a negative variance in my Intercept. Some colleagues mentioned that it helps to fix variances of the slope and/or intercept to zero to avoid the warning. But the variances of my intercept and slope are significant. Is fixing the variance of the slope or intercept to zero really the right way to handle that problem? Additional information: 1)My Data is skewed and has a preponderance of zeros and i haven't done two part yet,is this problem related to psi-warning?, (I'm doing LGMM with MLR instead, to get a clue about LGMM, which is a new topic for me). 2)I have some outliers at time1 (which is the intercept). Would deleting them be helpful? 3) are there any model restrictions (in LGGM default by mplus 4.21) which may foster the psi-problem? Can I free/fix a parameter (beside above mentioned variances) to solve the problem?
If you have a significant negative residual variance, the model is not appropriate for the data. Outliers and a preponderance of zeros should be considered. Please send your input, data, output, and license number to email@example.com for further comments.
Jungeun Lee posted on Sunday, December 16, 2007 - 5:51 pm
Related to the post 'pm posted on Monday, November 12, 2007 - 12:52 pm' and 'Bengt O. Muthen posted on Monday, November 12, 2007 - 1:06 pm', can we trust variance estimates got from the model that we get some warnings like 'non-positive PSI', 'parameters were fixed to avoid singularity of the information matrix'?
I am working on a growth mixture model. When I have more than 2 classes without constraining within-class variances, I meet the same problem (PSI is not positive definit). Whenever I have this problem, I am pretty puzzled about what I can do about it. Could you give us a general guidance in what we can do about it to fix this problem? OR, solutions to this problem depends on the situation?
i am working on a growth curve model with an intercept and a slope factor. outcome variable is the summarized annual rate in self-reported delinquency for 15 offenses. the rate is transformed to its natural logarithm. besides that i included a range of TVCs (modelled as markov-chains) and three TICs. i have five time-points to analyze. the slope factor loadings are fixed to 0 and 1 for time point 1 ad 2 resp. the rest is freely estimated. all constructs (except the TICs) are treated as latent variables.
here comes the problem:
when estimating the model under listwise deletion conditions everything is fine. using the option of full information estimation leads to a correlation greater 1 between intercept and slope. i am wondering why? and what can be done? fixing the variance at a certain value? fixing the growth factor means at zero (loss of information)?
The data are quite different when you use listwise deletion versus TYPE=MISSING; which suggests the listwise deletion sample is selective.
To better understand why you get growth factors correlating greater than one, I would first fit the growth model without covariates. Then I would add time-invariant covariates. After that I would add time-varying covariates.
me again. Is there any possibility to change something in the model or any way out this problem?
THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IS NOT POSITIVE DEFINITE.
That is the modell: W1_TA by w1_taet2 w1_taet4 w1_taet5 w1_taet6; W2_TA by w2_taet2 w2_taet4 w2_taet5 w2_taet6; W3_TA by w3_taet2 w3_taet4 w3_taet5 w3_taet6; W1_OP by w1_opf2 w1_opf3 w1_opf4 w1_opf5; W2_OP by w2_opf2 w2_opf3 w2_opf4 w2_opf5; W3_OP by w3_opf2 w3_opf3 w3_opf4 w3_opf5;
W2_TA on w1_OP w1_TA; w2_OP on w1_OP w1_TA; w3_TA on w2_OP w2_TA; w3_OP on w2_OP w2_TA;
w1_OP with w1_TA; w2_OP with w2_TA; w3_OP with w3_TA;
After running this syntax I get the following message:
WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IS NOT POSITIVE DEFINITE. THIS COULD INDICATE A NEGATIVE/RESIDUAL VARIANCE FOR A LATENT VARIABLE, A CORRELATION GREATER OR EQUAL TO ONE BETWEEN TWO LATENT VARIABLES, OR A LINEAR DEPENDENCY AMONG MORE THAN TWO LATENT VARIABLES. CHECK THE TECH4 OUTPUT FOR MORE INFORMATION. PROBLEM INVOLVING VARIABLE S2.
After checking TECH4, I see that in the estimated covariance matrix I have negative values and values greater than 1. How can I solve this problem?
In the the estimated correlation matrix, I have negative values. This should not be a problem, should it?
I would only fix it in the quadratic model if it is estimated as a small negative value.
Alan Gow posted on Wednesday, August 24, 2011 - 5:01 am
I'm running a growth curve model with 3 latent factors (each defined by 4 measures). The warning message WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IS NOT POSITIVE DEFINITE. THIS COULD INDICATE A NEGATIVE VARIANCE/RESIDUAL VARIANCE FOR A LATENT VARIABLE, A CORRELATION GREATER OR EQUAL TO ONE BETWEEN TWO LATENT VARIABLES, OR A LINEAR DEPENDENCY AMONG MORE THAN TWO LATENT VARIABLES. CHECK THE TECH4 OUTPUT FOR MORE INFORMATION. PROBLEM INVOLVING VARIABLE I.
appears. Checking TECH4 shows a correlation greater than 1 with the first factor and a covariate. How can I remedy this?
You may need a direct effect from the covariate to a factor indicator. Check the modification indices.
Till posted on Tuesday, September 13, 2011 - 6:09 am
Dear Mrs. and Mr. Muthén, I'm conducting a latent growth curve analysis with the factors F1 F2 F3 as latent exogenous variables. I'am interested in the parameter loadings between these factors and the slope. Slope and intercept are assessed at nine time points. In one sample, MPlus warns me that the latent variable covariance matrix is not positive definit which seems to be due to a negative residualvariance and a negative variance of the slope. Is there a way to solve that problem, for example by fixing the residualvariance to 0.01 or would that mean to suppress the variance of the slope which I'am mainly interested in? Could I, as an Alternative, just report the unstandardized values of the parameters? Please find my Input data below:
We get the PSI warning that people have mentioned in the thread. TECH4 shows a value of 1.004 between S and I in the correlation matrix, I guess that's the reason.
So I included y0 y1 y2 y3 PWITH y1 y2 y3 y4; as seen in one of your videos. This changes the correlation to -0.028, the PSI warning disappears, and the MI also get smaller (highest one from 240 to 190, but still high).
However, since the MI indices are very high and the fit is bad, I freed the last 3 timescores (y0@0y1@1 y2*2 y3*3 y4*4;). The fit indices get wonderful and the MI indices much better, but the correlation between I and S goes up again to 3.9 again and the PSI warning appears.
The same happens in models with several classes as soon as I move from a LCGA model (i-s@0;) to a GMM model (!i-s@0): good fit, but correlation between I and S >1.
(Negative residual variances seem not to be a problem.)
Thank you for suggestions Torvon
EFried posted on Saturday, January 21, 2012 - 1:03 pm
(Update: in some class solutions I do actually have negative residual variances in the biggest class, usually on I. In the so far best 2 class solution the negative residual variance of I = -.6, too big to just fix it to zero )
I'm trying to run a straightforward growth curve model of a single observed variable over 5 time points, and I am getting the non-positive definite PSI matrix error. The slope term is causing a problem: according to the TECH4 output the correlations of S with S, and of S with I, are both 999. I had previously tried running it with a larger data set, when the correlation of S with I was estimated as above 3, and most of the other parameters seemed to be estimated normally.
There is nothing strange about the data as far as I can tell - all five variables are roughly normally distributed, with correlations between the time points ranging from 0.43 to 0.59.
My model syntax is as follows (which works fine for different variables):
I´m running an growth curve model with 4 time points. When I use only an linear latent slope, the model is performing well. when I introduce an quadratic slope I get the warnings WARNING: THE RESIDUAL COVARIANCE MATRIX (THETA) IS NOT POSITIVE DEFINITE.
WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IS NOT POSITIVE DEFINITE.
Indeed, I checked, the model estimates two negativ variances
I am trying to estimate a multiple indicator linear growth model for two parallel processes for continuous outcomes and I am getting the warning that the latent variable covariance matrix (PSI) is not positive definite.
When inspecting the model results and TECH4 output, it turns out that one of the slopes has a negative variance and a correlation of 999 with all other latent variables. I have tried to center the time scores, but this doesn’t solve the problem. When I fix the variance of the slope to zero I do not get the warning anymore, but the correlation between the slope and all other latent variables remains to be 999 and more importantly, it does not allow me to investigate the correlated change. Is it possible to solve this problem without fixing the variance of the slope to be zero?
Thank you very much for your help and suggestions in advance!
I am doing a multi-group comparison of a pretty complicated SEM model. When I run the analysis, the model converged for two of my groups but not the third. For this group, I get a not positive definite psi matrix.
The problem is with the residual variance of my latent outcome. The size of the residual variance is -.015 and it is highly insignificant p=.623.
For the other groups, the residual variance is very small (.008 and .007) and also insignificant (.781 and .819).
I am wondering if it would, therefore, be justifiable to fix the residual variance of this latent variable to zero?
Sorry for the previous message, I was looking at the wrong version of my model. This is a cross-sectional complex model where I am doing a multi-group comparison. The model is pretty complicated. When I run it, I get a not positive definite psi matrix for all my groups.
The problem is with the residual variance of my latent outcome. The size of the residual variance is -.002, -.004, and -.024 depending on the groups and is highly insignificant p>.5
Given this, I am wondering if it would be justifiable to fix the residual variance of this latent variable to zero?
I am trying to run this GMM but am getting an error: WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IN CLASS 2 IS NOT POSITIVE DEFINITE. THIS COULD INDICATE A NEGATIVE VARIANCE/RESIDUAL VARIANCE FOR A LATENT...
Is it because I'm getting a negative variance?
ESTIMATED COVARIANCE MATRIX FOR THE LATENT VARIABLES ICEPT LINEAR ________ ________ ICEPT 0.082 LINEAR 0.021 -0.007
How can I fix this? I read the other posts but I wasn't sure and don't want to do it incorrectly.
Yes, a negative variance gives this message. This implies that the latent classes explain all variation in the linear growth factor and there is no further within-class variation. You can fix this variance at zero, or you can use fewer classes.
I have fixed this variance to zero, but after reading some more on your website it seems that I should not fix this variance to zero if it significant correct? The slope variance of -.007 is significant. See below for reference.
Linda K. Muthen posted on Wednesday, November 28, 2007 - 2:41 pm If you have a significant negative residual variance, the model is not appropriate for the data. Outliers and a preponderance of zeros should be considered. Please send your input, data, output, and license number to firstname.lastname@example.org for further comments.
I'm estimating a dyadic growth model and am getting a warning about one of the latent variables, but cannot see why this warning is coming up. Can you please help?
THE MODEL ESTIMATION TERMINATED NORMALLY
WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IS NOT POSITIVE DEFINITE. THIS COULD INDICATE A NEGATIVE VARIANCE/RESIDUAL VARIANCE FOR A LATENT VARIABLE, A CORRELATION GREATER OR EQUAL TO ONE BETWEEN TWO LATENT VARIABLES, OR A LINEAR DEPENDENCY AMONG MORE THAN TWO LATENT VARIABLES. CHECK THE TECH4 OUTPUT FOR MORE INFORMATION. PROBLEM INVOLVING VARIABLE SW. Thanks,
One of our analyses generated the message below. The problem variable (S) has a positive variance that is not significantly different from zero. We have at least one correlation greater than 1. Is it permissible to fix the variance of S to zero, and could it resolve the problem of having correlations greater than 1?
WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IN CLASS 1 IS NOT POSITIVE DEFINITE. THIS COULD INDICATE A NEGATIVE VARIANCE/ RESIDUAL VARIANCE FOR A LATENT VARIABLE, A CORRELATION GREATER OR EQUAL TO ONE BETWEEN TWO LATENT VARIABLES, OR A LINEAR DEPENDENCY AMONG MORE THAN TWO LATENT VARIABLES. CHECK THE TECH4 OUTPUT FOR MORE INFORMATION. PROBLEM INVOLVING VARIABLE S.
The correlation between I and S was greater than 1. Strangely, the correlations between Q and every other latent variable were also greater than 1, but no warning message was generated for Q until after the variance of S was fixed to 0.
In the event that this error message is generated for multiple parameters at once, should they all be constrained at once? Or is it possible that constraining one will resolve the problems with the others?
I am running a GMM with a quadratic and cubic term, both significant, VARIABLE: NAMES ARE b1-b5; Missing are all (-999); CLASSES = c (3); ANALYSIS: TYPE = MIXTURE; STARTS = 400 20; MODEL: %OVERALL% i s q u| b1@0b2@1bi3@2b4@3b5@4; OUTPUT: TECH1 TECH4;
I receive this message WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IN CLASS 1 IS NOT POSITIVE DEFINITE. THIS COULD INDICATE A NEGATIVE VARIANCE/ RESIDUAL VARIANCE FOR A LATENT VARIABLE, A CORRELATION GREATER OR EQUAL TO ONE BETWEEN TWO LATENT VARIABLES, OR A LINEAR DEPENDENCY AMONG MORE THAN TWO LATENT VARIABLES. CHECK THE TECH4 OUTPUT FOR MORE INFORMATION. PROBLEM INVOLVING VARIABLE U. I looked at tech 4, not sure what the problem is.
If I drop the cubic term and leave the quadratic (some of the curves look quadratic) I get
WARNING: THE RESIDUAL COVARIANCE MATRIX (THETA) IN CLASS 1 IS NOT POSITIVE DEFINITE...CHECK THE RESULTS SECTION FOR MORE INFORMATION. PROBLEM INVOLVING VARIABLE B5. for all the classes
There is substantial missing data at timepoint B5. B5 has a negative residual variance. I am not sure how to improve this model? thanks
The message is caused by the negative residual variance which makes the results inadmissible. If it is small and not significant, you can try fixing it to zero. You can also try holding the residual variances equal across time.
I'm estimating a dyadic growth model and am getting a warning about one of the latent variables, but cannot see why this warning is coming up. Can you please help?
THE MODEL ESTIMATION TERMINATED NORMALLY
WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IS NOT POSITIVE DEFINITE. THIS COULD INDICATE A NEGATIVE VARIANCE/RESIDUAL VARIANCE FOR A LATENT VARIABLE, A CORRELATION GREATER OR EQUAL TO ONE BETWEEN TWO LATENT VARIABLES, OR A LINEAR DEPENDENCY AMONG MORE THAN TWO LATENT VARIABLES. CHECK THE TECH4 OUTPUT FOR MORE INFORMATION. PROBLEM INVOLVING VARIABLE SWM. Thanks,
Hi Dr. Muthen, I have been trying to run a growth model for two parallel processes with continuous outcomes. Unfortunately I have a small sample size, only 61. However, I am trying to cover my bases. I ran the model and got the error message of a negative residual, problem with s2. I fixed s2@0 and it failed to converge. Do you have any suggestions on next steps or do you think the model is just not a good fit with the sample size? Thanks, Eddie
DavidBoyda posted on Sunday, February 28, 2016 - 3:38 am
I have a mediation model with dichotomous outcomes thus estimated the model using WLSMV but I am receiving this error:
THE SAMPLE CORRELATION OF Y4 AND Y3 IS -1.000. DUE TO ONE OR MORE ZERO CELLS IN THEIR BIVARIATE TABLE. INFORMATION FROM THESE VARIABLES CAN BE USED TO CREATE ONE NEW VARIABLE. THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IS NOT POSITIVE DEFINITE.
I see by Tech 4 that the covariance and correlation matrix that my 3 outcome Dvs appear to be almost near -1.00 (-0.992) in association.
Dear support, I am comparing 3-class models by gradually freeing parameters and testing whether the covariates have class-specific effects on the growth factors, to find the best fitting model. When I let the slope be freely estimated within each class, I get the ‘NOT POSTIVE DEFINITE’ message. Inspecting tech 4, I found that for class two, i and s had a correlation greater than -1. Q1: Can this be remedied by fixing the variance of s to 0, for class two only? Since I have covariates in the model, does specifying s@0 actually mean that I am fixing the residual variance of s to 0? Q2: If freeing both i and s leads to a model with problems (either non-convergence or out-of-range estimates), do I still report the model’s fit indices in the table presenting the models I am comparing? Or do I exclude fit results from this model stating that it was unidentifiable, and rather give the results from revised models that worked okay? Q3: When I add covariates, the sample size drops. I read in the UG that covariates are not part of the model and thus missingness for them is not allowed. It also says, however, that covariate missingness can be modeled if the covariates are brought into the model. Q4: How do I bring the covariates into the model? Q5: Journals often require a correlation matrix for study variables. If I let the covariates be exogenous, is it then better to report bivariate correlations of the reduced sample?
Thank you for Your response, Dr. Muthen. very helpful. May I follow up With another question. I have now two models that are better than the rest, but these two are very similar with reagrds to BIC and entropy. One has the covariates' effects Equal within classes, whereas the other has the effects of covariates freely estimated within classes. They get the same entropy value of .74, and almost the same BIC value. So I can perform a difference test using their respective loglikelihood (H0) values. The more restrictive model (with covariates effects held Equal) has a logL value of -29843.64 and 28 parameters and the one With covariates freed has a LogL of -29791.45 With 52 parameters. If I understand this correctly, since the difference x 2 is 104.38 is more than the chi-square Critical value With 24 df (the difference in number of parameters), it indicates that the model With more restrictions is worse?
Emma Thomas posted on Thursday, March 03, 2016 - 11:40 pm
Dear Drs Muthen,
I am conducting autoregressive mediation models using two latent factors and one observed dependent variable, measured over three time-points. When I run the models I get the warning indicating that the PSI is not positive-definite and inspection of Tech4 shows that my latent variables are consistently correlating at greater than one with earlier measures of the same variable. That is, latent variable measured at time 1 correlates with the same latent variable measured at time 2 and time 3 > 1. Collapsing them is obviously not an option -- do you have any advice as to how I can go about addressing this problem? Or is the only alternative to conduct comparable analyses using LGCM instead?
Re the first problem, you can follow the advice or delete on of those variables that create the -1 correlation (which is used with WLSMV). Alternatively, you can switch to ML although that may lead to heavy computations due to numerical integration.
Re the second problem, you need to find where and then why this happens and modify your model.
I ran the growth curve using ML estimation and both of these warnings disappeared. However, I didn't get fit statistics (as displayed below). Do you have any suggestions on how to obtain fit statistics?
I tried using TECH 10 and am getting the following warning:
TECH10 OUTPUT FOR CATEGORICAL VARIABLES IS NOT AVAILABLE FOR MODELS WITH COVARIATES.
What are your suggestions?
I had fit statistics in my original model with the warnings. I am wondering what are the risks of ignoring the warnings and using those results? Note that I only need the gamma estimates, not the fit statistics to answer my research questions.
This model was successful! Thank you! Are you aware of any citations for using ML over WLSMV or eliminating fit statistics for accurate gamma estimates for growth curve models?
For a similar model with the same error originally (a growth curve with 10 items at 3 time points and 11 time-invariant predictors), I tried using ML estimation again and obtained the following:
THE MODEL ESTIMATION DID NOT TERMINATE NORMALLY DUE TO A NON-ZERO DERIVATIVE OF THE OBSERVED-DATA LOGLIKELIHOOD.
THE MCONVERGENCE CRITERION OF THE EM ALGORITHM IS NOT FULFILLED. CHECK YOUR STARTING VALUES OR INCREASE THE NUMBER OF MITERATIONS. ESTIMATES CANNOT BE TRUSTED.THE LOGLIKELIHOOD DERIVATIVE FOR PARAMETER 29 IS 0.31577533D+00.
We have a question about a measurement model- any help would be greatly appreciated if you have time.
We are running a full measurement structure as a first step in a SEM model in which ultimately a bifactor model's factors will be the outcomes. When we run all the predictor latents alongside the bifactor, we get the psi matrix non positive definite warning and it states at the end "PROBLEM INVOLVING VARIABLE STRESS1."
The cause of this seems to be 3 factor correlations >1. We suspected this may be due to some of the predictor latents having only 2 indicators (including STRESS1). It seems that when we identify the bifactor structure by freeing the first indicator and setting factor variances @1, that the problem of correlations >1/psi matrix warning is fixed. Can it be that doing this stops the 2-indicator predictors from borrowing information from the bifactor and therefore fixes the problem?
Different ways of setting the metric of the factors should give the same number of parameters (check this) and give the same loglikelihood value. Therefore, there should be no difference in the Psi matrix being pos def or not.
Thanks for this. I have double checked and compared models where the only difference is the metric of the factors and the number of free parameters is the same in both versions. (I am using wlsmv so could not check log likelihood.) However, the default standardisation results in the psi matrix warning (mentioning one of the 2-item factors) and correlations >1, while setting the bifactor factors variances to 1 doesn't have these problems.
Is it alright to assume the @1 model should form the basis of our further analysis or is something else going on?
Thanks for this. We just thought we'd double check in case there was anything else and noticed that it might be better to fix the second indicator on the general factor @1 since this was already close to 1 in the unstandardized results. This does fix the problem but again we can't think why? The warning specifically mentions stress1 not the general factor so perhaps this is not a useful change?Should we still send the output?
I'm running a bivariate latent difference score (LDS) model for a longitudinal study. I have 2 variables (WIP and COLL) that have been assessed at 4 time points. I'd like to estimate the coupling parameters (latent WIP scores predicting latent differences in COLL, and latent COLL scores predicting latent differences in WIP), as well as the effects of initial latent scores on the trajectory (constant-change) latents (initial WIP predicting the COLL trajectory and initial COLL predicting the WIP trajectory). (The model is structured after Sbarra & Allen .)
After running separate univariate LDSs for WIP and COLL, I put them together into the bivariate model. However, I'm getting the non-positive-definite psi matrix warning. The TECH4 output shows correlations of greater than 1 involving the time-2 COLL latent score (LCOLL2), as well as the COLL initial-level latent (LEVCOLL). I can fix the error by constraining the covariances between initial levels of either variable (LEVCOLL or LEVWIP) and the trajectory (constant-change) latents for the other variable (TRWIP or TRCOLL) to 0, but I want to estimate these covariances to see whether the coupling parameters are needed to explain the data.
If it would help I'd be happy to send my input file, output, and/or data (plus my license number).
There can be multiple causes of this error message. Some things I would try are to (1) make sure that you're including the time-specific covariances between the uniquenesses, (2) examine alternative residual structures (often times people will constrain the residuals to be equal over time for each construct, and relaxing this constraint can affect the covariance estimates for the latent variables), and (3) check model specification for equality constraints (sometimes we inadvertently constrain parameters (e.g., proportional change parameters) to be equal across constructs). If you still have issues, you can take a look at our companion website for our growth modeling book (https://www.guilford.com/companion-site/Growth-Modeling/9781462526062) - chapter 17, or feel free to send me the data and Mplus file.
I have been trying to fit an unconditional multilevel growth model but also obtain non-positive definite PSI and THETA matrix errors. A beginner at MPLUS, I inspected TECH4 and was not able to recognize any unusually high correlations. I, on the other hand, am unsure of how to identify and fix variables with negative residuals (which I do have).
I recognized variables with negative residual variances in the model results and fixed each to 0 one by one (all of them were not significant). After doing this the error messages remain.
You may want to study up on our Topic 3 and 4 Short Course videos and handouts on our website.
One way to avoid the occurrence of some negative residual variances is to hold them equal across time. I wouldn't just fix them to zero. Having several of them negative could also be a sign of a mis-specified growth model.
Upon further review of the online videos and other posts on this topic I was able to make more sense of the TECH4 output. I was incorrect when I previously said that I received negative residuals in my output. I, instead, obtain a negative SB2 variance (slope term at the third level of my three level growth model).
I realize that you mentioned that in the case of negative residuals I could make them all equal across time to fix the "non-positive definite PSI matrix error". My (new) question is, if this is also a solution for a negative variance? If so, how would I go about doing this across time points? (I only found a solution to do this across groups but not time).
I wanted to add to my previous post that the negative variance I obtain is not significant. It is because of this that I wonder if fixing that parameter equal across time could fixe the "non-positive definite PSI matrix" error.
Try it. It might better be viewed as a fixed effect.
Anonymous posted on Wednesday, October 31, 2018 - 3:43 pm
Hello Linda & Bengt,
I am receiving a non-positive definite matrix error and an error in the PSI matrix. I fix the variance of the variable identified in the error to "0" and the error just shifts to another variable in the model (and so on). Do you have any general advice to help troubleshoot this issue.
For reference, my outcome is latent variable with 6 indicators, I have three observed dummy coded independent variable, and one observed continuous mediator.
Here is my original syntax without fixing any variances:
!: Latent Variables
legit by enctrust1 enctrust2 enctrust3 encobey1 encobey2 encobey3;
a_dj on rspctrx highqdm femdriver; legit on a_dj rspctrx highqdm a_dj femdriver;
!Exogenous correlations rspctrx highqdm femdriver WITH rspctrx highqdm femdriver;
Model indirect: rspctrx IND legit; highqdm IND legit;
i s | y1@0y2@1y3@2y4@3; y1 ON time_varying_cov1; y2 ON time_varying_cov2; y3 ON time_varying_cov3; y4 ON time_varying_cov4; i; s; [i]; [s]; i with s;
The model estimation terminates normally with the above syntax. However, when I add the grouping is group_var (0=g1 1=g2); option in the Variables command: I receive this error.
"WARNING: THE LATENT VARIABLE COVARIANCE MATRIX (PSI) IN GROUP g1 IS NOT POSITIVE DEFINITE. THIS COULD INDICATE A NEGATIVE VARIANCE/ RESIDUAL VARIANCE FOR A LATENT VARIABLE, A CORRELATION GREATER OR EQUAL TO ONE BETWEEN TWO LATENT VARIABLES, OR A LINEAR DEPENDENCY AMONG MORE THAN TWO LATENT VARIABLES. CHECK THE TECH4 OUTPUT FOR MORE INFORMATION. PROBLEM INVOLVING VARIABLE I."
A similar second warning is issued for group g2 with variable S.