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

Hi Folks:

 

I'm trying to define the spatial matrix for a South Korea in proc spatialreg using the macro suggested in the SUGI paper below. 

 

The macro requires a map data. 

Would South Korea map in Mapsgfk library work for this purpose? I just noticed that lat/long variables were labelled as unprojected in the proc contents. 

Any hints are appreciated.

 

https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2481-2018.pdf

 

@Reeza 

skmap.png

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

For most things involving SAS map data sets I would tend to use the X Y coordinates.

 

View solution in original post

2 REPLIES 2
ballardw
Super User

For most things involving SAS map data sets I would tend to use the X Y coordinates.

 

Cruise
Ammonite | Level 13
Hey, you're right. There are X Y coordinates in the data set in addition to lat/long. Also, I realized that the definition of variables of macro includes y and x axis variables as well.
• lat = specifies the latitude or y axis variable.
• long = specifies the longitude or x axis variable.
Thanks ballardw. I greatly appreciate it.

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
  • 2 replies
  • 441 views
  • 1 like
  • 2 in conversation