Three Essays In Theoretical And Applied Spatial Econometrics