28

Spatiotemporal modeling with R

 5 years ago
source link: https://www.tuicool.com/articles/hit/iYvYRbn
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

P-P-P

Spatio-Temporal Modeling with R: Point process prediction for mortals ameuqaa.png!web

Silver Medal Winner for STEAM $2500 Prize! :tada: :tada: :confetti_ball:

Imagine RIT

RIT NEWS

Introduction

Burglaries, earthquakes, and tweets all have a particular characteristic in common. The occurrence of one event increases the probability of subsequent events. Earthquakes can produce aftershocks,tweets can produce subsequent re-tweets, and burglaries follow the same behavior.

Self Exciting Point Processes(SEPP) models are built with this behavior in mind. This is an open source implementation of SEPP technology for police departments.

How to use it?

1.Find crime data of your city. Example

2.Import to data to R.

3.Run our code

Helpful Links

UCLA Statistics work: http://www.stat.ucla.edu/~frederic/papers/crime1.pdf

Our Report: https://github.com/Italosayan/P-P-P/blob/master/Burglary%20Pattern%20Prediction%20Report.pdf

Our R code: http://htmlpreview.github.io/?https://github.com/Italosayan/P-P-P/blob/master/Analysis_Code/final_analysis.html

Slides Presentation: https://github.com/Italosayan/P-P-P/blob/master/Crime%20Pattern%20Prediction%20Presentation.pdf

Web App code : https://github.com/Italosayan/P-P-P/tree/master/MapApp

Download visualization of the San Antonio dataset: https://github.com/Italosayan/P-P-P/blob/master/Graphics/crimedataset.mov

Mohler's explanation: https://vimeo.com/50315082

Visualizations

G Function Distribution San Antonio Data:

buIrqyU.png!web

U Function Distribution San Antonio Data:

B7NfQjN.png!web

Lambda Function Distribution San Antonio Data:

FNZFFzr.png!web

We choose the points with the highest lambda value as the risky ones.

Our UI:

MapApp_Example.gif

Extra Visualization(Carto):

6rmARjQ.gif

Contributors:

Italo Sayan: [email protected]

Nathan Raw: [email protected]


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK