Inference for Spatial Autocorrelation Functions