Tag Archives: fun

Understanding the cross K-function [interactive visualization]

One of the research papers I’ve submitted recently (yes, about Pokémons!) dealt with spatial point pattern analysis. Visually it seemed that two of my point sets prefer to cluster around each other, in other words I suspected that Pokéstops have a preference of being close to Pokémon Gyms. Check the map below to see what I mean. Pokémon locations (cyan dots) are all over the place as opposed to Pokéstops (orange) that almost exclusively appear to be in the proximity of gyms (red).
davie_poke

To confirm what’s obvious from the map, I used the bivariate version or Ripley’s K-function (a.k.a. the cross-K function) that can help us characterize two point patterns. As it turns out, it’s not as easy to interpret as I though it would be (at least with real world data) and I was trying to get my head around it for quite some time. As a result, I came up with a simple interactive visualization of this function to illustrate what it really means. If you’re anything like me and try to understand your stats instead of just reporting the results, you might want to read on more for some musings about the cross K-function.

Continue reading

Where to catch ’em all?

I should really stop playing around with side projects and should get back to my research. But look at this! I recorded a few hundred thousand Pokemon encounters over the past few days. You know, just for fun, because that’s what grown ups do. I marked all Pokemon locations in Downtown Miami and Miami Beach with cyan dots and created a heatmap on top of them to see where you should wonder if you want to catch as many as you can.

Pokemon locations and density in Miami

Click for a high-res version.

To be honest, I don’t play Pokemon Go. Was never into this thing. But I do like maps and data. And this is really cool data. So, I’m thinking. Maybe. What if I made it my research… what if I could come up with something really interesting? Oh, well. Instead of trying to justify myself, I guess I’m just gonna catch ’em all along with some awesome spatial analysis.