spatial tools for econometric and exploratory analysis

33
Spatial Tools for Econometric and Exploratory Analysis Michael F. Goodchild University of California, Santa Barbara Luc Anselin University of Illinois at Urbana-Champaign http://csiss.org

Upload: others

Post on 15-Oct-2021

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Spatial Tools for Econometric and Exploratory Analysis

Spatial Tools for Econometric and

Exploratory AnalysisMichael F. Goodchild

University of California, Santa BarbaraLuc Anselin

University of Illinois at Urbana-Champaignhttp://csiss.org

Page 2: Spatial Tools for Econometric and Exploratory Analysis

Outline

A Quick Tour of a GISSpatial Data AnalysisCSISS Tools

Page 3: Spatial Tools for Econometric and Exploratory Analysis

Spatial Data Analysis

Page 4: Spatial Tools for Econometric and Exploratory Analysis

Principles: 1. Integration

Linking data through common location

the layer cake

Linking processes across disciplines

spatially explicit processese.g. economic and social processes interact at common locations

Page 5: Spatial Tools for Econometric and Exploratory Analysis
Page 6: Spatial Tools for Econometric and Exploratory Analysis

2. Spatial analysis

Social data collected in cross-section

longitudinal data are difficult to construct

Cross-sectional perspectives are rich in context

can never confirm processthough they can perhaps falsifyuseful source of hypotheses, insights

Page 7: Spatial Tools for Econometric and Exploratory Analysis
Page 8: Spatial Tools for Econometric and Exploratory Analysis

3. Spatially explicit theory

Theory that is not invariant under relocationSpatial concepts (location, distance, adjacency) appear explicitlyCan spatial concepts ever explain, or are they always surrogates for something else?

Page 9: Spatial Tools for Econometric and Exploratory Analysis

4. Place-based analysis

Nomothetic - search for general principlesIdiographic - description of unique properties of placesAn old debate in Geography

Page 10: Spatial Tools for Econometric and Exploratory Analysis

The Earth's surface

Uncontrolled varianceThere is no average placeResults depend explicitly on boundsPlaces as samplesConsider the model:y = a + bx

Page 11: Spatial Tools for Econometric and Exploratory Analysis
Page 12: Spatial Tools for Econometric and Exploratory Analysis

Tract12345678

Pop

2966500149834130322940863979

3786Location

x,yx,yx,yx,yx,yx,yx,yx,y

Shape

