Epidemiological analyses of environmental exposures often benefit from including spatial splines in models to account for confounding by spatial location. Understanding how the number of splines relates to physical spatial differences is not always intuitive and can be context-dependent. To address this, we developed a R Shiny application, spconfShiny, that provides a user-friendly platform to calculate an effective bandwidth metric that quantifies the relationship between spatial splines and the range of implied spatial smoothing. spconfShiny can be accessed at https://g2aging.shinyapps.io/spconfShiny/. We illustrate the procedure to compute the effective bandwidth and demonstrate its use for different numbers of spatial splines across England, India, Ireland, Northern Ireland, and the United States. Using spconfShiny, we show the effective bandwidth increases with the size of the region and decreases with the number of splines. Including 10 splines on a 10km grid corresponds to effective bandwidths of 92.2km in Ireland and 927.7km in the United States.
Copyright: © 2024 Rainey, Keller. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.