Like this presentation? Why not share!

- HunchLab 2.0 Getting Started by Azavea 198 views
- Fed Geo Day - GeoTrellis Intro by Azavea 245 views
- Fed Geo Day - Applying GeoTrellis a... by Azavea 340 views
- HunchLab 2.0 Predictive Missions: U... by Azavea 759 views
- Using Open Data and Citizen Science... by Azavea 149 views
- The Real-time Police Force: Publish... by Azavea 773 views

717

Published on

Published in:
Technology

No Downloads

Total Views

717

On Slideshare

0

From Embeds

0

Number of Embeds

1

Shares

0

Downloads

0

Comments

0

Likes

2

No embeds

No notes for slide

- 1. Modeling Count-based Raster Data Using R with ArcGIS Desktop Jeremy Heffner HunchLab Product Manager jheffner@azavea.com
- 2. We have events that occur in space (i.e. crimes)
- 3. ? ? ? But why do they occur where they do? Do events correlate with geographic features?Can we predict the rate of events at particular locations?
- 4. Let’s create a raster covering formed of square cells
- 5. And bring in features of the geography that may explain the pattern
- 6. For some geographic features we may use a proximity measure of spatial influence
- 7. For some geographic features we may use a proximity measure of spatial influence
- 8. For some geographic features we may use a proximity measure of spatial influence
- 9. For other geographic features we may look at the concentration of the features (density)
- 10. For each raster cell we have values for these explanatory variables
- 11. So can’t we use ArcGIS’s built-in regression models?
- 12. They all assume a normal distribution for the response variable } y = b0 + b1x1 + b2x2 + …
- 13. Our cells have 0 or more events and are not a normal distribution
- 14. 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.
- 15. Our counts fit aPoisson distribution much better
- 16. 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)
- 17. Here is sample output from fitting a Poisson model in R:
- 18. We can take the fitted coefficients from R and plug theminto the equation within ArcGIS using the ‘raster calculator’ y = exp(b0 + b1x1 + b2x2 + …)
- 19. Here’s an example of the outputwhich explains the expectationof shootings based uponthe location ofdrug arrests andbus stops.
- 20. 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

Be the first to comment