• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Modeling Count-based Raster Data with ArcGIS and R
 

Modeling Count-based Raster Data with ArcGIS and R

on

  • 1,033 views

This presentation outlines the conceptual framework for building regression models of event counts where the unit of analysis is small. It explains how ArcGIS for Desktop can be used to build raster ...

This presentation outlines the conceptual framework for building regression models of event counts where the unit of analysis is small. It explains how ArcGIS for Desktop can be used to build raster data sets that are modeled as generalized linear models within the open source R package.

Statistics

Views

Total Views
1,033
Views on SlideShare
1,018
Embed Views
15

Actions

Likes
2
Downloads
0
Comments
0

2 Embeds 15

https://twitter.com 14
http://www.azavea.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Modeling Count-based Raster Data with ArcGIS and R Modeling Count-based Raster Data with ArcGIS and R Presentation Transcript

    • Modeling Count-based Raster Data Using R with ArcGIS Desktop Jeremy Heffner HunchLab Product Manager jheffner@azavea.com
    • We have events that occur in space (i.e. crimes)
    • ? ? ? But why do they occur where they do? Do events correlate with geographic features?Can we predict the rate of events at particular locations?
    • Let’s create a raster covering formed of square cells
    • And bring in features of the geography that may explain the pattern
    • For some geographic features we may use a proximity measure of spatial influence
    • For some geographic features we may use a proximity measure of spatial influence
    • For some geographic features we may use a proximity measure of spatial influence
    • For other geographic features we may look at the concentration of the features (density)
    • For each raster cell we have values for these explanatory variables
    • So can’t we use ArcGIS’s built-in regression models?
    • They all assume a normal distribution for the response variable } y = b0 + b1x1 + b2x2 + …
    • Our cells have 0 or more events and are not a normal distribution
    • Poisson ProcessThis is a process which counts independentevents happening in a given interval (time,space).Poisson DistributionThis process leads to a Poisson distribution ofcounts. Source: WikipediaGeneralized Linear Model y = exp(b0 + b1x1 + b2x2 + …)A GLM can represent this distribution in aregression model.
    • Our counts fit aPoisson distribution much better
    • We can process our geographic data sets in ArcGIS and then export the cells to R for modeling Raster Calculate Export to Convert to Build Model Processing Predictions ASCII CSV (R) (ArcGIS) (ArcGIS)
    • Here is sample output from fitting a Poisson model in R:
    • We can take the fitted coefficients from R and plug theminto the equation within ArcGIS using the ‘raster calculator’ y = exp(b0 + b1x1 + b2x2 + …)
    • Here’s an example of the outputwhich explains the expectationof shootings based uponthe location ofdrug arrests andbus stops.
    • This example is derived from a collaborative project between Azavea and the Rutgers Center on Public Security For more information: Jeremy Heffner HunchLab Product Manager jheffner@azavea.com