Tuesday, July 14, 2015

Getting Mileage out of Milwaukee Part 1

Hey there Internet! It's Guido here with another Scoring Indy update. This week, I'll be doing a pair of updates. In both, we'll be looking at how to score an oval race. Today, I'll be laying some of the groundwork for what I hope to be a grand unveil of the final formula on Friday. So, let's get to it.


Something Old

This part is probably old news, but my original formula for comparing drivers using Race Scores doesn't work well in long races with lots of passing (ie ovals). You need only look back at the scores that this formula generated for the MAVTV 500 in Fontana back in June to see that. Those scores are here. Now there's only one glaring problem with this, and it's back in P7: the curious case of Buckshot Jakes. Now, I'm all for giving credit to drivers who move from the back to the top 10. Jakes deserves that credit. But, as Andy the Speedgeek (one of my tens of readers and top commenter) so aptly noted, he was in the "camera shot" for less than a minute over the course of a 500 mile race. This doesn't mean he was bad. It does mean he wasn't second-best.

So, I'm going to present a couple of case studies here today. First, we'll look at Milwaukee and fiddle with the numbers a little bit to try and get a sense of how important the "on track" term of our formula is. That term combines positions gained and laps led. And, after isolating that, we will come back on Friday to try and complete the picture.


Case Studies

Here is a mega-sheet of various scorecards for Milwaukee, which assign various weights to the two terms (finishing position and performance)

FinishDriverGridLedCompleted50/5067/3375/25
1Bourdais1111825095.3496.8997.67
2Castroneves24025095.6595.6595.65
3Rahal6525053.1765.8872.24
4Montoya8025052.1763.7769.57
5Newgarden110925054.4163.8168.51
6Kanaan4325035.3849.6856.82
7Dixon101425046.2855.4960.10
8Andretti9025036.9647.8353.26
9Pagenaud17025050.0055.0757.61
10Carpenter22025056.5257.9758.70
11Chaves12025030.4339.1343.48
12Kimball7025015.2227.5433.70
13Hunter-Reay16025030.4336.2339.13
14Sato13025019.5727.5431.52
15Munoz18025026.0930.4332.61
16Vautier20024826.0228.9430.40
17Hawksworth1202215.6113.8818.02
18Wilson1512197.5113.7016.80
19Karam30183-14.59-2.483.57
20Coletti1901567.3410.6912.37
21Briscoe20130-14.96-5.62-0.96
22Power140130-4.70-0.232.00
23Jakes50113-15.51-8.89-5.58
24Mann23027-0.23-0.16-0.12



Diving In

So, there you see three lovely color-coded columns. Each of the columns represents the mathematical "weight" given to finishing position and the "on track" term. Finishing position is first, and it gets more important as one moves from left to right. And, as you see, as the emphasis on the "on track" term decreases EVERYONE'S (well, everyone except Helio's) Race Scores increase.

This is due to the fact that the "on track" term is a) usually a smaller number than the Finishing Position term, and b) the only one of the two terms with the potential to be a negative number. So, let's now look at a break down of how those two terms interact. Here's the how those terms look for the 50/50 split:

FinishDriverGridLedCompletedFPOTRace Score
1Bourdais1111825050.0045.3495.34
2Castroneves24025047.8347.8395.65
3Rahal6525045.657.5253.17
4Montoya8025043.488.7052.17
5Newgarden110925041.3013.1054.41
6Kanaan4325039.13-3.7535.38
7Dixon101425036.969.3246.28
8Andretti9025034.782.1736.96
9Pagenaud17025032.6117.3950.00
10Carpenter22025030.4326.0956.52
11Chaves12025028.262.1730.43
12Kimball7025026.09-10.8715.22
13Hunter-Reay16025023.916.5230.43
14Sato13025021.74-2.1719.57
15Munoz18025019.576.5226.09
16Vautier20024817.398.6326.02
17Hawksworth12022115.22-9.615.61
18Wilson15121913.04-5.547.51
19Karam3018310.87-25.46-14.59
20Coletti1901568.70-1.367.34
21Briscoe201306.52-21.48-14.96
22Power1401304.35-9.04-4.70
23Jakes501132.17-17.69-15.51
24Mann230270.00-0.23-0.23

FP -- The Finishing Position term
OT -- The "On Track" term


