BookmarkSubscribeRSS Feed
DaiW
Calcite | Level 5

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.

9 REPLIES 9
Reeza
Super User
Questions about things working in one version and not another should be directed to SAS tech support, since they can talk to the developers if necessary. Do you know what SAS/STAT versions you were using - PROC MIXED is under SAS/STAT which has different versioning that SAS Base. The current version is 14.3.

I'm not seeing anything wrong syntax wise, but I'm not that familiar with PROC MIXED.

http://documentation.sas.com/?docsetId=statug&docsetTarget=statug_mixed_syntax13.htm&docsetVersion=1...
DaiW
Calcite | Level 5

Thanks for your reply. I'm using SAS/STAT 14.2. 

pau13rown
Lapis Lazuli | Level 10

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(?)

DaiW
Calcite | Level 5

Thanks for your reply. 

 

No. No result was sent to ods with ods output statement added.

pau13rown
Lapis Lazuli | Level 10

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

DaiW
Calcite | Level 5
I only have 2 random effects here. Using "type=un" would not add a lot of parameters. I just tried to use "type=vc". The SAS system hangs the same way.
DaiW
Calcite | Level 5

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.

pau13rown
Lapis Lazuli | Level 10

this sounds familiar to me, a "quit" statement shouldnt make any difference but worth a try

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

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.

Discussion stats
  • 9 replies
  • 1864 views
  • 0 likes
  • 3 in conversation