Homework 1

This assignment is due in class Tuesday September 16th.

Implement a scan statistic algorithm to detect an unusual cluster of fatalities in these data. The "location" column provides the location of an accident on a particular road (locations range from zero to 100). The "fatal" column indicates whether or not the accident involved a fatality. Ideally implement variable sized windows but if this is taking too long to program try fixed size windows of say 5, 10, and 15.

Provide me your code and your estimate of the cluster location.