So, in this break-down, you can see that Bourdais and Castroneves are the big beneficiaries of the "on track" term. Bourdais advanced his position by 10 over the course of the race and led a TON of laps, while Castroneves moved up a whopping 22 grid positions.

The next two biggest beneficiaries are Carpenter and Newgarden. Carpenter gets a sizeable bump from advancing 12 grid positions, whereas Newgarden only gains 13.10 in that term. He's penalized for dropping grid positions (the curse of the pole) and the bonus that he gets for leading laps only brings him up to that 13.10 level.

I'm not opposed to advancing position being more important than leading. This is because leading can often (and I'm mostly talking about road/street races here, but for ovals it's a little true) be a function of strategy, whereas where one ends the race is, in fact, what counts. I want to take multiple factors into account, that's why I have this blog, BUT where you finish matters (especially where you finish relative to your start).

The problem that I have with the 50/50 weighting system is that it gets a little TOO "swingy." I don't think Helio should get 47.83 of his score for advancing position, especially because most of his gains came late in the race. Likewise, I don't think drivers who were very much in the "camera shot" like Karam and Briscoe should be penalized that severely. They should definitely be penalized, mind you, but not that severely.

So, here's the break-down for 75/25:

FinishDriverGridLedCompletedFPOTRace Score
1Bourdais1111825075.0022.6797.67
2Castroneves24025071.7423.9195.65
3Rahal6525068.483.7672.24
4Montoya8025065.224.3569.57
5Newgarden110925061.966.5568.51
6Kanaan4325058.70-1.8756.82
7Dixon101425055.434.6660.10
8Andretti9025052.171.0953.26
9Pagenaud17025048.918.7057.61
10Carpenter22025045.6513.0458.70
11Chaves12025042.391.0943.48
12Kimball7025039.13-5.4333.70
13Hunter-Reay16025035.873.2639.13
14Sato13025032.61-1.0931.52
15Munoz18025029.353.2632.61
16Vautier20024826.094.3130.40
17Hawksworth12022122.83-4.8018.02
18Wilson15121919.57-2.7716.80
19Karam3018316.30-12.733.57
20Coletti19015613.04-0.6812.37
21Briscoe201309.78-10.74-0.96
22Power1401306.52-4.522.00
23Jakes501133.26-8.84-5.58
24Mann230270.00-0.12-0.12


So, just by looking at this this break-down you can see that the "on track" term has, in fact, been made less "swingy." The problem that I have now is that it's gone too far the other way. I think this is pretty much the right weight for the "on track" term, but you can't leave everything up to finishing position. This, of course, brings us up to what we'll be discussing on Friday. How to find a term that shows us "how they ran," without me having to input thousands of data points by hand. So...


Stay Tuned

On Friday, I'll be back trying to nail down the newest edition of our formula: a little term that I'm calling "Representative Running Position." See you then!

-- Guido

Sunday, July 5, 2015

The MAVTV 500 and the Trouble with ARP

Hey there Internet. I missed you. Did you miss me? I hope so. I really love writing this little IndyCar blog. This week, we'll talk about the black hole that ate June; a classic in Fontana; and what I'll be doing the rest of the year. Let's do it!


The June Black Hole

As you can tell by the .BlogSpot in the middle of my web address, I use Google tools almost exclusively to write this here blog. I don't know why, but there was a period in early June when my computers (one all-in-one and one laptop) refused to play nicely with Google's tools when using Chrome. That's weird. I still don't know why that happened. It still happens to a degree. I don't pretend to speak computer, so this will just go down as a mystery for the ages.

Anyway, that really slowed me up. Then the hard drive on my laptop died. It just gave out. Fortunately, the senior pastor at my parish (shout out to the Rev. David J. Glesne) speaks computer much more fluently than I do, and he was able to save most of my stuff, and with the help of an extremely skilled parishioner (shout out to Frank Neumann) was able to get me back up and running with an SSD replacing my old hard drive. Anyway, I was hoping to give you the backlog of scorecards, but with my computer out of commission for so long the backlog became insurmountable.

But, the rest of my sob story will have to wait, because I prefer to focus on the positive, so let's talk about:


A Classic in Fontana

Here is the scorecard for the MAVTV 500. If you didn't like this race, you don't like IndyCar racing.

FinishDriverGridLedCompletedScore






1Rahal191525092.13
2Kanaan62325061.12
3Andretti33125051.85
4Montoya5525046.65
5Karam10525053.17
6Dixon7725042.70
7Jakes23025071.74
8Kimball13025045.65
9Pagenaud1325015.82
10Hawksworth17025045.65
11Munoz111425031.06
12Coletti21025045.65
13Mann22025043.48
14Bourdais15025023.91
15Hunter-Reay14324918.00
16Briscoe16724918.79
17Vautier20024621.63
18Sato9312410.16
19Power862241-0.23
20Chaves1802374.57
21Newgarden120161-6.08
22Carpenter41157-20.10
23Castroneves243136-17.98


You will likely note two things about this scorecard:

1) It lacks a column for "Average Running Position"
2) Longtime readers will notice that there is a larger-than-normal "gap" between the high and low scores (92.13 to -20.10)

All of this has to do with why I haven't updated the backlog of scores from after the Indy 500, so let's talk about that now.


Going Forward

As I said at the top. I really like writing this blog. I know I'm a little erratic. I know that I'm not the most active guy on Twitter. The IndyCar Blogs (follow them @TheIndyCarBlogs, it's awesome) has me rated as a "Semi-Active Blog" and that's fair. But, I love it. I really love it. I think it's fun to try and figure out who had the best race. I find it fascinating to look "beyond the box score," as it were. I have no desire to hang it up any time soon.

Let me repeat. I have no desire to hang it up any time soon.

But (there's always a but, isn't there), I can't keep going the way I was. The formula that I like to use for Race Scores involves computing Average Running Position. To do that, I have to take the lap chart that IndyCar provides at indycar.com/stats and then I have to manually enter into a spreadsheet where each car is scored for each lap. I have found literally no other way to do this. This is a major problem for oval races. The shortest oval races on the schedule (in terms of laps) are Indy and Pocono at 200 laps a piece. I just can't enter that many laps in a week with the time I have available.

And, this brings us to the MAVTV 500 scores that you see above. These scores are computed using what I call my "Old Formula." This formula basically accounts for two things: finishing position and positions gained from green to checkers. They do a pretty good job of some things. For instance, it shows the relative strength of Sage Karam's day (whether or not Karam's skill / racecraft was as good as his performance on paper is up for debate). Also, the above scores reward drivers like Stefano Coletti and Pippa Mann for keeping their noses clean and finishing at the back end of the lead lap.

The problem with the formula used for scoring above is that it OVER emphasizes these distinctions. There is no universe in which the second best drive of the day was turned in by Buckshot Jakes, but that's what you get with this formula. Mann and Coletti (as I said above) deserve praise, but they didn't do better than Scott Dixon or Simon Pagenaud. So, I have to do something different. So, I'm going to do something different. Here's what the rest of the year will look like for me:

- Having lost so many races to the June Black Hole, I'm going to put the RSWC to bed for the year. It will be back.

- I will continue to score road/street events with the formula that includes Average Running Position. Those have few enough laps that I can manage.

- I will use the remaining oval races to try and figure out a new way to score ovals.


Oval Possibilities

This formula just doesn't work for ovals. I've thought that this was true since I started doing this back in the 2012 season. I made the change after the 2013 Indy 500 (my first season blogging about my little experiment), and I liked it so much better. So, I need a formula that more accurately matches the "eye test." Here are my off the top of the head ideas about how to do that:

- I could adjust the relative weight that I give to both of the terms in this formula (race finish and positions gained). Right now they are equal, and perhaps weighting finish more heavily would "normalize" the results somewhat.

- Insert a term as a replacement for Average Running Position. Something like percentage of laps run in the Top 5 might be good. I think I would be able to tabulate that more quickly than ARP.

Those are basically the two options, although the "introduce a new term" option is really a range of options. So: Milwaukee, Iowa, Pocono; you are my guinea pigs. Prepare to be experimented upon.


Stay Tuned

To my tens of readers, thank you for continuing to read this. I am glad to have you. I am glad that we all have this sport in our lives. Let me know what you want to see going forward. What do you like about my little corner of the internet? What would you like to see different? Got any ideas for how to score ovals? I want to hear from you, so you can leave a comment here or hit me up on Twitter (@ScoringIndy). I know I don't post much, but I look at it daily. Thanks again! I'll see you on Friday.

-- Guido