'Error while computing mixed model in SPSS

I have a problem and just can't seem to solve it. Unfortunately I have to work with SPSS, in R I would know how to do this correctly.

I have data from about 2000 different VPN. At three points in time I asked them about their state of mind. If I look at the different data in the scatter plot for the first 10 people, you can see very well that there are very different progressions.

Now I first calculated an intercept only model and that worked well. Then I added the time factor as a covariate (first fixed). This model also worked.

If I now try to make the slopes for the time variable a random factor SPSS gives me the following error message: "The iteration was terminated without achieving convergence. The MIXED procedure continues despite this warning. Subsequently generated results are based on the last iteration. The validity of the model's goodness of fit is not assured.". Also, when estimating covariance parameters, it shows that the variance for the slopes is redundant --> "This covariance parameter is redundant."

I can't figure out what I'm doing wrong. Can anyone help me out?

Here is my dataset:https://wetransfer.com/downloads/4955361a5470628166458013e01f49d920220301145150/72a77b

and my syntax:

  
MIXED Psychisch
  /CRITERIA=DFMETHOD(SATTERTHWAITE) CIN(95) MXITER(100) MXSTEP(10) SCORING(1) 
    SINGULAR(0.000000000001) HCONVERGE(0, ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)    
  /FIXED=| SSTYPE(3)
  /METHOD=ML
  /PRINT=G  SOLUTION TESTCOV
  /RANDOM=INTERCEPT | SUBJECT(id) COVTYPE(VC)
  /REPEATED=Zeit | SUBJECT(id) COVTYPE(UN).


MIXED Psychisch WITH Zeit2 
     /CRITERIA=DFMETHOD(SATTERTHWAITE) CIN(95) MXITER(100) MXSTEP(10) SCORING(1) 
    SINGULAR(0.000000000001) HCONVERGE(0, ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)    
  /FIXED=Zeit2  | SSTYPE(3)
  /METHOD=ML
  /PRINT=G  SOLUTION TESTCOV
  /RANDOM=INTERCEPT | SUBJECT(id) COVTYPE(UN)
  /REPEATED=Zeit | SUBJECT(id) COVTYPE(UN).


***Random Slopes***

MIXED Psychisch WITH Zeit2 
  /CRITERIA=DFMETHOD(SATTERTHWAITE) CIN(95) MXITER(100) MXSTEP(10) SCORING(1) 
    SINGULAR(0.000000000001) HCONVERGE(0, ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)    
  /FIXED=Zeit2 | SSTYPE(3)
  /METHOD=ML
  /PRINT=G  SOLUTION TESTCOV
  /RANDOM=INTERCEPT Zeit2 | SUBJECT(id) COVTYPE(UN)
  /REPEATED=Zeit | SUBJECT(id) COVTYPE(ID).

Kind regards!

NatasaSu



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source