Menu

Estimate spatial econometric models with SAS

Elysée Aristide Houndetoungan

03 May 2017


Before SAS/ETS 14.2, there is no an intended process for estimating spatial regressions. I proposed a series of three macros to do that. The macros was presented during the 22nd day-conference for SAS users at Quebec city. The results obtained are also confirmed by comparing them with those provided by R packages.

You can get my the presentation [in french] or on SAS users website. I provided three macros: the first for Moran and Geary tests, the second for spatial regressions estimation and the last for specification tests. Get the macros files below:

Moran and Geary testsSpatial regressions estimationSpecification tests

Here is an example with simulated data on africa’s countries. The interest variable is agricultural production, modeled through the temperature, the precipitations and the tax on production. This is the dataset used and the weights matrix.

Get the example code and data here.