BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello. I'm wondering if modeling the residual spatial structure for a binary response using these PROCs is "appropriate." Want to use Moran's I to test (under random assumption) for spatial autocorrelation in a binary response, modeled as a function of covariates + trend surface. Any thoughts would be appreciated. Cheers!
1 REPLY 1
Dale
Pyrite | Level 9
I would not use GENMOD for data which has a spatial covariance structure. GENMOD does not have any spatial covariance structures to choose from.

However, you could use the GLIMMIX procedure to model the residual covariance structure. GLIMMIX fits models from the exponential family so it is appropriate for fitting a logistic regression for a binary response. Also, the GLIMMIX procedure does allow a full set of spatial covariance structures.

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

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
  • 1 reply
  • 1451 views
  • 0 likes
  • 2 in conversation