Re: SPSS Syntax MIXED Model

Posted by Zalihe on
URL: http://spssx-discussion.165.s1.nabble.com/SPSS-Syntax-MIXED-Model-tp5713934p5714049.html


Hi Ryan,

Firstly, i would like to thank you so much for your help and comments. Since all the three assumptions you were discussing about were true in my case, i have created a time variable as you told me. I have also created the corresponding age variable which changes as time change. Then, i have run the following code;


MIXED eGFR_Value BY Gender Ethnicity WITH Age
  /CRITERIA = CIN(95) MXITER(150) MXSTEP(5) SCORING(1)
  SINGULAR(0.000000000001) HCONVERGE(0, ABSOLUTE) LCONVERGE(0, ABSOLUTE)
  PCONVERGE(0.000001, ABSOLUTE)
  /FIXED = Gender Ethnicity Age Time Gender*Time Ethnicity*Time Age*Time | SSTYPE(3)
  /METHOD = ML
  /PRINT = G R SOLUTION TESTCOV
  /RANDOM = INTERCEPT Time | SUBJECT(ID) COVTYPE(UN).

where the eGFR_Value is the repeated measured blood test result which is my dependent variable.
I have also run the similar code with creating a variable called "Age-centered" where i have centered the Age variable by subtracting the mean age from individual age values, so by this way the age_centered variable will have the mean age zero that will standardize the distribution of age.

When i tried to add the some other predictor variables as such the following code;

MIXED eGFR_Value  BY Gender Ethnicity Hypertension_diagnosis Diabetes_Diagnosis IHD_Diagnosis Anaemia_Diagnosis Obesity_Diagnosis Time_point WITH Age
  /CRITERIA = CIN(95) MXITER(150) MXSTEP(5) SCORING(1)
  SINGULAR(0.000000000001) HCONVERGE(0, ABSOLUTE) LCONVERGE(0, ABSOLUTE)
  PCONVERGE(0.000001, ABSOLUTE)
  /FIXED = Gender Ethnicity Age Hypertension_diagnosis Diabetes_Diagnosis IHD_Diagnosis Anaemia_Diagnosis Obesity_Diagnosis Time_point Gender*Time_point Ethnicity*Time_point Hypertension_diagnosis*Time_point
Diabetes_Diagnosis*Time_point IHD_Diagnosis*Time_point Anaemia_Diagnosis*Time_point Obesity_Diagnosis*Time_point Age*Time_point| SSTYPE(3)
  /METHOD = ML
  /PRINT = G R SOLUTION TESTCOV
  /RANDOM = INTERCEPT Time| SUBJECT(ID) COVTYPE(UN).

At this point, i still have the same error message. Saying that "insufficient memory to estimate model parameters, execution of this command stops".

I also thought that analyzing such situation by adding a REPEATED command in order to analyze repeated measures should be needed and i tried that as well by having a code such as the following;

MIXED eGFR_Value  BY Gender Ethnicity Hypertension_diagnosis Diabetes_Diagnosis IHD_Diagnosis Anaemia_Diagnosis Obesity_Diagnosis Time_point WITH Age
  /CRITERIA = CIN(95) MXITER(150) MXSTEP(5) SCORING(1)
  SINGULAR(0.000000000001) HCONVERGE(0, ABSOLUTE) LCONVERGE(0, ABSOLUTE)
  PCONVERGE(0.000001, ABSOLUTE)
  /FIXED = Gender Ethnicity Age Hypertension_diagnosis Diabetes_Diagnosis IHD_Diagnosis Anaemia_Diagnosis Obesity_Diagnosis Time_point Gender*Time_point Ethnicity*Time_point Hypertension_diagnosis*Time_point
Diabetes_Diagnosis*Time_point IHD_Diagnosis*Time_point Anaemia_Diagnosis*Time_point Obesity_Diagnosis*Time_point Age*Time_point| SSTYPE(3)
  /METHOD = ML
  /PRINT = G R SOLUTION TESTCOV
  /RANDOM = INTERCEPT Time| SUBJECT(ID) COVTYPE(UN)
  /REPEATED = Observation_point  | SUBJECT(ID) COVTYPE(UN) .

However, this code also gives me the same error message as stated in the previous code.

Can you please help me to run these codes ? Thank you so much again for your interest and help.

Kind Regards,

ZALIHE.