BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SBS
Obsidian | Level 7 SBS
Obsidian | Level 7

I am using SAS University Edition on Linux with Oracle VirtualBox. The base memory I have allocated is 24GB. Yet when I run the following code I get "ERROR: The SAS System stopped processing this step because of insufficient memory.":

 

proc glimmix data=MY.Data1 method=quad;
class person_gender person_id;
model NumberOfPronounsUsed = person_gender / link=log s dist=negbinomial offset=log_TotalWordsInSentence;
random int / subject=person_id;
run;

Please note that number of observations in MY.Data1 is 3820025 (i.e., 3.8 million). Is there no way that SAS University Edition can handle this? Please help!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User

genmod  is correct .

But you gotta know proc genmod (total population effect)  is different from proc mixed (margin effect)

View solution in original post

16 REPLIES 16
SBS
Obsidian | Level 7 SBS
Obsidian | Level 7

Thank you for quick response. Is there any free/paid version on Linux that can handle this data size?

SBS
Obsidian | Level 7 SBS
Obsidian | Level 7

Also why is that SAS UE can process the following mixed model in just a minute, but not the negative binomial (described earlier) for same size of data (3.8 million)?

 

proc mixed data=MY.Data1 method=reml covtest;
class person_gender person_id;
model PercetageOfPronoungs=person_gender /solution;
random intercept / subject=person_id; 
run; 
Tom
Super User Tom
Super User

The amount of memory needed to process a model is not really related to the size of the data. It is related to the size of the working memory that SAS needs to process the model.  The negative binomial must use more memory to process the model.

SBS
Obsidian | Level 7 SBS
Obsidian | Level 7

Thanks Tom. Is this a limitation of SAS implementation in the UE edition alone? 

Tom
Super User Tom
Super User

The UE version is purposely limited in the amount of memory it can use.  If you want to use SAS for real then buy a copy.

 

But note that any version of SAS (or any other analytic software) will have limits on the size of problems it can solve. Computers are finite machines.

SBS
Obsidian | Level 7 SBS
Obsidian | Level 7

Thanks Tom. I guess I will have to try with buying a copy.

 

 

SBS
Obsidian | Level 7 SBS
Obsidian | Level 7

I spent considerable time just to buy a license for SAS. I just can't find any!!

 

BTW, can one use HPMIXED or HPGLIMMIX in SAS UE to deal with large data?

Ksharp
Super User

Your data is too large for HPMIXED or HPGLIMMIX .

Try PROC GEE or PROC GENMOD for GEE model .

SBS
Obsidian | Level 7 SBS
Obsidian | Level 7

Thanks Ksharp. Does either of these PROCs support negative binomial with mixed effects?

SBS
Obsidian | Level 7 SBS
Obsidian | Level 7

Would this be correct syntax?

proc genmod data=MY.Data1;
    class person_ender person_id;
    model NumberOfPronounsUsed = person_gender  / type3 dist=negbin offset=log_TotalWordsInSentence;
    Repeated subject=person_id/sorted type=exch;

Please advise!

Ksharp
Super User

Yes. But these PROCs support negative binomial for GEE model(very like mixed model) ,not for  mixed effects.

SBS
Obsidian | Level 7 SBS
Obsidian | Level 7

Sorry, I am not aware of conceptual difference. For the particular problem that I am looking at here, is the genmod incorrect? Please help!

Ksharp
Super User

genmod  is correct .

But you gotta know proc genmod (total population effect)  is different from proc mixed (margin effect)

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 16 replies
  • 8202 views
  • 1 like
  • 4 in conversation