06-14-2018 01:15 PM
I am running SAS9.4TS1M4 on Windows 7. I am able to run following proc mixed code without any problem.
proc mixed data=InDat;
model Y = T T*T T*T*T T*T*T*T T*T*T*T*T T*T*T*T*T*T/ddfm=kr solution outpm=predictm;
random int T/subject=ID type=un;
However, when I add in the option to get estimates for the random effects (see code below), proc mixed hangs without giving any results. The last log message before it hangs is "NOTE: Convergence criteria met".
proc mixed data=InDat; class ID; model Y = T T*T T*T*T T*T*T*T T*T*T*T*T T*T*T*T*T*T/ddfm=kr solution outpm=predictm; random int T/subject=ID type=un solution; run;
My company recently switched from SAS9.2 to SAS9.4. I was able to run the same code and get the random effect estimates using SAS9.2 (installed on the same computer) without any problem.
Any idea what the problem is? Thanks in advance.
06-14-2018 01:28 PM
06-14-2018 01:33 PM
see if the results are sent to an ods ie before the proc mixed statement put: "ods output solutionr=solutionr;" (see here: https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_mixed_sect0...)
since the code seems tp run but just not throw the results(?)
06-14-2018 01:51 PM
i know you shouldnt need to do this, if it ran on an earlier version, but try a simpler cov structure rather than type=UN, UN will demand the estimation of many parameters, something simpler eg CS might run, and then you can add complexity until it breaks again
06-14-2018 02:05 PM
06-14-2018 03:56 PM
this may sound stupid but have you closed the session and restarted?: https://communities.sas.com/t5/General-SAS-Programming/SAS-exhaustion/m-p/469235#M57636
06-14-2018 04:35 PM
Yes. Each time it hangs, I am not able to interrupt proc mixed execution from inside of the SAS session. I have to force the SAS session to terminate and restart it.
06-14-2018 05:03 PM
this sounds familiar to me, a "quit" statement shouldnt make any difference but worth a try