BookmarkSubscribeRSS Feed
fpb1
Obsidian | Level 7
I am trying to relate Medicare spending to various census variables nationwide. I am using zip code level data, so the number of spatial units is over 20,000. The error message is not informative enough to tell me if it's a memory issue or a matrix algebra issue or something else. It does work for a 10% subset of the data, which makes me lean toward a memory issue, but in my experience if it's a memory issue SAS returns a more explicit error message.
 
Here is the log:
 
model var2 = var1 / type=SAR;
spatialID zip;
quit;
 
ERROR: This model cannot be fit.
NOTE: PROCEDURE SPATIALREG used (Total process time):
real time 1:20.53
user cpu time 1:20.47
1 REPLY 1
ballardw
Super User

When you did the test with 10% of the data was it a random sample from the entire database or perhaps a more geographically homogeneous (i.e. all the data from a few states)?

 

How many actual records did you use?

 

Your log is missing the actual PROC Statements and all the options that might be on that statement.

 


@fpb1 wrote:
I am trying to relate Medicare spending to various census variables nationwide. I am using zip code level data, so the number of spatial units is over 20,000. The error message is not informative enough to tell me if it's a memory issue or a matrix algebra issue or something else. It does work for a 10% subset of the data, which makes me lean toward a memory issue, but in my experience if it's a memory issue SAS returns a more explicit error message.
 
Here is the log:
 
model var2 = var1 / type=SAR;
spatialID zip;
quit;
 
ERROR: This model cannot be fit.
NOTE: PROCEDURE SPATIALREG used (Total process time):
real time 1:20.53
user cpu time 1:20.47

 

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 857 views
  • 0 likes
  • 2 in conversation