Wayne's Github Page

A place to learn about statistics

Assasination Classroom

Assassination Classroom Image sourced from Wikipedia.

Assassination classroom by Yusei Matsui is the inspiration for the project! In this comic, a teacher is training students to assassinate himself.

Similarly, your challenge is to use 2 weeks of my phone GPS data to “bomb” me on my usual path in the 3rd week. You’ll have 2 attempts!

Project deliverables

At the end of the project, you need to submit:

Data

Data is collected on my Android phone using the GPSLogger application which is free but lacking in precision.

The data is available on Canvas under gps.zip.

The data is in a GEOJSON format which is similar to a JSON format. Here’s some sample code to help load in the data. If you are unfamiliar with JSON data, just ask for help! They are like nested named lists in R or dictionaries in Python.

library(jsonlite)

dat <- read_json('data/20200819132607.geojson')
head(dat[['features']], 1)
import json

dat = json.load(open('data/20200819132607.geojson', 'r'))
dat['features'][:2]

A single record from the GPS looks like this

{"type": "Feature",
 "properties": {"time": "2020-08-20T21:13:09.831Z",
                "provider": "gps",
                "time_long": 1597957989831,
                "accuracy": 19.296001,
                "altitude": 965.132568359375,
                "bearing": 208.8,
                "speed": 2.02},
 "geometry": {"type": "Point",
              "coordinates": [-114.00013904, 46.88713864]}
}

If you plot the data over time across different days, you should see some patterns: sample path over days

Special notes on the data

Rules

To succeed, your bomb must be placed within 5 meters and 10 seconds to my position in the 3rd week.

For the 3rd week, GPSLogger values will be taken as “truth”. If there is data loss, it will be treated as if I disappeared from the planet during those times, i.e. I cannot be bombed.

There are 2 exceptions: I can only be bombed in transit and you cannot bomb me in the first 5 minutes of transit. If I am stationary for over 2 minutes, you should consider that I am sheltered and safe. On the otherhand, since my summer schedule was irregular, my departure time each day varied wildly. You’ll be given the timestamps and locations when I start moving each day (to and fro). Given this, you cannot bomb me in the first 5 minutes of my travel.

I look forward to your assassination attempts!

In addition to the requirements listed above, please also answer the following questions: