Wednesday, April 13, 2011

1st Round 1011 Playoff Probabilities




The information in the table is pretty straightforward - it simply shows each team's probability of advancing as well as the probability of winning in a particular number of games. So, for example, Vancouver has a 61.8% chance of advancing and a 9% chance of doing so in a sweep.

The manner in which the odds were computed, however, requires some explanation. The method I used was similar to the "underlying numbers" method I employed last year, but some changes have been made. They include:

  1. Each team's expected shot differential was calculated on the basis of adjusted corsi - that is, overall corsi adjusted for how often each team played with the lead and trailed during the regular season. This is in contrast to last year's method, which used score tied corsi for this purpose. I elected to switch to adjusted corsi because it has more predictive power in relation to future results than both score tied corsi and overall corsi.
  2. I regressed each team's EV shooting and save percentage based on the extent to which the seasonal variation for each statistic can be attributed to non-luck. This differs from last year's method, in which each team was assigned a league average EV shooting percentage, with team EV save percentage computed on the basis of the overall career EV save percentage of the starting goaltender
  3. I regressed each team's PP and PK shot rates and percentages on the same basis as above when calculating each team's expected special teams scoring rates. Last year, I (erroneously) assumed no skill component for the percentages and elected not to regress shooting rates.
  4. Each team's expected PP and PK time on ice was calculated on the basis of it's predicted powerplay differential as well as its expected special teams scoring rates ( the latter adjustment is necessary given that a more efficient powerplay, as well as a less efficient penalty kill, will lead to fewer powerplay and penalty kill minutes, respectively). I actually performed the exact same calculation last year, with the only difference being the manner in which I determined predicted powerplay differential. Last year, raw powerplay differential was used. This year, powerplay differential was adjusted to reflect the percentage of team variation attributable to luck.
The application of the above method rendered the following expected winning percentages for each playoff team:


I then simulated each series 10000 times based on each team's expected winning percentage, which produced the odds displayed in the table at the top of the post.

In terms of predictive power, I have adjusted goal differential data for every season since the lockout (up to 2009-10), in which the adjustment was made using a similar but slightly different method than the one described in this post. I found that the adjusted goal differentials proved to be a superior predictor of the results of individual playoff games during that timeframe when compared to raw goal differential (empty netters removed).

I also found that the adjusted goal differentials better predicted how a team performed in the following regular season relative to raw goal differential.

I wanted to get this post up before the puck drop for Wednesday's games, so I wasn't able to include everything I wanted to content-wise. I plan to post cup probabilities and some more information relating to the method used to calculated the above odds.
.

Tuesday, April 12, 2011

Cumulative Score Tied Corsi



I plan to put up a post on the probabilities for each 1st round series either tomorrow or Wednesday during the day. In the meantime, I figured I'd throw up these charts showing the cumulative score tied corsi totals for all of the playoff teams.

There are eight charts in all, one for each series.


Two of the league's strongest teams will engage in a first round battle. Should be a great series.


Both of these teams have improved in this measure as the year has progressed, although San Jose exhibits the more extreme profile - the Sharks have been ridiculously good since the halfway mark.

Detroit looks like the better EV team by a fair margin, actual goal differentials notwithstanding.


I've noticed that the Ducks are getting labeled as a "hot" team, but the evidence doesn't support that. They've been terrible territorially at EV all season, including down the stretch. NSH is the better team.


Not much to say here. The Caps seem inconsistent whereas the Rangers have been consistently in the red.

Two teams seemingly going in opposite directions, but Philly is still better on aggregate.

Shocking. The Bruins were +415 better than the Habs by this measure in 09-10.

T.B is pretty underwhelming here but they blocked a tonne of shots at EV. Injuries have hurt PIT.

EDIT: Accidentally used Philly's numbers for Pittsburgh. The chart has been corrected.
.

Thursday, April 7, 2011

Loose Ends - Part III B: The Power Play