Page 13: Spatial Tools for Econometric and Exploratory Analysis
Page 14: Spatial Tools for Econometric and Exploratory Analysis

)(/)( ikkkijjiij dfAdfAEI Σ=

Eidij

Aj

Page 15: Spatial Tools for Econometric and Exploratory Analysis
Page 16: Spatial Tools for Econometric and Exploratory Analysis

Types of Spatial Data Analysis

Exploratory Spatial Data Analysis• exploring the structure of spatial data• determining the nature of spatial

dependencies• spatial data as context

Confirmatory Spatial Data Analysis• testing data against spatial models• spatial econometrics• econometric models that incorporate

spatial effects

Page 17: Spatial Tools for Econometric and Exploratory Analysis

Four Elements of Spatial Econometrics

Specifying the Structure of Spatial Dependence

• which locations/actors interact

Testing for the Presence of Spatial Dependence

• what type of dependence• what alternative

Estimating Models with Spatial Dependence

• spatial lag, spatial error, higher order

Spatial Prediction• interpolation, missing values

Page 18: Spatial Tools for Econometric and Exploratory Analysis

Abstraction of geographic space

Cartograms

Invariance under rotation, displacement, reflection

Page 19: Spatial Tools for Econometric and Exploratory Analysis

Space as a matrix

W where wij is some measure of interaction

adjacencydecreasing function of distanceinvariant under rotation, displacement, reflectionreadily obtained from GISa measure of spatial vs social interaction

Page 20: Spatial Tools for Econometric and Exploratory Analysis

Specification = Spatial Weights

Spatially Lagged VariablesWy, Wε, WX

Data StructureW not as N by N matrixsparse structure

• 3000+ counties 5/6 neighbors

Computationdistance based: easy

• uses point coordinates• generalized distance

contiguity: requires GIS interface• uses boundary file or tessellation

Page 21: Spatial Tools for Econometric and Exploratory Analysis

Software Classification

Mainstream Statistics PackagesSAS, SPSS, Systat

Mainstream Econometric PackagesStata, TSP, Rats, Limdep, E-Views, Shazam

ToolboxesMatlab, S-Plus, Bugs/WinBugs

Open Source ToolboxesR, XLispstat

Self-Contained SpecializedSpaceStat

Page 22: Spatial Tools for Econometric and Exploratory Analysis

Spatial Regression Functionality

Rare in Commercial Softwarespatial functionality tends to be geostatistics, point pattern analysis• variogram, kriging• e.g., SAS, Systat

Specialized Scripts/Macrosroutines with specific functionalityconstrained by data format, size, speed

“Comprehensive”SpaceStat, S+Spatialstats, Spdep (R), LeSage-Pace (Matlab), Pisati (Stata Ado)

Page 23: Spatial Tools for Econometric and Exploratory Analysis

Review (not comprehensive)

SpaceStatlinear spatial regression

• weights construction, diagnostics, ML, IV/GM• outdated architecture and interface

S+Spatialstats (Splus)linear spatial regression

• weights construction (ArcView bridge), ML• no diagnostics

Spdep (Bivand)R package, open sourcelinear spatial regression

• weights construction (from boundary file), diagnostics• ML estimation only

other R packages: Venables-Ripley, GWR, etc.

Page 24: Spatial Tools for Econometric and Exploratory Analysis

Review (continued)

Spatial Toolbox (LeSage, Pace)Matlab and Fortran routineslinear spatial regression

• some weights construction (Thiessen), ML estimation (sparse weights), Bayesian estimation (Gibbs sampler)

spatial probit/tobit: Gibbs sampler

Stata (Pisati, Conley)Spatreg

• diagnostics, ML estimation, no weights from polygonsGMM Conley estimator

GeoBugsMCMC for conditional spatial model

Page 25: Spatial Tools for Econometric and Exploratory Analysis

Miscellaneous

SASspatial regression estimation (Griffith)

SPSSspatial autocorrelation (Tiefelsdorf)

Xlispstat“Ord” ML estimation using eigenvalues

TSPML estimation spatial error, spatial lag (based on Upton and Fingleton)

RATSDriscoll-Kraaij estimator

Page 26: Spatial Tools for Econometric and Exploratory Analysis

Issues

Performance Problemsgeneric optimization routinesinefficient matrix data structureslow loops

Little/No Diagnosticsfocus tends to be on estimation

No InteroperabilityNo Standards

Page 27: Spatial Tools for Econometric and Exploratory Analysis

CSISS Tools

Page 28: Spatial Tools for Econometric and Exploratory Analysis

CSISS Tools Project Mission

Goals:facilitate dissemination of spatial analysis software tools to social scientistsdevelop a library/libraries of spatial data analysis modulesdevelop prototypes implementing state of the art methodsinitiate and nurture a community of open source developers

Page 29: Spatial Tools for Econometric and Exploratory Analysis
Page 30: Spatial Tools for Econometric and Exploratory Analysis
Page 31: Spatial Tools for Econometric and Exploratory Analysis

GeoDa

ESDA with Dynamically Linked Windowsfreestandingreads ESRI shape files• points and polygons

MapObjects LT2 technologyfree

Replaces ArcView ExtensionsSpaceStat Extension and DynESDAextension now obsolete

Downloadhttp://sal.agecon.uiuc.edu/csiss/geoda.html

Page 32: Spatial Tools for Econometric and Exploratory Analysis

Supporting Materials

Page 33: Spatial Tools for Econometric and Exploratory Analysis

Requirements and Challenges

Interoperableneed for standards

• data structures, model formulation• XML

adhere to/contribute to OGCOpen

open source promotes quality controlstandards allow a modular approach

Fastneed for efficient (new) algorithmslarge data set latent variable modelsspace-time models