A simple and reliable method of inference for spatial autoregressive model