This is basically an extension of my previous post, which looked at whether team talent differences in terms of shooting percentage are larger on the powerplay or at even strength.

The purpose of this post is to explore a related issue, that being the relationship between even strength shooting percentage and powerplay shooting percentage. In particular, the extent to which even strength shooting talent and powerplay shooting talent are distinct skills.

In the six seasons from 2003-04 to 2009-10, the average seasonal correlation between the two variables at the team level was 0.296.* While that may seem small, it must be remembered that lucks accounts for a majority of the team to team variation for both metrics. That is to say, each team's single season performance with respect to each metric provides a relatively poor estimate of it's true talent.

As discussed in a previous post, the 'true' correlation between two variables can be approximated so long as three pieces of information are known:

1. The reliability co-efficient of the first variable in respect of a given sample size.
2. The reliability co-efficient of the second variable in respect of the same sample size.
3. The correlation between the two variables observed in respect of the same sample size.

I elected to use 40 games as my sample. In calculating the reliability co-efficients, I determined the correlation between one randomly selected 40 game sample and another 40 game sample, each independent of the other. I then calculated the correlation between those two variables with respect to one of the 40 game samples. Finally, I averaged all three correlations over 1000 simulations and repeated the entire exercise for every season from 2003-04 to 2009-10. Here are the results:


As indicated, the average split-half correlation between even strength and powerplay percentage over the six year sample was 0.167. The average split-half reliability of powerplay shooting percentage was 0.078, and the average split-half reliability of even strength shooting percentage was 0.205.

Having ascertained all three necessary pieces of information, those values can then be inputted into the below formula in order to approximate the true correlation between the two variables.

r xy adjusted = r xy observed/ SQRT( reliability x * reliability y)
r xy adjusted = 0.167 / SQRT ( 0.078 * 0.205)
r xy adjusted = 1.32*
*

This result implies that both powerplay shooting percentage and even strength shooting percentage are actually measuring the same underlying skill.

Is this result surprising? I would argue that it is not. We can reasonably assume that team differences in even strength shooting talent are concentrated at the top half of the roster. In other words, I don't think that the bottom six forwards and bottom pairing defencemen for any given team have materially more shooting talent relative to the lower end players on any other team. As powerplay time tends to be overwhelmingly awarded to players that also receive the most even strength ice time, we should therefore expect a close relationship between even strength and powerplay shooting percentage, once sample size limitations are accounted for. That's precisely what we find.

*even strength goals were removed from the data for all figures referenced in this post.


** Nothing should turn on the fact that the correlation is larger than 1. If the average observed correlation was only slightly smaller, and the average reliability values only slightly larger, the adjusted correlation would very nearly equal 1. For example, if 2009-10 is excluded from the data, the average correlation changes to 0.145, and the two reliability values become 0.122 and 0.21. If these latter values are substituted into the equation, a more reasonable adjusted correlation of 0.91 is obtained.

.

Loose Ends - Part III A: The Power Play

[EDIT: It appears that I made an error when calculating the skill standard deviations for EV and PP shooting percentage at the team level. The tables and numbers referenced in the post have been edited to reflect the correct values.]

______________________________________________

I've written about the powerplay a few times in the past, with one post focusing specifically on the powerplay itself, and the other relating to special teams performance in general.

The purpose of this post is not only to address some questions that were left unanswered by the two previous ones, but also to look at two as yet unaddressed (at least, unaddressed to the best of my knowledge) issues relating to the powerplay.

Because the treatment of each issue is relatively extensive, I've decided to address them in separate posts.

______________________________

The first issue relates to whether powerplay shooting percentage is more or less 'random' than even strength shooting percentage. Admittedly, the use of the term 'random' leads to some confusion here. For both metrics, skill - or more properly, non-luck - would account for 100% of the team to team variation over the long run. What we're really after is whether the team spread in powerplay shooting talent is wider or narrower than the team spread in even strength shooting talent.

