Spatial regressions: An application with SAS

Before SAS/ETS 14.2, there is no an intended process for estimating spatial regressions. We 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 our the presentation [in french] or on SAS users website.
We provided three macros: the first for Moran and Geary tests, the second for spatial regressions estimation and the last for specification tests. The macros are available in .txt 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 code and the results [.pdf ].

This site was designed with the
.com
website builder. Create your website today.
Start Now