SPUR and SCPC Packages
Stata, Python, and R packages implementing techniques for spatial inference developed by Müller and Watson.
View
Packages
spur-statav0.1.1: Documentation · GitHubspur-pythonv0.1.1: Documentation · PyPI · GitHubspuRv0.1.2: Documentation · GitHubscpc-pythonv0.1.2: Documentation · PyPI · GitHubscpcRv0.1.3: Documentation · GitHubspur-skillsv0.1.6: Documentation · GitHub
Citation
When using these packages, please cite Becker, Boll and Voth (2026) and Müller and Watson (2024):
@article{bbv2026,
author = {Becker, Sascha O. and Boll, P. David and Voth, Hans-Joachim},
title = {Testing and Correcting for Spatial Unit Roots in Regression Analysis},
journal = {The Stata Journal},
year = {2026},
volume = {26},
number = {2},
pages = {177--202},
doi = {10.1177/1536867X261449932},
url = {https://doi.org/10.1177/1536867X261449932}
}
@article{mw2024,
author = {M{\"u}ller, Ulrich K. and Watson, Mark W.},
title = {Spatial Unit Roots and Spurious Regression},
journal = {Econometrica},
year = {2024},
volume = {92},
number = {5},
pages = {1661--1695},
doi = {10.3982/ECTA21654}
}If you encounter any issues or have any questions, please open an issue on GitHub or contact the authors.