In a post from earlier this year, I included a table that showed the percentage of variation attributable to luck for various shooting metrics over the course of the regular season, based on data from the post-lockout era. I've reproduced that table below.

As indicated, whereas roughly 90% of the team variation in powerplay shooting percentage can be attributed to luck by the end of the regular season, the corresponding figure for even strength shooting percentage is only 67%.

Unfortunately, this fails to resolve our issue, for the reasons specified earlier. Teams take much fewer shots on the powerplay over the course of the regular season as compared to even strength. The disparity in sample size must be controlled for.

Coincidentally, this very issue arose in the comments section of a post made at behindthenet earlier this week. While I was in the process of working on this post at the time, I figured I'd address the matter then and there. Here's what I had to say:

Using seasons since the lockout, the variation in EV SH% at the team level is 33% skill and 66% luck, whereas the variation in PP SH% at the team level is 9% skill and 91% luck.

But the average team takes far fewer shots on the powerplay (~500) than at even strength (~1800). It goes without saying that the % of variation due to luck varies as a function of sample size (i.e. number of shots).

In order to compare apples to apples, it’s necessary figure out how many extra goals a team that is one standard deviation above the league average with respect to EV shooting talent can expect to score over a team that is exactly league average in that respect, per X number of shots.

If the same calculation is repeated in relation to powerplay shooting percentage, the results can be compared.

We’ll use 1000 as the value for x, which is the number of shots.

The results:

EV SH% – 2.64
PP SH% – 1.43

[EDIT: The correct values are 4.83 for EV SH% and 4.77 PP SH%]

So a team one standard deviation above the mean with respect to EV shooting talent can expect to score 2.64 more goals than a team with average EV shooting talent, per 1000 shots.

(We’ll ignore the fact that EV shooting talent and EV outshooting appear to be negatively correlated at the team level).

And a team one standard deviation above the mean with respect to PP shooting talent can expect to score 1.43 more goals than a team with average PP shooting talent, per 1000 shots.

So the implication is that team talent differences in EV SH% are wider than team talent differences in PP SH%.


So there you have it. Team talent differences in shooting talent on the powerplay appear to be smaller than team talent differences in even strength shooting percentage.

[EDIT: The correct values suggest that team skill differences in powerplay shooting percentage are roughly equal in size to team skill differences in even strength shooting percentage.]

One drawback with my method was that I looked at overall powerplay shooting percentage, rather than 5-on-4 shooting percentage. It's possible that the inclusion of other man-advantage situations (5-on-3s, namely) has affected our result.

In order to make sure that that wasn't the case, I made sure to ran the numbers for 5-on-4 shooting percentage as well, using the data available on behindthenet. Here are those results:


% RANDOM = percentage of variation attributable to randomness
% Skill = percentage of variation not attributable to randomness
1 Sigma/1000 =
the number of goals a team one standard deviation above the mean in 5-on-4 or EV shooting talent (as the case may be) would be expected to score, relative to an average team, over the course of 1000 shots]


While the differences between the two values are smaller when the 5-on-4 numbers are used, the conclusion remains - teams appear to be more varied with respect to even strength shooting talent as compared to powerplay shooting talent.

[EDIT: If anything, the correct values indicate the opposite - that teams appear to be more varied with respect to 5-on-4 shooting talent as compared to even strength shooting talent.]

How confident can we be that teams are, in fact, more deviated from one another in terms of even strength shooting talent than powerplay shooting talent? Not very. There is some uncertainty in our estimate for the luck component of powerplay shooting percentage at the team level over the course of a season. The figure of 91% is based on an observed standard deviation of 0.158 and a predicted standard deviation of 0.015. If the observed standard deviation was 0.0165 - i.e. slightly higher - then our estimate for the luck component would change to 84%. If the luck component was 84%, our 1 sigma/1000 value then becomes 2.55, which is comparable to the 2.64 1 sigma/1000 value obtained for even strength shooting percentage.

