BookmarkSubscribeRSS Feed
Voldemort
Fluorite | Level 6
I have a data of 4500 locations with each location corresponding to a bank branch. I have 13 predictor variables and a dependent variable. I want to use proc spatialreg to do the spatial regression on this data . I did 80-20 split and made a spatial weights matrix on the 80% data ....I was able to get the predictions for the training data but how to incorporate that on the test data ?
3 REPLIES 3
Voldemort
Fluorite | Level 6
This does work for linear regression but my issue is specific to spatial regression...Is there any alternative that supports proc spatialreg
Voldemort
Fluorite | Level 6
The problem is spatial models have another key component and that's spatial weights matrix...How to incorporate that in proc score

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Discussion stats
  • 3 replies
  • 1770 views
  • 0 likes
  • 2 in conversation