## How is T-Rank calculated?

The core of T-Rank is calculating offensive and defensive efficiency: points scored and points allowed per possession ("PPP" = points per possession, often rendered as points per 100 possessions). Although coaches like Dean Smith and Bo Ryan have long relied on PPP, it really hit the big time when Ken Pomeroy popularized it about a decade ago.

Kenpom's innovation (one of them, at least) was to separate out the offensive and defensive PPP and then adjust them for opponent quality and venue. Although Kenpom has made some changes over the years, that's still the core of his ratings, and that is also the core of T-Rank.

Calculating adjusted efficiency for a given game is fairly straightforward:

Game Adj. OE = PPPo / (Opponent's Adj. DE / Average PPP)

Game Adj. DE = PPPd / (Opponent's Adj. OE / Average PPP)

For example, assume the average PPP league wide is 100, and Team A scores 110 PPP against Team B, which has an Adj. DE of 90.0. Team A's Adj. OE for that game will be:

110 / (90 / 100) =

**122.2**

This is for a game on a neutral court. If it's a home game, each team's Adj. OE and DE are adjusted by 1.4 %. So if Team A was on the road it would be:

110 / (90 * .986 / 100) =

**124.0**

And if Team A was at home it would be:

110 / (90 *1.014 / 100) =

**120.5**

The tricky part of calculating the efficiencies is that every result affects its own inputs. If a team comes into a game with an Adj. DE of 90.0 and it gives up more points than expected, its Adj. DE will go up—and then you have put that new Adj. DE in as the source for calculating the game's efficiency. Fortunately, computers can do all that stuff relatively quickly: you just keep doing it and doing it until the numbers stop changing.

Once the numbers have stopped changing, for each team you average their Adj. OE and Adj. DE from each game to get their overall adjusted efficiencies. From the adjusted efficiencies, I use Bill James' "pythagorean expectation" formula to calculate the actual rating, which I jokingly call its "Barthag" (a play on "pythag," which is the correct term). The Barthag is an estimate of what a team's chance of winning would be against the average DI team. So it is between 0 and 1, and higher is better.

There is a constant, called the exponent, used in calculating the Barthag. For my system, I have found that an exponent of 11.5 gives the best results from a predictive standpoint.

From each team's Barthag, we can use another Bill James creation, the log5 formula, to calculate their expected chance of winning against any other team. This allows me to do fun stuff like project records, and run simulations, etc.

UPDATE:

I've made a small but significant change / addition to the ratings, which is that I now incorporate a metric I call "GameScript +/-" which is derived from play-by-play data and measures a team's average lead / deficit during a game. Also, for these purposes I lock this metric when the game is no longer in question. This adds a measure of "game control" and potentially weeds out some "garbage time" effects. More explanation here.

UPDATE:

I've made a small but significant change / addition to the ratings, which is that I now incorporate a metric I call "GameScript +/-" which is derived from play-by-play data and measures a team's average lead / deficit during a game. Also, for these purposes I lock this metric when the game is no longer in question. This adds a measure of "game control" and potentially weeds out some "garbage time" effects. More explanation here.

## How is T-Rank different from Kenpom?

The short answer is that T-Rank is very similar to Kenpom, which is no surprise given that T-Rank is basically an offshoot of Kenpom. But there are three main sources of difference:

**GameScript and Garbage Time**

The incorporation of the GameScript stat, and its omission of garbage time gives T-Rank a slightly unique aspect. Whether it's a good aspect is another question.

#### Pythags versus Efficiency Margins

Prior to the 2017 season, Kenpom switched away from the pythagorean expectancy / log5 method, to a still very similar system that uses adjusted "efficiency margins" (EMs) instead. The main difference is that instead of being multiplicative, the new Kenpom system is additive. So the basic formula is:

Game Adj. OE = (PPP - Average PPP) - (Opponent's Adj. DE - Average PPP) + Average PPP

For our neutral court example above that would be:

(110 - 100) - (90 - 100) + 100 =

**120**

So, similar, but a little different. When Kenpom decided to go to adjusted EMs, I decided to stick with the Barthag, for old time's sake.

#### Secret Sauce

Here are the additional adjustments I make:

- There's a recency bias—all games in the last 40 days count 100%, then degrade 1% per day until they're 80 days old, after which all games count 60%.

- An adjustment that discounts blowouts in mismatches—if the margin of victory (MOV) is more than 10 points and the difference in Barthags is above a threshold, the game starts getting discounted. If the MOV is 20 points or higher, the discount is (Higher Barthag - Lower Barthag - .5) * 2. So if a team with a Barthag of .8000 is playing a team with a Barthag of .2000, and it wins by 20 points, the game value will be 1 - (.8 - .2 -.5) * 2, or 80%

- As with Kenpom, there is also a preseason component that is phased out once a team has played 13 adjusted games (since not all games count for 100% of a game, it typically sticks around for 15 or 16 games).

Ultimately, because of these differences, the final numbers are similar but different. Notably, T-Rank has a wider "spread" between top and bottom teams, probably because Kenpom has a much more significant cap on margin of victory.

## What is T-Rank For?

I don't envision T-Rank as a competitor to or potential replacement for the Kenpom ratings. People should pay for a Kenpom subscription. Those ratings are deservedly the "industry standard," and I have no ambitions of displacing them. My work started by using the published Kenpom ratings to fill some gaps, specifically the fact that he doesn't publish adjusted efficiency margins for conference-only play. He could easily do so, which means he probably has a good reason (probably that there are fewer games, and the schedule mostly evens out in the end) for not doing so. But that didn't stop me!

Eventually, I figured how to make a similar set of ratings, and making my own ratings from scratch allows me to fill more gaps and make more interesting tools for looking at college basketball. So the purpose of T-Rank is mainly to be the foundation for those tools—it's not an attempt to create a better or truer ranking of teams.

Why do teams ranked 340-351 have Barthags higher than any other team below 330? Coppin St. .767?

ReplyDeleteThanks for pointing that out -- it's a display error as the leading zero is being dropped. Will fix. Eg., Coppin St. is actually .0767

DeleteAs a freestanding analytic tool (now not tied to Kenpom) your T-Rankings will provide an excellent comparison tool (set). Thanks much.

ReplyDeleteCan you explain WAB? I read the definition and then i see the higher number get greener. If a bubble quality team would win more games against the team's schedule, why would that be a good thing?

ReplyDeleteThe WAB number isn't how many games a bubble team would win against that team's schedule, it's how many MORE (or fewer) games a team has won against its schedule than a bubble-quality team would be expected to win. So say a team has a schedule that a bubble quality team would be expected to go 10-10 against. If the team is actually 15-5, that's a WAB of +5.0. If they were 5-15, the team's WAB would be -5.0. If they are 10-10, it's par, 0.

DeleteCan you add sortablity for the team names column and maybe filters to view 1 or 2 teams at a time? Great site btw. I like that customized filter where you can limit the time frame and see not only the ranks , but the adjusted offense and defense during the time selected against top teams. Also, the team pages are great.

ReplyDeleteThanks! I can add a teamname sort to the main page at last. As for 1 or 2 teams, will have to think about that from an interface perspective. Can filter by conference to narrow things down to a more manageable viewing experience.

DeleteCan now look at & compare two teams on the main page at a time by clicking on a matchup on the schedule or team pages. You can also choose any two teams by manipulated the URL parameters (t1l and t2l -- those are ELLs on the end, short for "limit")

DeleteThanks for the explanation and for making T-rank. I really like the tools you have, like the ability to select games from a certain time period and the ability to compare tournament performance to expected wins.

ReplyDeleteThanks!

DeleteI'm really impressed with your T-Ranketology algorithm. It's the most accurate near real-time bracketology I know of, which should make for a great resource to follow during the conference tournaments. I have noticed that your live scores sometimes don't acknowledge that a game has ended for quite a while. For instance today's Louisville/Florida St game ended at 1:00 CT today, but it still shows the game being in progress as of now. It does however already acknowledge that subsequent Boston College/NC St game has ended. Is there a possible fix for that? It would be awesome to see how some of these games affect your seed list in real time.

ReplyDeleteThanks! I'm pleased with the performance of the T-ranketology algorithm, though I'll probably try to improve it some more this offseason. Basically, the idea is to give a general idea of how games a given outcome will affect things, and I think it does a reasonable enough job of that. Ultimately, you can't model madness, but it's fun to try.

DeleteAs for the live scores, etc ... I update the site data every 15 minutes, but sometimes it takes quite a while for box scores to go officially final (which is when I pull the data). This seems to be especially common during tournaments, so that's probably what was going on with the Louisville /Florida St. game.

All in all the live scoring feature is sort of a beta thing. If you like it, you can still see the live scores by putting live=1 in the URL, even though I took the checkbox away.

Hey Bart big Mean Green fan here- can you please update your site and replace Tony with Grant McCasland please. Big fan of your work. GMG

ReplyDeleteDone - thanks for pointing out the error.

DeleteHi. Is it better to have a lower rank in the FUN? I assume the lower rank means less lucky because those are shaded green and green is good usually. Lucky would not be a good thing because it makes the team look better than they are.

ReplyDeleteAs Socrates said, better lucky than good.

DeleteThis is incredible, and I love everything on your website. It has helped me a lot with a project I'm working on. The only thing I would want to see is the inclusion of RPI and BPI, especially with the ability to filter by date. I can only seem to find current BPI rankings on other websites, but nothing with the ability to see BPI rankings, say, one week before the tournament started.

ReplyDeleteThanks Adam! If you want to look at RPI as of certain dates, you can find that buried on that ncaa website in its archive of the "team sheets." For last year, the BPI is listed on those. For example, here are the team sheets as of March 4th last year: https://extra.ncaa.org/solutions/rpi/Stats%20Library/March%204,%202018%20Team%20Sheets.pdf

DeleteFound it. This is everything I could have dreamed of. Thanks Bart!

DeleteHey Bart, I'm a big fan of your work! I was looking at your 2019 player finder to compare some freshmen PRPG! projections w/ returning players and noticed freshman have not yet been included in the 2019 player finder. Are you planning on adding them? Thanks!

ReplyDeleteThanks, and sorry for the late reply. It would be sort of apples to oranges to put them in the player finder because for 2019 I've got a player's "returning" stats, and for Freshmen of course I can only do projections. I do have all the projections, including for freshmen, here: http://barttorvik.com/allrosters19.php?conlimit=&yvalue=Fr&type=All&s=15

DeleteWhat does the percentage in parentheses mean next to the T-Rank line on the Today's Games tab?

ReplyDeleteEstimated chance of winning.

DeleteA friend recommended your site yesterday, wow, great work, very detailed info.

DeleteRegarding win %, is that like ML win or against the spread?

In the team shooting stats section, for the "share" of the different categories (dunks, at the rim, other twos and threes), is the "share" a team's share of its attempts or a share of its points?

ReplyDeleteIt's the share of attempts.

DeleteThanks! I love your site. You're doing fantastic work!

DeleteHey man, your site is incredible. Great work with all the stats, easy to understand, and fun to find any stat youre looking for. Thanks for the hard work youve put in.

ReplyDeletethanks!

DeleteIt's December 17th and Purdue is 6-5. Yet you have them ranked 20th. It's pretty clear they aren't playing like the 20th best team in the nation. IIRC it takes 13 games for the T-Rank preseason predictions to "wear off," but in this case I think it greatly diminishes the quality of the rankings. Curious what you think.

ReplyDeleteThanks!

It really isn't the preseason projection that's causing Purdue's rating: 1) the preseason projection had Purdue at about 41st, and 2) as you mention, the preseason projections are largely phased out at this point anyhow.

DeleteWhat is causing it is that T-Rank is about projecting future performance, so it cares about quality of performance not just the result. By my metrics, Purdue has played the 3rd hardest schedule in DI, so you'd expect them to have taken some bumps. All of Purdue's losses have been away from home against quality opponents, and except for the Michigan game they've been hard fought contests. That's what T-Rank and other similar systems look at. (Notably, Kenpom also has Purdue at 20th right now.)

The best guess is that they're unlucky to be 6-5 and will perform like a top 25 team going forward. But that could of course be wrong. It could be that their losses were lucky to be close, and they're a harbinger of bad losses to come. But looking beyond wins and losses to my mind is exactly what this kind of ratings system is supposed to do.

Always interesting to read through comment sections and see what sticks out as a future reader - and this was spot on. If not for a freak finish to the Purdue/Virginia Elite 8 game of 2019, Purdue finishes as a Final 4 team at minimum (and considering they lost to the eventual champion, there's a high chance Purdue could've advanced past the Final 4), which you and your rankings seem to have called!

DeleteYes, this one worked out well.

DeleteYou’ve got the 1/5/19 Duke-Clemson game at Clemson. It’s at Cameron.

ReplyDeletethanks, will fix.

DeleteHi Bart - How are injuries factored into the equation?

ReplyDeletethey're not!

DeleteCan you explain how the Talent stat is calculated?

ReplyDeleteIt is based on composite recruiting ranks weighted for minutes played.

Deletehttp://barttorvik.com/cgi-bin/ncaat.cgi?type=coach&sort=1&yrlow=2000&yrhigh=2018

ReplyDeleteAre you aware that if one clicks on FAQ and then clicks on About Me, one gets "Never Gonna Give You Up" by Rick Astley.

That used to called Rickrolling. Now, you may just be pranking your fans or be a big Astley fan......

Hmm, not sure what's going on with that. Should be fixed now:

DeleteAbout Me

ðŸ˜‚ ðŸ˜‚ ðŸ˜‚

Deletewhat a great reply

It's still not OK. I'd much rather be learning more about your methodology. Also, I'd much rather this be discussed offline. When I (or anyone else) wants to find out more about you and, instead gets a video that even Rick Atsley has called "chessy", it tends to reflect badly on what you've done. Rickrolling has been a thing on and off since 2007 or so. Are you positive you're not be pranked? => that someone put up to video to play with you. I can't see the code...else I might be able to help you more. I hope you get it fixed.

ReplyDeleteOK, are you going to the Final Four? If so, let's meet up and discuss.

DeleteLove your stuff. Can you briefly explain how Tempo is adjusted from the raw possession formula? Thanks!

ReplyDeleteIt's the same basic process as adjusting the offensive and defensive efficiency.

DeleteThis comment has been removed by the author.

ReplyDeleteJust curious if there's a spot on your site to view your prediction accuracy on the year.

ReplyDeleteGreat content, thanks!

The schedule page has some info on that at the bottom of the table for each completed day. for the entire year so for the mean absolute error for scoring margins is 9.0, for totals it's 13.8, and favorites are 3875–1399 (73.5%).

DeleteThat 73.5 number is exactly what I was looking for, thanks!

DeleteI love the site! I've looked into at the rim, other 2 point, and 3 point attempts as well. I noticed a lot of home scorekeeper issues in consistency with what they define as shots at the rim opposed to jump shots. I would compare shot distribution at home to road/nuetral site games and there were some significant differences. For the 17-18 season Indiana and Rutgers were a couple extreme cases where the home scorekeeper seemed to label more at the rim shots than they should. You don't happen to try to account for that in your share by chance? Or do you have a way to sort home/road? Thanks

ReplyDeleteThere are definitely scorekeeper issues with the play by play data, so it's kind of "use at your own risk" stuff. I don't believe I currently have a way (on the site) to sort that data by home/road, though it's definitely something I could look into on the back end. Interesting idea for something to look at over the summer.

DeleteWould you be willing to share (I will gladly pay or donate) your projected score formula? I've been plugging in barthag ratings (2/15/19-current) into the Log5 formula, and then comparing that result to the full season Log5 result to make some minor adjustments to your projected point spread. I also convert the Log5 result into a money line:

ReplyDeleteif Log5% > 50%

Log5% / (100% - Log5%) x (-100) = money line

I've been manually collecting/entering data to find the relationship between the moneyline/total and the spread, but I've started to realize that it's going to be near impossible to get a large enough sample size. Anyways, your site has reignited my interest in college basketball! Best of luck to Wisconsin next year (;

To calculate scores I use each team's adjusted efficiency numbers (modified for home/road as necessary) to calculate an expected points per possession for each team, and then take each team's adjusted tempo numbers to calculate an expected number of possessions, then multiply the expect points per possession by the expected number of possessions.

DeleteCalculating projected points per possession:

t1_proj_ppp = ((t1oe / avgeff) * (t2de / avgeff) * avgeff) / 100

t2_proj_ppp = ((t2oe / avgeff) * (t1de / avgeff) * avgeff) / 100

Calculating projected number of possessions:

tpro = (t1t/avgt)*(t2t/avgt)*avgt

t1_proj_pts = t1_proj_ppp * tpro

t2_proj_pts = t2_proj_ppp * tpro

Thanks torv!

DeleteTwo Questions:

ReplyDeleteWhat is the difference between Effective and Average Height?

Also, what is the PAKE Stat or the PASE Stat?

Thanks!

Hi Dylan,

Delete"Effective Height" is an attempt to calculate minute weighted height of the 4s and 5s. So it's basically the average height of the tallest 40% of minutes.

"Average Height" includes all minutes, not just the bigs.

PAKE is "performance against kenpom expectations" -- tourney wins versus the amount of tourney wins expected based on team's adjusted efficiency rating (used Kenpom 2.0 for before 2017, T-Rank since).

PASE is the same think except using "seed expectations" as the baseline -- so wins versus the amount expected for a given seed.

What are your preseason rankings based on? Thanks.

DeleteSome info on that here: http://adamcwisports.blogspot.com/2015/09/t-rank-2016-preview-nuts-and-bolts.html?m=1

DeleteUnder the "Today's Games" tab, what does the TTQ (Torvik Thrill Quotient) measure?

ReplyDeleteBasically takes into account how good the teams are, how close the game is projected to be, and how fast the tempo is projected to be.

DeleteBart! Looks like you put a great deal of effort into your content...awesome job!

ReplyDeleteQuestion: In the today's game tab, there is a line under the table of games that report a few statistics. Is the stat for Record of Favorites based on a straight win, not ATS under your T-Rank Line?

Thanks!

Correct. It's mainly a way to see how well-calibrated the projected win percentages are. If there are two games where the both favorites are 51% chance to win, their expected record will be 1-1.

DeleteHey Bart! Love the shooting data on the site. What site do you parse the shooting data from? Thanks!

ReplyDeleteI pay for a feed of play by play stats, but they are also available at NCAA's stats website.

DeleteHello, Do you know of any sites in which you can save players and quickly pull up comparative stats. Let's just say, for example, I wanted to save a set of college point guards(7-10)as a list and be able to quickly pull up YTD stats as a table for comparison throughout the year.

ReplyDeleteSorry I don't

DeleteWhy is the DRB rate of a powerful team lower than that of an average team?

ReplyDeleteMore than one way to skin a cat.

DeleteHey Bart,

ReplyDeleteAny chance you could explain the "Net" statistic that shows up in the box scores for each game? And also, related to that, what does it mean if a player has a "threshold win"?

Thanks! Love the site.

Hi Joey, the "Net" is a conversion of the box-plus minus stat (which is per-possession) grossed out for the minutes actually played to give an indication of the player's net points added / subtracted for the game. A "threshold win" is when that Net figure exceeds the team's margin of victory, implying that his performance was the difference between winning and losing.

DeleteQuestion on these formulae when it's the first game of the season:

ReplyDeleteCalculating adjusted efficiency for a given game is fairly straightforward:

Game Adj. OE = PPPo / (Opponent's Adj. DE / Average PPP)

Game Adj. DE = PPPd / (Opponent's Adj. OE / Average PPP)

For the first game of the year to get the team's initial "Game Adj. OE", would it be as simple as:

Game Adj. OE = PPPo ?

Hi Bart,

ReplyDeleteOne more question. I am trying the get the part of the OE/DE formula where the results affects it's own inputs. I was testing it in Excel first but the numbers are not stabilizing to one number like you mentioned. I have a simple screenshot here if you have time to look: https://imgur.com/a/VNKcU97. I am in fact feeding the opponent's new AdjDE into the formula, but the number's each row go back and forth from original Adj.OE to another float.

Thanks for your time! you rock.

Hi Justin, I've always used a preseason prior as part of my ratings, so I've never had to deal with the "game one" problem directly. But I think you are correct that there would be no adjustments in game one.

DeleteDoing the iterations in a spreadsheet is pretty complicated. I did it that way for the first year of T-Rank (the site was actually just a single page that was created directly from Excel). The way I did it was to have a macro that essentially cut and paste everything over a bunch of times. I did have issues with things stabilizing that took a lot of tinkering to get working, and I frankly don't remember how I did it. That is pretty tricky stuff.

Hi Bart,

ReplyDeleteI see that for Maryland, freshman Chol Marial is not included on their roster, but he has played some minutes for them since his debut on 12/29/2019. I expect he will make a significant impact as the season progresses, if nothing else, due to his size. Is it possible to add him to their roster? Any insight as to how or why he was omitted? Is this a special case since his long term injury status was uncertain at the start of the season? Could there be similar omissions for other teams?

Thanks, and as others have said, this is fantastic work you have done!

Correction: He is listed on the roster for Maryland, but does not show up on the T-rank line page for their upcoming game against Wisconsin. I suppose then the question becomes, is there a threshold for including a player in any particular game projection?

DeleteHi, I don't really show "rosters" per se -- just stats. So guys who haven't accumulated any stats won't show up. On the team pages, I also exclude guys who've played less that 1% of available minutes (just to keep superscrubs off the page)

DeleteHi, what is ADJ T.? i hover over it and nothing pops up. Trying to figure out what this is. It is the column right before WAB on this page: http://barttorvik.com/#.

ReplyDeleteAdjusted Tempo

DeleteDo the rankings ever get adjusted due to injuries of a teams top player(s)?

ReplyDeleteNo.

DeleteHello!

ReplyDeleteFirst of all your site and your work on it is pretty impressive!

I would like to ask that under the "Today's Games" tab, what does the "MOV Mean absolute error", "Totals MAE" and "Score bias" mean?

Thanks in advance and sorry if it's a lame question.

A.

MOV Mean Absolute Error is how far off the day's predictions were. So if's 8, that means actual result of the average game differed from my prediction by 8 points.

DeleteTotals MAE is the same, except for totals (predicted total score)

Score bias shows how predicted totals compared to actual total scores. So if it's minus 1, that means the average game actually had 1 more point than predicted.

Hi,

ReplyDeleteThis result should be red, shouldn't it? Kansas did not cover the spread. i thought they would as well. http://barttorvik.com/schedule.php?sort=time&date=20200304&conlimit=

Nevermind my question. Your results being red or not is based on flat out win or SU win. Sorry about that. It is fine.

DeleteRight, results are red when the favorite loses (upsets).

DeleteIt's not clear to me how the iterative update of the adjusted ratings is performed. How you update Adj. OE after you calculate Game Adj. OE at each iteration before convergence? You replace Adj. OE with Game Adj. OE, you average both or you perform a weighted average with less weight to Game Adj. OE?

ReplyDeleteHonestly I’m not sure how to explain it. You do it once, and then you do it again and again until the changes are infinitesimal.

DeleteI think I got it, you "solve" all the equations and update the adjusted ratings at every iteration with the mean of game ratings.

DeleteYour rankings and your blog are very good, great work!

Hi Gustavo,

DeleteCould you explain how you figured out what to input on the 2nd,3rd, etc iterations? I am having the same trouble you did. I am calculating the first iteration of "Game Adj. OE" and "Game Adj. DE" no problem. The problem comes when I re-input them for the 2nd iteration, and 3rd iteration, but the numbers never converge to one specific number.

What did you mean (average) together? I assume "Game Adj. OE" is one, but what are you averaging it with before you put it back into the main formula for the 2nd iteration?

Thanks in advance!

Justin

Game Adj. OE = PPPo / (Opponent's Adj. DE / Average PPP)

-- Game Adj. DE

When will Chaundee Brown be added to the Michigan roster on your site?

ReplyDeleteI think it was a few hours later.

DeleteI apologize if I missed someone asking this previously within this thread, I only did a quick scan to see if its been asked. What Data/Factor's are you using to calculate your BARTHAG (power rankings) before any games have been played yet? Is it using the data from prior seasons, and returning players data from prior seasons?

ReplyDeleteThank you!

Yes I do preseason projections: http://adamcwisports.blogspot.com/2015/09/t-rank-2016-preview-nuts-and-bolts.html

DeleteI'm sure I missed this in the most obvious place, but is there a blog post on PRPG! ? A quick explanation on this would be awesome.

ReplyDeleteThank you!!

https://www.bigtengeeks.com/new-stat-porpagatu/

Deletehello! Love the site! I was wondering if you could add Total Minutes as show/hide column in your player stats? Right now i believe it is only part of the filter feature >0.

ReplyDeleteAlso, some of your MIN% may be off. Absolutely random player, but Tyrese Martin of UCONN played 25 minutes in his one game, yet his min% is 31.3%, when it should be 62.5%. Unless Min% is players MIN of total team minutes. UCONN has played two games so this might make sense.

will consider adding total minutes ... actually quite a production to change that table. Yes, min% by convention is percentage of the team's total minutes. I do keep track of min% per game played for purposes of calculated porpagatu, but it's kind of buried in the innards of the database, hard to surface.

DeleteHi Mr. Torvik, if you do not mind explaining, how are the tournament odds calculated? I have a formula I have been experimenting with to determine H2H probabilities (especially for March Madness) but beyond the first round of games, the amount of permutations is a mathematical headache. MathExchange and my current statistics professor were stumped with an efficient way to calculate probabilities for a certain region, so you are my last hope!

ReplyDeleteHello - what I do is run a bunch of "simulations" of the tournament and keep track of the results. (Sometimes called a "monte carlo" for reasons that I don't know.) At some point I tried to figure out a way to do it with pure math but it was way, way, way, way beyond my capabilities.

DeleteThere's a fun history for why they're called "Monte Carlo" simulations. The concept of a bunch of simulations using random numbers was developed as part of the Manhattan Project. As such, it needed a code name. They used Monte Carlo because the inventor's uncle used to always gamble at Monte Carlo.

DeleteVery interesting!

DeleteMr. Torvik, you have a great site with very interesting and helpful information. I apologize if you have already answered this, but I was wondering if you had thought about or would be interested in adding one more color scheme to your daily games info. You have Red for teams that lose outright, and Blue for teams that win, but how about a color that shows teams that win and also cover your prediction.

ReplyDeleteI will think about this but to be honest I'm not really focused on "covering" or not. What I am looking for ideally is to nail the projected spread on the nose. So if a team is favored by 6, it is a better result for my model if they win by 5 (off by only 1) than if if they win by 16 (off by 10, but "covered"). So I think if I were to add more visual information to that page it would be some way to show how close/far the actual spread was to the predicted spread.

DeleteMr Torvik, love your site. How is rebounding % calculated? Thanks!

ReplyDeleteOffensive rebounding percentage is OR / (OR + opponent's DR) -- basically, what percentage of available rebounds did you corral. Defensive rebounding % on my site is actually opponent's offensive rebounding percentage (what % of their rebounds did you let your opponent get, so lower is better.)

DeleteI noticed on “ T-Rank History for Utah St.” you have Steve Henson as the coach for 2017, 2018 for Utah St.. That is incorrect, Tim Duryea was the coach those years.

ReplyDeleteThanks - I'll get that fixed

DeleteIs there anyway we could have a search by “head coach”? I want to see who has been the best head coach the last 5 years for example.

ReplyDeleteNot currently, though that's a good idea and something I've thought about. You can search for games by coach on the game stats page:

Deletehttps://barttorvik.com/gamestat.php?

I did later add a "by coach" checkbox to the main page.

DeleteWhat is the meaning of the highlighted team?

ReplyDeleteDepends on the page, but on the main page a team will be highlighted if it as chosen as the "team" to focus on.

DeleteWould there be any chance that in the "Team Charts" section, you could have the Close 2 and Far 2 (offense and defense) as various drop down options to correlate to other stats?

ReplyDeleteThanks!

Will think about that. Can see the appeal, but unfortunately the way I have the data segregated means it would take some doing esp. to make it "sliceable"

DeleteHow hard would it be to scan through box score data and be able to quantify the various box score stats such as "Bench Points", "Fast Break Points", "2nd Chance Points", etc. Would be a great feature of the site to include some of that data.

ReplyDeleteIt would be a major project for me because I haven't focused on those things (e.g., I have not kept track of starters) and some aren't actually in a lot of box scores.

DeleteWhat a wonderful site, can't believe I had never seen this before. Appreciate all the hard work! I do have a question though and it basically revolves around "simulating" the last couple weeks of games under the T-Ranketology Forecast. For example, I went to Virginia and clicked "win out" then had them also win the ACC Tournament, which puts them at 22-4. Below in the Teamcast section of the page it has Virginia slotted in as the best 2 seed following these simulations. Now does this take into account how other teams will finish up the season? Should I view the Cavaliers chances of getting that top 2 seed as unlikely even in this scenario because the other teams around that range (Alabama, Houston, all the Big Ten teams) will also get quality wins down the stretch?

ReplyDeleteThanks Austin!

DeleteYes, in a sense it does account for how other teams are expected to do. The scenario for all the other teams is their "average" (expected) results for the rest of the season. It does not simulate conference tourneys for other teams (other than conf tourney games that have already been scheduled).

One other thing to note is that the baseline T-Ranketology projection for Virginia is also assuming average/expected results for Virginia the rest of the regular season. Currently that's five games in which they're expected to go 4-1 or so. So winning out the regular season doesn't move them up much from that baseline, and then even the ACC tourney (depending on opponents) might get them only 1 more quad win or so.

So yeah overall I think it's unlikely that UVA moves up to a one seed, but if they win out my guess is it's actually more likely than this projection is giving it credit for. I do run 10,000 full simulations (including an attempt at conf. tourneys, though who knows how those will look this year) and currently UVA gets a 1 seed in 2.6% of the simulations.

https://barttorvik.com/tourneycast.php?date=20210219&conlimit=All&sort=oneseed

Thanks for the reply, that makes sense!

DeleteI love your page. I was just curious how many times you end up adjusting, I know you said you are trying to find the limit, but I'm just curious how many times that ends up being that you usually do that before the numbers aren't changing

ReplyDeleteThanks! I don't really count, the algorithm just runs until the change gets to a very small number that I chose sort of arbitrarily. Earlier in the season it takes fewer runs, later in the season (when there's more adjusting going on) it takes more. Maybe like 150? Something like that.

DeleteGreat data! I was looking at your POY standings and noticed a larger than expected gap between 1 and 2. I'm wondering - how do you calculate this? Is there an input of what's expected, media, odds?

ReplyDeleteThanks Dan! The POY rating is based on a variety of factors, mostly tempo-free player stats, but there are team & conference components as well. Among player components one somewhat unusual one is a factor related to percentage of a team's shots that a player accounts for. Honestly my subjective opinion is that Garza really is the runaway POY - his efficiency at his usage level is almost unheard of, he hardly comes off the court, and his rebounding and defensive stats are good as well.

DeleteCould you please add player's jersey numbers to the players stats on the team pages? Love the page by the way, I use it all the time.

ReplyDeleteI used to have that, but when I went to the method of providing the more interactive table, that particular datum is no longer easily accessible (for reasons of me being a bad programmer). But I will try to add it back at some point. And that actually does show up if you look at a game matchup (by clicking on the projected score), e.g., https://barttorvik.com/trank.php?year=2015&t1l=Wisconsin&t2l=Kentucky&#

DeleteGreat thanks

DeleteThrill Quotient is a great way to decide which games to watch in December, but this time of year I'm more interested in watching bubble games than top-25 games. For example, I'm more likely to tune into (48) Arizona vs (55) Oregon than (13) Creighton vs (14) Villanova today, because there is more on the line for the teams playing.

ReplyDeleteIt would be great to have a number on how a win or loss would affect a team's tournament chances; for example, the difference between the team's chances in case of a win and a loss. Maybe it would have to be adjusted so it doesn't overstate the importance of a hypothetical Gonzaga vs Bubble or Quad 4 vs Bubble game, which is likely to be a blowout. A similar calculation could say how many seed-lines a certain game is worth for a surefire tournament team.

Have you considered a feature like this? Or is there already something like this on the site?

Hi Alex, yes - check out the Daycast, which is ordered by the Torvik Tourney Thrill Quotient (T3Q), which is very similar to what you describe.

Deletehttps://barttorvik.com/daycast.php

This is really useful; not sure how I missed it before. Thanks!

Deleteis there anyway to compare two teams, head to head?

ReplyDeleteJUst to see projected score? https://barttorvik.com/cgi-bin/pred.cgi

DeleteIf you want to compare stats, if you select a team from the drop down menu on the main page it will allow you to select another team to compare them to. If it's an actual matchup, there are links on the team & schedule pages for each matchup. (And if you examine those URLs you can deduce how to bring that page up for any two teams.)

When you click on a team, you can see their "four factor" stats on the left side, with a checkbox option to "adjust" the stats. I'm wondering how these stats get adjusted (says it's not iterative) and I'm wondering if there is a single page/database with all of the teams adjusted four factors, so I don't have to click on each individual team to see the adjusted stats? Love your stuff and thank you!

ReplyDeleteSo the adjustment basically looks at their opponent averages compared to the D1 average, and adjusts up or down accordingly. There's also a home/road adjustment based on historical differences in home/road performance for each stat. So if a team's opponents on average force more turnovers than D1 average, their offensive turnover rate will be adjusted down (better) accordingly. It's not iterative in the sense that there's just a single adjustment, instead of running the adjustments back through iteratively like I do with the adjusted efficiencies. This is sort of an experimental feature, not to be taken too seriously (though I think it passes the smell test.)

DeleteTo see the whole D1, just click on one of the adjusted numbers in the table and it will take you to the main page but with adjusted stats, e.g. https://barttorvik.com/trank.php?year=2021&mingames=1+&top=347&venue=All&adjall=1&split=0&sort=11 (can also put "adjall=1" into the URL).

Got it, thank you so much! Going forward I think it'd be awesome to expand on those adjusted stats and make them iterative. Not sure if that's something you planned on or not, but I'd love to see it if that's something you're interested in trying.

DeleteIs there any reason that the trendlines are not working on the Team Charts feature?

ReplyDeleteI imagine there is a reason, yes.

DeleteShould be fixed now.

DeleteHey Bart,

ReplyDeleteLove the site. I have a question though. Is the percentage by the predicted score the chance that the team covers the spread your research as spat out or is that just the chance that they win straight up?

chance of winning. I presume chance of covering the spread is always going to be about 50%.

DeleteAny reason why I can't view the 2022 'Team Totals' shooting splits page? I can see the 2022 player totals page just fine, as well as the 2022 team % share page but not the team totals.

ReplyDeleteLove the site!

Thanks, I just had to activate it for 2022.

DeleteError on the Denver UTSA game?

ReplyDeleteLooks like home/away were reversed, thanks.

DeleteCan you give a layman's explanation of WAB and what it is trying to do and how?

ReplyDeleteSee response to comment in February 2018 above.

DeleteBart,

ReplyDeleteHow is your adjusted tempo calculation different from KenPom? Thanks

I don't know because I don't know how exactly Kenpom's is calculated. But they are very similar. At this point in the season main difference is probably still preseason prior. Other main source of difference would be how/whether to discount stats from mismatch-blowouts and how to account for recency bias.

DeleteI see F.U.N. in the team pages and there is a team rank next to it, but I can't seem to find a spot where you can sort all the teams to see which ones are the FUNnest and which ones are the mopiest...

ReplyDeleteI think you're right that FUN is not listed for all teams in one spot anywhere. It is available in the 2022_team_results.csv file (columns AH and AR)

DeleteHello! love the site and the data you are providing. I was wondering which shots count as Close 2s and Far 2s, in terms of feet from the basket. Thanks!

ReplyDeleteHi -- it is based on descriptions in the play by play data. So "layups" "tips" "dunks" (etc) are counted as rim attempts, and all other twos are counted as mid-range. Obviously this is far from an exact science, as it relies on scorekeeper descriptions and play-by-play fidelity ... but it's the best I can do, which is good enough for me.

DeleteHi Bart!

ReplyDeleteIs there an easy way to get the data for adjusted tempo for each team from conference games only?

Thanks so much for all the work you've put into this site!

Yes, if you change the "type" filter on the main page to "Con (C)" the adjusted tempo will show just conference games.

DeleteAlso, on the team pages, if you "Vs." filter to conference games the adj. tempo figure will show conf. only figure.

Hi, thanks for all the work you do to maintain the site and make the statistics so accessible. I hope my question isn’t too confusingly-worded. When looking at WAB numbers from different points in previous seasons, is the WAB number influenced by future games of the same season? For example, were I to look at USC’s WAB up until January 2021, would that be incorporating the future March success of their PAC-12 opponents or would it only be reflective of how their opponents had played up until that January date?

ReplyDeleteHi Ben, yes the WAB number is based on the current strength of a team's opponents, so it does change. One caveat to that is that post-season games are not included in the WAB number & ranking shown on the main page (though those numbers do change slightly as the regular season opponents ratings change during the post-season).

Deletewhat qualifies as a quad 1-A win?

ReplyDeleteTop 15 home, 25 neutral, 40 road.

DeleteLove the site. What is the formula for transforming adjusted game efficiencies to a predicted score? Then once you have that predicted score, do you assumed a normal distribution to get win probability? If so, what standard deviation do you use? 11 is a value I have heard before.

ReplyDeleteHello -- see response to comment on 4/15/19 above for how projected scores are calculated. Win probability is calculated directly from venue-adjusted efficiencies: calculate each teams' pythag based on adjoe and adjde, then team 1's projected win percentage is

Delete(t1py - t1py * t2py) / (t1py + t2py - 2 * t1py * t2py)

Hi,

ReplyDeleteWhat does Quad1A mean? I understand quad1, but can't figure out the 1A part. Thanks.

Quad 1A are top 15 home, top 25 neutral, top 40 road ... These used to be specified on the publicly available teamsheets, but aren't any more. My understanding, though, is that committee still has access to this category and in any event they certainly do give special treatment to "top half" Quad 1 wins.

DeleteHi,

ReplyDeleteCan you add a filter here to show only active coaches? That would be great. Thanks.

https://barttorvik.com/cgi-bin/ncaat.cgi?conlimit=&yrlow=2002&yrhigh=2021&type=coach&sort=23

If you add "&active=1" to the URL that should work now.

Delete