In other words, it's quite possible that teams are similarly distanced from one another with respect to both measures. Support for this proposition will be offered in the next post on this subject.




Saturday, March 19, 2011

Loose Ends - Part II: Score Effects and Minor Penalties



Back in November of last year, I looked at whether there were any score effects in relation to minor penalties. The conclusion? Playing from behind has a significant positive effect on powerplay differential. That is, teams tend to be much better at drawing penalties when trailing, as compared to when leading or when the game is tied.

While my initial article only looked at data from the 2007-08 and 2008-09 seasons, I've since ran the numbers for 2009-10 as well. Here are the aggregate numbers for all three years:

[PD=penalties drawn; PT; penalties taken; P % = penalties drawn/(penalties drawn + penalties taken)]

I should include a reminder that only penalties that were not accompanied by the calling of another penalty at the same point in time were included in the above totals.

In the original post, I asserted that trailing team's penalty advantage was not owing to its superior play, but was instead caused by favorable officiating. In support of this, I noted that actual team-to-team distributions in trailing and leading penalty percentage were roughly what one would expect them to be if the putative bias affected all teams equally.

Although I remain confident that my assertion was correct, I suspect that others may have found my explanation to be less than convincing. And in turning my attention to the subject for a second time, I think that there's a better way in which I can illustrate my point.

In determining whether the trailing team's penalty advantage is the product of bias or earned on merit, it becomes necessary to ask what result we would expect to observe, based on what we know about what causes some teams to be better at drawing penalties than others.

One of those causes is even strength outshooting. If we look at the relationship between EV tied Corsi and tied penalty differential over the last three seasons, each unit increment in the latter equates to 0.027 in the former.

It's well established that the average team does much better in terms of Corsi when playing from behind. Over the three years in question, trailing teams had a collective Corsi percentage of 0.552 (107706 For, 87079 Against). Given the positive relationship that exists between outshooting and penalty differential when the score is tied, the trailing team's advantage in Corsi may be able to account for it's advantage in penalty percentage.

However, upon performing the required calculations, it becomes clear that this factor can only explain part of the difference.


In other words, only about one third of the gap can be attributed to outshooting.

Not only that, but it's clear that the shot statistics flatter the trailing team, given that playing from behind encourages a team to take more risks and play more desperately. For example, during the period in question, trailing teams only scored 51.9% of all non-empty net even strength goals (4623 For, 4292 Against), despite, as mentioned above, generating 55.2% of all Corsi events. It's more than arguable that goal differential, and not Corsi differential, provides the best measure of how well the trailing team actually performs.

As with outshooting, there is a positive relationship between even strength goal differential and penalty differential when the score is tied. Based on data from the three seasons in question, each net goal is worth 0.26 in net penalties drawn. We're able to use this figure to determine what kind of penalty advantage we'd expect the trailing team to have, based on its goal differential.


As the table indicates, we would expect the trailing team to do only slightly better than the leading team in terms of penalty differential on the basis of its advantage in even strength goal differential. Thus, however which way you approach it, referee bias must account for a substantial part - and probably almost all - of the penalty gap.
 

Thursday, March 17, 2011

Loose Ends - Part I: Predicting Future Success



My plan is to put out a series of posts - hopefully all within the next while - that relate to subjects that I've posted on previously. The object of these posts is to address certain outstanding issues that weren't resolved when I tackled these subjects the first time around.

The first post in the series is an extension of a post that I published last month that looked at how various shot metrics - all of them calculated at even strength with the score tied - predicted future success at the team level.

One related issue that wasn't explored is how well those same shot metrics predict future success when compared to more conventional measures of team strength, such as winning percentage and goal ratio.* This question is actually more fundamental than the one investigated in the original post. After all, if shot metrics like Fenwick and Corsi failed to predict future success better than the conventional measures, then that would render them considerably less useful.

The method employed** was similar to the one used in the first post. Because of the relative complexity of the process, including a step-by-step description may be helpful.

