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

Hi, experts!

I have a trouble with  proc Loess:

 

my code is 

 

Proc LOESS data=work.pre_loess; 
ods output OutputStatistics=RESULTS_1;
model Pre_Bl=Date / smooth=0.2
residual alpha=0.05
dfmethod=exact;
by Code;
run;

 

And it throws an error: ERROR: Integer overflow on computing amount of memory required for confidence limit computation.

 

Do you have any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

How many points are in your regression?  The documentation says that the work is proportional to n cubed, so the EXACT option might be what is causing this.  Have you tried the default DFMETHOD=NONE or the other method DFMETHOD=APPROX? 

 

If you still run into the issue you may have to sample your data, and devise some method of model averaging.  One way would be to generate samples with replacement, fit PROC LOESS by sample, and then apply some bootstrapping to average the models.  And this is where my knowledge of PROC LOESS hits a wall - I don't know which of the output tables generated by the DETAILS option will give what you need.

 

SteveDenham

View solution in original post

3 REPLIES 3
SteveDenham
Jade | Level 19

How many points are in your regression?  The documentation says that the work is proportional to n cubed, so the EXACT option might be what is causing this.  Have you tried the default DFMETHOD=NONE or the other method DFMETHOD=APPROX? 

 

If you still run into the issue you may have to sample your data, and devise some method of model averaging.  One way would be to generate samples with replacement, fit PROC LOESS by sample, and then apply some bootstrapping to average the models.  And this is where my knowledge of PROC LOESS hits a wall - I don't know which of the output tables generated by the DETAILS option will give what you need.

 

SteveDenham

Rick_SAS
SAS Super FREQ

Since you are not outputting the CLM, I don't think the exact computation is required. You can probably use DFMETHOD=NONE since you are only computing the predicted and residual values.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 1416 views
  • 5 likes
  • 3 in conversation