Evaluating passing skill in hockey is hard, especially when most of the data that you have to work with is just box score stats. Sure, primary assists, secondary assists, and turnovers are a decent place to start, but that’s a specific subset of all passes that occur in a hockey game. What about the passes that take place over the rest of the game?
Well, the lack of data has stood in the way of that sort of analysis for women’s hockey in recent years. But earlier this year, for the Big Data Cup, Stathletes released a dataset for the 2021 NWHL season that contained detailed tracking data, including pass events and both passer/receiver locations. With this data now available for the NWHL, it was unsurprising that many people made evaluating passing and movements a focus of their Big Data Cup projects, a list of which you can find here.
There were quite a few projects that focused on evaluating pass types by pass cluster, but for this project I was interested in testing out a couple of methods for evaluating individual players and their passing skill. You can find the full results and leader board at the bottom of this article (though some of the columns may not make sense if you don’t read the full article!) and the code can be found on my GitHub page.
The first method I test is building a Completion Percentage Over Expected (CPOE) model for the NWHL data and then using a Bayesian estimation to look at uncertainty in CPOE. While CPOE is not a new idea, I was inspired to use the Bayesian process by the tweet/project that is linked below which looked at CPOE for NFL Draft Prospects.
The other method that I explored is using a linear mixed-effects model with a random effect term for each player to see how each player’s completion percentage varied. Much of this was inspired by Dani Treisman’s Big Data Cup project, which used mixed effects for measuring how skill impacts xG, as well as previous research surrounding fumbles in the NFL (Michael Lopez) and catcher framing in baseball (Jonathan Judge, Harry Pavlidis, and Dan Brooks).
Let’s jump into it!
Completion Percentage Over Expected (CPOE)
Every attempted pass will either be completed (1) or incomplete (0). However, every single pass has a different likelihood of being completed. CPOE looks to see who completes more (or fewer) passes than what they’re expected to based on how difficult the pass attempt was. If a player is routinely completing difficult passes, that’s a good indication that they are a very good passer.
I used a Generalized Additive Model (GAM) from the mgcv
package in R to model Expected Completion Percentage (xCP) for this project, using the passer location, intended receiver location, length of the pass, and the direction of the pass as inputs. These inputs are mostly dependent on the offense, though xCP surely depends on the defensive alignment, we don’t have that data available, so it’s not considered.
One item of note: while I took a random half of all the direct passes in the dataset to train the model, I did run the model on the entire dataset in order to include as many players/passes as possible in my results. This approach does mean that over fitting is a potential concern with our model, given the limited sample of passes (about 8000 recorded passes). (I removed indirect passes from the NWHL dataset because rimming a pass along the board has a different goal than a pass directed at another player.)
Once we run our Completion Percentage model on the NWHL data, we can calculate the CPOE for each pass (and player). As discussed previously, every pass is either complete (1) or incomplete (0). Since the GAM that we ran uses a binomial distribution, the values returned from the model are probabilities, ranging from 0 to 1. To calculate CPOE, take the Completion Percentage (CP) of the pass (0 or 1) and subtract the Expected Completion Percentage (xCP) from it.
For example, take a complete pass from Kaleigh Fratkin to McKenna Brand, which has an xCP of 0.64. Since the pass was completed, it has a CP of 1.00. Given the xCP of 0.64, the CPOE of that pass is 0.36. Repeat this process (or rather, write the code for it) and you get CPOE for every player. (The full leaderboard for CPOE is at the bottom of this article.)
Great!
We’ve calculated which players have completed more (or less) passes than we would expect, but how can we account for the uncertainty that comes from working with small samples? That’s an important question because CPOE tends to converge to 0.00 in our sample (check out the CPOE by Pass Attempts graph at the end of the second section to see this trend).
It’s clear that we should be cautious in making sweeping claims about the passing skill of players with just a few passes (and I’d argue that all the players should be viewed with caution because even Kaleigh Fratkin’s 245 passes isn’t that many). Obviously we can mentally add that asterisk to these figures, but I’d be happier if we put a number (read: confidence interval) on these figures.
That’s where the linked tweet and Bayesian estimation comes in.
Taking each player individually, the model examines each player’s distribution of CPOE and returns their mean CPOE, as well as the figures for a 95% confidence interval of where that player’s “true” CPOE lies. This interval is represented on the graphic below for the 44 NWHL players who recorded at least 75 attempted passes in 2021.
We have a fairly even split of positive CPOE and negative CPOE here, with some on the much higher and much lower ends of the spectrum. What I want to draw attention to is how the length of the interval is varied for every single player. On one hand, you’ve got a player like Kaleigh Fratkin, who has a the smallest interval, and on the other there’s Kristin Lewicki with a giant interval.
The graph with all 44 names on it can be kind of tough to read, so we can visualize this on a smaller scale too. Here I’ve pulled four names: Kaleigh Fratkin, McKenna Brand, Mikyla Grant-Mentis, and Sarah-Eve Coutu Godbout to represent this.
While there is overlap between every single player’s distribution of CPOE, we see that Fratkin has the highest peak of CPOE, while Coutu Godbout’s distribution is flatter. This indicates that there’s less uncertainty in our estimation of Fratkin’s CPOE (0.036 per pass) while we don’t know as much about Coutu Godbout “true CPOE talent”, which is -0.095 per pass in our sample.
(I chose these four names because they had distributions that I was looking for, but can easily run this for really any combination players. If you want to see a different set of players, hit me up on Twitter @benhowell71!)
The discrepancies in those intervals and distributions is largely due to how many passes have been observed for each player. For instance, Fratkin’s 245 passes are the most in our dataset, while Coutu Godbout’s 75 passes are right at our arbitrary cutoff. However, it’s not a 1:1 relationship between passes and spread (check out the CI Lengths vs Pass Attempts graph at the end of the second section to see this trend). Another factor that plays a big part in determining that 95% confidence interval is a player’s consistency.
For instance, if one player oscillates between successfully converting low xCP passes and turning over high xCP passes, they’ll be more volatile (larger interval) than the player who completes everything above an xCP of 0.5 and fails to complete anything below 0.5.
Mixed Model to account for passer effects
The second model that I tested is a mixed effects model with a random effect intercept. The random effect in the formula (the (1 | Player) term) has the model evaluate each player against their own baseline average, rather than relative to the overall population.
The major components of my mixed effects model are the same as the GAM I used earlier, with the sole addition of the random effect parameter (1 | Player). The pass start and intended location, direction, and length all remain in the model.
Once the model has been run, we can pull out the intercepts for each unique player to see who increases the likelihood of a successful pass the most (a positive intercept = better passer by this measure). As with our CPOE measure, the mixed effects model allows us to create confidence intervals for the effect of each player.
Now that we’ve gone through the two methods that I used to try and measure passing skill in the NWHL, let’s compare them! (There’s going to be some words here, but you can scroll down to find the full results and leader board at the end of the article.)
There turned out to be a strong relationship (R of 0.83) between CPOE rank and Passer Effect rank. In most cases, being a good passer by either CPOE or by Passer Effect means that a player is probably a good passer in the other. However, there are some…interesting cases and discrepancies between the two, most notably with Jonna Curtis, a forward with the Minnesota Whitecaps who had 96 pass attempts. It’s an interesting discrepancy and one that may be worth exploring more in-depth (or it could be a small sample quirk).
In contrast to our CPOE metric, the Passer Effect intercept does not converge as drastically to zero. I did find it intriguing that everyone with more than 125 direct passes increased the chance of a successful pass; this could imply that the better a passer you are, the more passes that you make. However, this could also be a quirk of our small sample size.
As with CPOE, there is a strong relationship between attempting more passes and having a smaller confidence interval on a player’s intercept.
Leaderboard and Full Results
Below is a full table that compares CP, xCP, CPOE, and Passer Effect for the 2021 NWHL skaters who attempted at least 75 passes in the 2021 season + a rundown of some of the results I found interesting.
Kaleigh Fratkin (the 2021 Defender of the Year) who had 9 assists, fared much better in the Passer Effect metric (ranking 3rd) while ranking 11th in CPOE. Her xCP has on the higher side and, for how high her xCP is, her CPOE is really good! It’s just hard to improve on already high xCP passes. The high Passer Effect does indicate that her proclivity to have high xCP passes could be because she’s an excellent passer!
Mikyla Grant-Mentis (the 2021 MVP) was above average in both CPOE and Passer Effect, but didn’t pop at the top of either leader board. McKenna Brand ranked 2nd in both CPOE and Passer Effect, which meshes well with Treisman’s findings on Brand leading the NWHL in his play-making ability metric.
NWHL CPOE (Completion Percentage Over Expected) and Passer Effects
Minimum 75 passes in 2021 season
LS0tDQp0aXRsZTogIk1lYXN1cmluZyBQYXNzaW5nIFNraWxsIGluIHRoZSBOV0hMIg0KYXV0aG9yOiAiQmVuIEhvd2VsbCINCmRhdGU6ICI2LzUvMjAyMSINCm91dHB1dDoNCiAgaHRtbF9kb2N1bWVudDoNCiAgICBoaWdobGlnaHRlcjogbnVsbA0KICAgIHRoZW1lOiAiZmxhdGx5Ig0KICAgIGNvZGVfZG93bmxvYWQ6IFRSVUUNCiAgICB0b2M6IHRydWUNCiAgICB0b2NfZmxvYXQ6IHRydWUNCi0tLQ0KDQpgYGB7ciBzZXR1cCwgaW5jbHVkZT1GQUxTRX0NCmtuaXRyOjpvcHRzX2NodW5rJHNldChlY2hvID0gRkFMU0UsIA0KICAgICAgICAgICAgICAgICAgICAgIHdhcm5pbmcgPSBGQUxTRSwgDQogICAgICAgICAgICAgICAgICAgICAgbWVzc2FnZSA9IEZBTFNFLA0KICAgICAgICAgICAgICAgICAgICAgIGZpZy5hbGlnbiA9ICJjZW50ZXIiKQ0KYGBgDQoNCmBgYHtyIERhdGEgTWFuaXB1bGF0aW9ufQ0KbGlicmFyeSh0aWR5dmVy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