I am running SAS9.4TS1M4 on Windows 7. I am able to run following proc mixed code without any problem.
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;
run;
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.
Thanks for your reply. I'm using SAS/STAT 14.2.
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(?)
Thanks for your reply.
No. No result was sent to ods with ods output statement added.
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
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
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.
this sounds familiar to me, a "quit" statement shouldnt make any difference but worth a try
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.