News for hackers. Stuff that matters.
Re:Do the police give more tickets at the end of the month t... by beder on Wednesday October 17, 2012 @05:57PM (#4666598)
In that case, you should divide by "expected", so you get a percentage difference for each day. (Normalizing by total for the year doesn't make sense, since imagine that there were 300 days per month instead of 30 - your numbers would be divided by 10 again, but the data you want to visualize would stay the same.)
Re:Do the police give more tickets at the end of the month t... by rpicard on Sunday October 21, 2012 @09:02PM (#4681409)
I made an update using standard deviation and Z-score charts instead of my homebrew normalization function (see "Update"): http://robert.io/posts/4.html
Re:Do the police give more tickets at the end of the month t... by rpicard on Wednesday October 17, 2012 @06:10PM (#4666644)
Great point! Dividing by expected would have been a much nicer solution. I think the method I used still works though, just not as nicely. Am I wrong?
Re:Do the police give more tickets at the end of the month t... by Kaizyn on Wednesday October 17, 2012 @10:13PM (#4667191)
Z-Score is your friend for this kind of data normalization.

http://en.wikipedia.org/wiki/Standard_score

Re:Do the police give more tickets at the end of the month t... by rpicard on Thursday October 18, 2012 @01:28AM (#4667595)
Thanks. It looks like I need to do a little self-study in statistics.