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

 

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!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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