This GIS study applies Geographically Weighted Regression (GWR) to investigate the spatial relationship between Purchasing Power Index (PPI) and the distribution of gambling-related retail establishments within the city of Madrid. My aim is to account for spatially varying relationships driven by local urban contexts, under the assumption that the relationship between socioeconomic conditions and the presence of gambling venues varies across urban space. My hypothesis is that the socioeconomic conditions of the urban fabric can be a breeding ground for the location of betting shops, or in other words, I am attempting to Detect Urban Vulnerability to Gambling Harm.