Firstly, I randomly selected a certain number of games from each team's schedule, with each team having an equal number of home and road games selected.

Secondly, I calculated how each team performed over those games with respect to certain variables. The variables that were calculated were even strength Corsi with the score tied, overall goal ratio (with empty net and shootout goals excluded), and winning percentage. Winning percentage was defined as WINS/(WINS+LOSSES). Games that ended in a shootout were considered ties, and were therefore not included in the calculation.

I then randomly selected a second, independent group of games. That is, if a game was included in the first grouping, it was not eligible for selection in the second grouping. As with the first grouping, an equal number of home and road games were selected for each team.

I then determined how each team did in terms of winning percentage over this second group of games, and looked at how each of the three variables calculated in relation to the first group correlated with winning percentage in the second group.

The relationship between the size of the two groups can be expressed as y=(80-x), where x represents the number of games included in the first group, and y the number of games in the second group. So, for example, if 20 games were selected for the first group, the second group would consist of 60 games. Ultimately, I elected to use x values of 20, 30, 40, 50, 60 and 70.

The raw data used was from the 2007-08, 2008-09 and 2009-10 regular seasons. The table included below shows the results for each individual season, as well as the average results. The values represent the average correlation over 1000 calculations.

A couple points:

- Corsi Tied is the best predictor of how a team will perform over the remainder of its schedule, regardless of the point in the schedule at which the calculation occurs.

- Corsi Tied is only marginally more predictive of future success than goal ratio or winning percentage when looking at samples of 60 games or more. In other words, as the sample size becomes increasingly large, there are diminishing returns with respect to the predictive advantage of Corsi. By the end of the season, all three variables seem to predict future success equally well

- The above fact has implications in terms of determining playoff probabilities at the team level, with the results suggesting that a composite metric would work best

- The aggregate values for Goal Ratio and Winning Percentage are remarkably similar. The implication is that once shootout results are controlled for, winning percentage is as good of a measure of a team as goal ratio is

Next up: Score Effects and Minor Penalties.

*Some readers may have observed that the split-half reliability of goal ratio (0.417) was lower than the predictive validity co-efficients for both Corsi Tied (0.444) and Fenwick Tied (0.429). The implication is this is that the two latter variables are better able to predict goal ratio from one half of the schedule to the other than goal ratio is itself.

** I should note that this method was actually developed and first used by Vic Ferrari. See here.

Addendum

Scott Reynolds had a question in the comments section on how the results would differ if we looked at future EV performance rather than overall performance. Using the same method as the one described above, I looked at which of EV Corsi Tied and EV goal ratio (empty netters removed) was better able to predict future performance at even strength (which I operationalized as future EV goal ratio). Here are the results:


The results aren't too different - Corsi Tied is a much better predictor early in the schedule, but the two measures have about the same predictive power by the end of the year.
.
.
.

Sunday, February 27, 2011

EV Data for Games 1-939



[If you're having difficulty viewing the document, click here to view the spreadsheet directly at googledocs.]

Notes

The document contains three worksheets. The first sheet shows even strength data for all situations. The second shows even strength data for when the score was close (i.e. whenever the score margin was 1 or 0 in the first two periods, or tied in the third period or overtime). The last sheet contains data for when the score was tied.

Empty net goals have been removed from the data.

Missing Games List

Game 124 - WSH@CAR
Game 429 - ATL@NYI

Abbreviations

GF: goals for
GA: goals against
SF: shots for, where shots = goals + saved shots
SA: shots against
SHOT%: shots for/(shots for + shots against)
SH%: shooting percentage
SV%: save percentage
PDO: shooting percentage + save percentage
FF: fenwick for, where fenwick = shots + missed shots
FA: fenwick against
F%: fenwick for/ (fenwick for + fenwick against)
CF: corsi for, where corsi = shots + missed shots + blocked shots
CA: corsi against
C%: corsi for/ (corsi for + corsi against)