Hi Folks,

I was reading through about Stata's spatial autogressive models (https://www.stata.com/features/overv...essive-models/) especially the capability to create a W matrix that is not necessarily based on geographical location. From the manual "Spatial analysis is about accounting for spillover effects. Consider an analysis of test scores of students. There may be spillover effects among friends for no other reason than friends share similar but relevant unmeasured characteristics. Or you might hypothesize more direct effects. Such data are known as social network data." I am interested in modelling how drivers and influenced by other nearby drivers, and this seems to offer me a great way to account for autocorrelation. The problem however, it that these models seem to only apply to linear regression not logistic regression.

My question is: Are there any stata packages that address spatial autogressive model with binary outcomes? I don't think I can use XTGEE because my clusters and are not independent, or I don't have enough clusters, or they are not balanced. Thanks in advance.