“…The proposed is, essentially, the test for spatial endogeneity. Our specification test belongs to the family of similar nonparametric residual-based tests considered for independent data (e.g., Zheng, 1996;Li & Wang, 1998), weakly dependent time series data (e.g., Fan & Li, 1999;Li, 1999), integrated time series data (e.g., Wang & Phillips, 2012;Sun, Cai & Li, 2015) and, more recently, for spatial data (e.g., Su & Qu, 2017;Malikov & Sun, 2017).…”