BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Prest
Fluorite | Level 6
Hello

I am running Proc surveyreg on 9253 observations and a class variable of 4 levels. I am trying to perform an ANOVA test to compare mean across those levels.

However, I get the error "This procedure was cancelled due to insufficient memory".

What should I do? Any help is appreciated.
1 ACCEPTED SOLUTION

Accepted Solutions
Criptic
Lapis Lazuli | Level 10

Run the following to determine the MEMSIZE

data _null_;
    FREERAM_MB=input(getoption('xmrlmem'),20.)/1024/1024;
    put FREERAM_MB= 8.;
run;

proc options group=memory; run;

In my eyes your MEMSIZE is most likely to small - talk to your Admins about it

View solution in original post

3 REPLIES 3
Criptic
Lapis Lazuli | Level 10

Run the following to determine the MEMSIZE

data _null_;
    FREERAM_MB=input(getoption('xmrlmem'),20.)/1024/1024;
    put FREERAM_MB= 8.;
run;

proc options group=memory; run;

In my eyes your MEMSIZE is most likely to small - talk to your Admins about it

Rick_SAS
SAS Super FREQ

You are describing a very small problem.

1. Please post the exact code you are submitting, including options

2. Please run the following code on simulated data and tell us if it runs successfully

 

data Have;
call streaminit(123);
do i = 1 to 9253;
   group = rand('Table', 0.3, 0.3, 0.2, 0.2); /* group = 1, 2, 3 or 4 */
   Y = 10 + group + rand('Normal');
   output;
end;
run;

proc surveyreg data=Have;
   cluster Group;
   model Y = Group;
run;
Prest
Fluorite | Level 6

Thank you so much for your effort

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 3 replies
  • 632 views
  • 0 likes
  • 3 in conversation