Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Like this presentation? Why not share!

- OpenTreeMap NCGIS by Azavea 367 views
- HunchLab 2.0 Preview Webinar - Place by Azavea 1167 views
- Using Open Data and Citizen Science... by Azavea 465 views
- How to Conquer your Post-Election D... by Azavea 587 views
- HunchLab 2.0 Predictive Missions: U... by Azavea 1320 views
- Economically Analyze Your Tree Inve... by Azavea 370 views

1,020 views

901 views

901 views

Published on

Published in:
Technology

No Downloads

Total views

1,020

On SlideShare

0

From Embeds

0

Number of Embeds

24

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

No public clipboards found for this slide

×
### Save the most important slides with Clipping

Clipping is a handy way to collect and organize the most important slides from a presentation. You can keep your great finds in clipboards organized around topics.

Be the first to comment