Hi Lauren,
where can I download the Temporal Collect Events tool that you have been using in this video: What's New in Spatial Statistics: Space-Time Cluster Analysis | Esri Video?
Thanks
Philip
Hi Philip,
I'm attaching a zip file with the sample tool... it is pretty rough and has only been tested with 10.1 sp1. This question comes up often, so please allow me to answer this question more broadly here:
You want to run a space time hot spot analysis on your event data (crime, disease, traffic accidents) where you don't have an attribute/field to analyze. In other words you just want to know where in space and time you have a statistically large number of events. Some people have guessed that they need to use the Collect Events tool. Unfortunately when Collect Events combines points that are near in space, you lose the temporal component of your data (it will combine two points that are near each other even if they have date stamps that are very far apart). What we need here is a tool that aggregates based on space AND time. You want to be able to set a distance threshold (500 meters, for example) and a time threshold (something like 5 days) and have the tool aggregate only those points that are within both those thresholds. The attached sample script will do that.
Alternative approaches if the attached script doesn't work for you:
1) Create a model tool that iterates through time and selects only those features/events that meet your time requirement... run collect events on the selection set... use the Add Field tool to give the result a DATE field and Calc the value to be a date within the time period selected (like if you want to combine events within two days, you would want to calc the new date field to either the first or second day date for each record output from Collect Events). Then merge all the results into a single file... then create the spatial weights matrix for the merged data using Generate Spatial Weight Matrix, then run hot spot analysis.
2) If you know python, you can try to debug the attached to make it work for whatever version of ArcGIS you are using.
3) You can sign up for the ArcGIS 10.3 beta program and use the space-time pattern mining tool in ArcGIS 10.3 ?? The new Emerging Hot Spot Analysis tool allows you to run space-time hot spot analysis on event data.
I hope this helps!
Best wishes,
Lauren
Hi Lauren,
thank you for your prompt reply. In the meanwhile, I already found the tool that was included in the training course ARC3, version 2.0.
(Anyway, how can users get access to the attached zip file on GeoNet?)
I already tested the Emerging Hot Spot Analysis tool and I think it is very useful in space-time crime analysis. Do you have any further reference on how the categories are calculated?
Thank you,
Philip
Well I am still getting familiar with GeoNet too, but this is what I just tried (and it worked for me):
1) Click on the attachment
2) A pop up is displayed and one of the options is to save.
3) You should see a little blue down arrow when you say okay. If you click on it, you can get the zip file.
If that doesn't work for you I will find someone who can tell us a better solution.
Here is some more information about the Emerging Hot Spot Analysis categories:
*************** Category Definitions ********************
Hot spots that are statistically significant for the last time step interval:
New: only the most recent time step interval is hot
Persistent: at least 90% of the time step intervals are hot, with no trend up or down
Intensifying: at least 90% of the time step intervals are hot, and becoming hotter over time
Diminishing: at least 90% of the time step intervals are hot, and becoming less hot over time
Consecutive: an uninterrupted run of hot time step intervals, comprised of less than 90% of all intervals
Sporadic: some of the time step intervals are hot
Oscillating: some of the time step intervals are hot, some are cold
Hot spots that are not statistically significant for the
last time step interval:
Historic: at least 90% of the time step intervals are hot, but the most recent time step interval is not
Cold spots that are statistically significant for the last time step interval:
New: only the most recent time step interval is cold
Persistent: at least 90% of the time step intervals are cold, with no trend up or down
Intensifying: at least 90% of the time step intervals are cold, and becoming colder over time
Diminishing: at least 90% of the time step intervals are cold, and becoming less cold over time
Consecutive: an uninterrupted run of cold time step intervals, comprised of less than 90% of all intervals
Sporadic: some of the time step intervals are cold
Oscillating: some of the time step intervals are cold, some are hot
Cold spots that are not statistically significant for the last time step interval:
Historic:at least 90% of the time step intervals are cold, but the most recent time step interval is not
We won't be able to get it done for the first release, unfortunately, but in a future release you will be able to select the categories you are interested in and also modify how each category is defined (i.e., right now a persistent hot spot is one where 90% of the time step intervals are statistically significant hot spots and there are no statistically significant cold spots... you might want to change it to 80%, for example).
Beta 5 will have better cell size and time interval defaults when you don't provide anything for those parameters, and messages defining categories.
I hope this helps.
Best wishes,
Lauren
Thanks Lauren
always your answer are useful and helpful.
btw, I have managed to download the zip file with
the temporal collect event tool, but it did not work.
i guess I will focus in using the emerging hotspot tool for now.
regards Ori
Just curious... what version of Desktop ArcGIS are you using? We will be slammed until the 10.3 release is done, but if we can, we'll try to get the temporal collect events sample script working for 10.2.2.
Thanks!
Lauren
I zipped the Temporal Collect Events toolbox from ARC3 training course which works fine with me using 10.2.2.
Dropbox - TemporalCollectEvent.zip
philip