{"id":251,"date":"2011-02-15T16:15:10","date_gmt":"2011-02-15T22:15:10","guid":{"rendered":"http:\/\/godismyjudgeok.com\/DStats\/?p=251"},"modified":"2011-03-09T14:59:26","modified_gmt":"2011-03-09T20:59:26","slug":"on-bayesian-predictive-efficiency-rankings","status":"publish","type":"post","link":"http:\/\/godismyjudgeok.com\/DStats\/2011\/nba-rankings\/on-bayesian-predictive-efficiency-rankings\/","title":{"rendered":"On Bayesian Predictive Efficiency Rankings"},"content":{"rendered":"<p>It is fairly easy to construct a retrospective efficiency rating.  Take the efficiencies for each game, correct for location and rest, and then solve using an OLS regression for each team&#8217;s true efficiency rating.  Nice and neat.<\/p>\n<p>However, how should a predictive rating work?  The best approach would be to adjust for what players are playing and when, but in this investigation I&#8217;ll restrict myself to team-level data.  If I have the same data (efficiencies for each game), how would I best predict game n+1?<\/p>\n<p>The obvious approach is to attack the issue from a Bayesian perspective, so I shall.<\/p>\n<p>Suppose we assume that the teams are distributed based on a normal distribution curve with mean 0.  That&#8217;s a pretty good assumption; the overall results tend to look like the famous bell curve.  Lots of teams close to average; a few outliers.  We&#8217;ll roll with that assumption.<\/p>\n<p>Assume, also, that each team&#8217;s performances are a random sampling drawn from a normal distribution around that team&#8217;s true efficiency level.  This is not necessarily as good an assumption&#8211;if Lebron were out 35 games, those games are not taken from the same sample that the games WITH Lebron are drawn from.  Also, teams tend to pull their starters in blowouts, leading to results that show &#8220;playing to the level of the opponent&#8221;.  Dean Oliver talked about this <a href=\"http:\/\/www.rawbw.com\/~deano\/articles\/aa052097.htm\">back in 1997, discussing removing the covariance<\/a> of team offense and defense.  Furthermore, teams make trades during the season; some help the team&#8217;s current level, some hurt.  Finally, opponents also are having the same issues that make opponent adjustments (assuming the opponent has the same true level all year) rather dicey.<\/p>\n<p>Nevertheless, for this first exercise in Bayesian inference, I will make the assumption that the sampled performances are from a normal distribution.<\/p>\n<p>Okay, so we have a prior distribution&#8211;the overall league distribution, centered on 0.  Standard deviation is right around 5 (I just checked the average efficiency differentials for the 30 teams, and the standard deviation was about 5).<br \/>\n<div id=\"attachment_252\" style=\"width: 475px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-252\" src=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-1.png\" alt=\"Bayesian Prior\" title=\"Bayesian Team Ratings 1\" width=\"465\" height=\"382\" class=\"size-full wp-image-252\" srcset=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-1.png 465w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-1-150x123.png 150w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-1-300x246.png 300w\" sizes=\"(max-width: 465px) 100vw, 465px\" \/><\/a><p id=\"caption-attachment-252\" class=\"wp-caption-text\">Bayesian Prior (Mean 0, Stdev 5)<\/p><\/div><br \/>\nCool!<\/p>\n<p>Now the hard part: we have lots of observations of how teams performed in given games.  Since this is a predictive rating, we are considering the possibility that older samples are not as good as more recent samples (i.e. there is a transformation function applied between each game).  How do we incorporate these observations in a Bayesian framework?<\/p>\n<p>Well, we need some sort of &#8220;standard error&#8221; to associate with each game&#8217;s observation.  In general, the team&#8217;s performance over the season (adjusted for opponent, rest, &#038; location) have a standard deviation of about 12.5, but that includes the variation that we are trying to adjust for (the change through the season).  I&#8217;ll use 12 as the starting point per game.<\/p>\n<p>So, with the Bayesian prior (stdev 5, mean 0) and the a first sample, we can get an updated distribution.  Of course, to adjust this game for opponent, we must have some idea of how good the opponent is&#8211;in this case, I&#8217;ll take the adjusted efficiency over the course of this whole season as a reasonable approximation.  This game, we&#8217;ll assume the actual adjusted efficiency margin for our team was +15&#8211;so the distribution has a stdev of 12 and a mean of 15.<\/p>\n<p>Plot it up and we get a posterior distribution:<br \/>\n<div id=\"attachment_257\" style=\"width: 468px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-257\" src=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-2.png\" alt=\"Bayesian Update\" title=\"Bayesian Team Ratings 2\" width=\"458\" height=\"410\" class=\"size-full wp-image-257\" srcset=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-2.png 458w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-2-150x134.png 150w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-2-300x268.png 300w\" sizes=\"(max-width: 458px) 100vw, 458px\" \/><\/a><p id=\"caption-attachment-257\" class=\"wp-caption-text\">Incorporating the first sample with a Bayesian update<\/p><\/div><\/p>\n<p>Wait&#8230; how did I calculate that?  I multiplied the two functions, and scaled it so the sum of the area under the new distribution is still equal to 1.  (Yes, that is called calculus.)  We can still describe the posterior distribution simply, though, because it&#8217;s still a normal distribution: the mean is now 2.22 and the new standard deviation is 4.615.<\/p>\n<p>There is a shortcut&#8211;there are formulas to calculate the new mean and the new standard deviation, rather than using calculus and MathCAD to do the work:<br \/>\n<div id=\"attachment_259\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-3.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-259\" src=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-3.png\" alt=\"Updated mean and standard deviation formulas\" title=\"Bayesian Team Ratings 3\" width=\"290\" height=\"317\" class=\"size-full wp-image-259\" srcset=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-3.png 290w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-3-137x150.png 137w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-3-274x300.png 274w\" sizes=\"(max-width: 290px) 100vw, 290px\" \/><\/a><p id=\"caption-attachment-259\" class=\"wp-caption-text\">Updated mean and standard deviation formulas<\/p><\/div><\/p>\n<p>Well, here comes the complex part.  We could just keep doing that same thing over-and-over again&#8211;but then we&#8217;d be weighting all of the games equally, basically just honing in on the regressed year-long-average efficiency differential.  That would look like this, for the first 10 games:<br \/>\n<div id=\"attachment_262\" style=\"width: 478px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-4.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-262\" src=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-4.png\" alt=\"10 games of Bayesian updating\" title=\"Bayesian Team Ratings 4\" width=\"468\" height=\"422\" class=\"size-full wp-image-262\" srcset=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-4.png 468w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-4-150x135.png 150w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-4-300x270.png 300w\" sizes=\"(max-width: 468px) 100vw, 468px\" \/><\/a><p id=\"caption-attachment-262\" class=\"wp-caption-text\">10 games of Bayesian updating<\/p><\/div><\/p>\n<p>But, we had originally intended to look at &#8220;predictive&#8221; efficiency ratings.  So that means we are willing to deprecate older game data somewhat.  How much?  That really can&#8217;t be answered without some empirical analysis.<\/p>\n<p>The basic concept is this: between each game, apply a transformation that increases the standard deviation by a fixed amount.  Thus, if the current game has a standard deviation of 12, then the previous game would have a standard deviation of 12 + a, and the next a standard deviation of 12 + 2a, etc&#8230;  This has the effect of weighting each game 1\/(12)^2, then 1\/(12+a)^2, then 1\/(12+2a)^2, and so on.  That can be restated as a weighting of the form b, b-c, b-c^2, b-c^3, etc.  In this case, b would be 1\/144, and c would be&#8230; ugly.  (24a + a^2)\/[144*(144+24a+a^2)], I believe.  Anyway, moving along&#8230;<\/p>\n<p>Adding the &#8220;penalty factor&#8221; depreciates the value of the older samples.  The choice of how much depreciation to use requires the empirical work.  To do this, I compiled last year&#8217;s NBA data and this year&#8217;s NBA data, adjusted all of the games for opponent, location, and rest, and set to work.  I created a framework using the above methods to create the Bayesian-updated projection for each game, based on the games so far that season.<\/p>\n<p>Finally, I solved for &#8220;a&#8221;, minimizing the sum of the squared error of the pre-game predictions.  The best fit of &#8220;a&#8221; was 0.20.  Going back and checking whether that &#8220;12&#8221; is correct for the game-level standard error yielded slightly less than 12, but the difference was so insignificant on the overall error (thousandths of 1 percent) that I&#8217;ll just use 12.<\/p>\n<p>And so we have a model: the Bayesian prior has mean 0, stdev 5.  Each game is set as mean=adjusted performance, standard deviation = 12.  Older games have 0.2*n added to their standard deviation, where n is the number of games since that game was played.<\/p>\n<p>Here&#8217;s how that looks, for the same 10 games in the graph above (the first 10 games for Atlanta this year, incidentally):<br \/>\n<div id=\"attachment_269\" style=\"width: 481px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-5.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-269\" src=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-5.png\" alt=\"10 games of Bayesian updating, final version\" title=\"Bayesian Team Ratings 5\" width=\"471\" height=\"417\" class=\"size-full wp-image-269\" srcset=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-5.png 471w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-5-150x132.png 150w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-5-300x265.png 300w\" sizes=\"(max-width: 471px) 100vw, 471px\" \/><\/a><p id=\"caption-attachment-269\" class=\"wp-caption-text\">10 games of Bayesian updating, final version<\/p><\/div><\/p>\n<p>How does that look compared to the previous version without the &#8220;penalty&#8221;?  The distributions are a bit wider and the mean moves a bit further based on more recent data.<\/p>\n<p>Okay, let&#8217;s look at the final product.  Here is Chicago through last night:<div id=\"attachment_272\" style=\"width: 563px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-6.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-272\" src=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-6.png\" alt=\"Bayesian Efficiency Differential: Chicago\" title=\"Bayesian Team Ratings 6\" width=\"553\" height=\"472\" class=\"size-full wp-image-272\" srcset=\"http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-6.png 553w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-6-150x128.png 150w, http:\/\/godismyjudgeok.com\/DStats\/wp-content\/uploads\/2011\/02\/Bayesian-Team-Ratings-6-300x256.png 300w\" sizes=\"(max-width: 553px) 100vw, 553px\" \/><\/a><p id=\"caption-attachment-272\" class=\"wp-caption-text\">Bayesian Efficiency Differential: Chicago<\/p><\/div><\/p>\n<p>And here is a look at the current rankings (the errors for all of them are in the 2.05 range&#8211;remember, error in this model depends only on quantity of observation, not observed variance of observation):<br \/>\n<!-- Please do not remove this header --><br \/>\n<!-- Table easily created from Excel with ASAP Utilities (http:\/\/www.asap-utilities.com)  --><\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tr>\n<th>Rank<\/th>\n<th>Team<\/th>\n<th>Bayesian Eff. Dif.<\/th>\n<th>Unweighted<\/th>\n<th>Hollinger<\/th>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>MIA<\/td>\n<td bgcolor=\"#82C77D\">6.58<\/td>\n<td bgcolor=\"#63BE7B\">8.07<\/td>\n<td bgcolor=\"#80C77D\">6.69<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>SAS<\/td>\n<td bgcolor=\"#8BCA7E\">6.16<\/td>\n<td bgcolor=\"#76C47D\">7.17<\/td>\n<td bgcolor=\"#72C37C\">7.38<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>ORL<\/td>\n<td bgcolor=\"#9FD07F\">5.19<\/td>\n<td bgcolor=\"#95CD7E\">5.68<\/td>\n<td bgcolor=\"#91CC7E\">5.88<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>LAL<\/td>\n<td bgcolor=\"#A0D07F\">5.12<\/td>\n<td bgcolor=\"#83C87D\">6.54<\/td>\n<td bgcolor=\"#94CC7E\">5.73<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>CHI<\/td>\n<td bgcolor=\"#A1D07F\">5.07<\/td>\n<td bgcolor=\"#96CD7E\">5.61<\/td>\n<td bgcolor=\"#93CC7E\">5.77<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>BOS<\/td>\n<td bgcolor=\"#A2D07F\">5.05<\/td>\n<td bgcolor=\"#7BC57D\">6.93<\/td>\n<td bgcolor=\"#99CE7F\">5.47<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>PHI<\/td>\n<td bgcolor=\"#D4DF82\">2.61<\/td>\n<td bgcolor=\"#E4E483\">1.83<\/td>\n<td bgcolor=\"#C5DB81\">3.33<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>DAL<\/td>\n<td bgcolor=\"#DEE283\">2.13<\/td>\n<td bgcolor=\"#C9DC81\">3.18<\/td>\n<td bgcolor=\"#B3D580\">4.21<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>MEM<\/td>\n<td bgcolor=\"#DFE283\">2.08<\/td>\n<td bgcolor=\"#E5E483\">1.78<\/td>\n<td bgcolor=\"#E1E383\">2.01<\/td>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td>NOH<\/td>\n<td bgcolor=\"#E2E383\">1.93<\/td>\n<td bgcolor=\"#D3DF82\">2.67<\/td>\n<td bgcolor=\"#C9DC81\">3.15<\/td>\n<\/tr>\n<tr>\n<td>11<\/td>\n<td>DEN<\/td>\n<td bgcolor=\"#ECE683\">1.46<\/td>\n<td bgcolor=\"#D8E082\">2.43<\/td>\n<td bgcolor=\"#E6E483\">1.73<\/td>\n<\/tr>\n<tr>\n<td>12<\/td>\n<td>OKC<\/td>\n<td bgcolor=\"#EEE683\">1.37<\/td>\n<td bgcolor=\"#ECE683\">1.45<\/td>\n<td bgcolor=\"#DAE182\">2.32<\/td>\n<\/tr>\n<tr>\n<td>13<\/td>\n<td>POR<\/td>\n<td bgcolor=\"#F4E884\">1.07<\/td>\n<td bgcolor=\"#F3E884\">1.11<\/td>\n<td bgcolor=\"#FFEB84\">0.53<\/td>\n<\/tr>\n<tr>\n<td>14<\/td>\n<td>HOU<\/td>\n<td bgcolor=\"#F8E984\">0.87<\/td>\n<td bgcolor=\"#F9EA84\">0.84<\/td>\n<td bgcolor=\"#EFE784\">1.30<\/td>\n<\/tr>\n<tr>\n<td>15<\/td>\n<td>ATL<\/td>\n<td bgcolor=\"#FEEA83\">0.50<\/td>\n<td bgcolor=\"#F1E784\">1.22<\/td>\n<td bgcolor=\"#FED980\">-1.02<\/td>\n<\/tr>\n<tr>\n<td>16<\/td>\n<td>NYK<\/td>\n<td bgcolor=\"#FEE783\">0.25<\/td>\n<td bgcolor=\"#FEEA83\">0.51<\/td>\n<td bgcolor=\"#FEDF81\">-0.51<\/td>\n<\/tr>\n<tr>\n<td>17<\/td>\n<td>IND<\/td>\n<td bgcolor=\"#FEE582\">0.04<\/td>\n<td bgcolor=\"#FEE282\">-0.27<\/td>\n<td bgcolor=\"#FEEB84\">0.60<\/td>\n<\/tr>\n<tr>\n<td>18<\/td>\n<td>PHO<\/td>\n<td bgcolor=\"#FEE482\">-0.03<\/td>\n<td bgcolor=\"#FEDF81\">-0.46<\/td>\n<td bgcolor=\"#EFE784\">1.34<\/td>\n<\/tr>\n<tr>\n<td>19<\/td>\n<td>MIL<\/td>\n<td bgcolor=\"#FED980\">-0.98<\/td>\n<td bgcolor=\"#FDD880\">-1.15<\/td>\n<td bgcolor=\"#FDD27F\">-1.62<\/td>\n<\/tr>\n<tr>\n<td>20<\/td>\n<td>UTA<\/td>\n<td bgcolor=\"#FDD27F\">-1.66<\/td>\n<td bgcolor=\"#FEE182\">-0.31<\/td>\n<td bgcolor=\"#FDC97D\">-2.40<\/td>\n<\/tr>\n<tr>\n<td>21<\/td>\n<td>CHA<\/td>\n<td bgcolor=\"#FDD07E\">-1.85<\/td>\n<td bgcolor=\"#FCC27C\">-3.04<\/td>\n<td bgcolor=\"#FDD37F\">-1.56<\/td>\n<\/tr>\n<tr>\n<td>22<\/td>\n<td>LAC<\/td>\n<td bgcolor=\"#FDC97D\">-2.46<\/td>\n<td bgcolor=\"#FCC37C\">-2.96<\/td>\n<td bgcolor=\"#FCBD7B\">-3.52<\/td>\n<\/tr>\n<tr>\n<td>23<\/td>\n<td>GSW<\/td>\n<td bgcolor=\"#FDC87D\">-2.54<\/td>\n<td bgcolor=\"#FCC27C\">-3.10<\/td>\n<td bgcolor=\"#FCBF7B\">-3.35<\/td>\n<\/tr>\n<tr>\n<td>24<\/td>\n<td>SAC<\/td>\n<td bgcolor=\"#FCBE7B\">-3.38<\/td>\n<td bgcolor=\"#FBA576\">-5.64<\/td>\n<td bgcolor=\"#FCC17B\">-3.15<\/td>\n<\/tr>\n<tr>\n<td>25<\/td>\n<td>DET<\/td>\n<td bgcolor=\"#FCBC7B\">-3.57<\/td>\n<td bgcolor=\"#FBB279\">-4.50<\/td>\n<td bgcolor=\"#FCB579\">-4.20<\/td>\n<\/tr>\n<tr>\n<td>26<\/td>\n<td>WAS<\/td>\n<td bgcolor=\"#FBAD78\">-4.92<\/td>\n<td bgcolor=\"#FA9D75\">-6.36<\/td>\n<td bgcolor=\"#FAA075\">-6.08<\/td>\n<\/tr>\n<tr>\n<td>27<\/td>\n<td>MIN<\/td>\n<td bgcolor=\"#FBAC77\">-5.02<\/td>\n<td bgcolor=\"#FBA275\">-5.91<\/td>\n<td bgcolor=\"#FA9F75\">-6.13<\/td>\n<\/tr>\n<tr>\n<td>28<\/td>\n<td>TOR<\/td>\n<td bgcolor=\"#FBA576\">-5.59<\/td>\n<td bgcolor=\"#FBA376\">-5.79<\/td>\n<td bgcolor=\"#FA9473\">-7.13<\/td>\n<\/tr>\n<tr>\n<td>29<\/td>\n<td>NJN<\/td>\n<td bgcolor=\"#FBA276\">-5.90<\/td>\n<td bgcolor=\"#FA9A74\">-6.57<\/td>\n<td bgcolor=\"#FA9C74\">-6.43<\/td>\n<\/tr>\n<tr>\n<td>30<\/td>\n<td>CLE<\/td>\n<td bgcolor=\"#F8796E\">-9.53<\/td>\n<td bgcolor=\"#F8696B\">-10.96<\/td>\n<td bgcolor=\"#F8706C\">-10.32<\/td>\n<\/tr>\n<\/table>\n<p>Unweighted indicates a ranking with all games in the season weighted equally.  Hollinger comes from <a href=\"http:\/\/espn.go.com\/nba\/hollinger\/powerrankings\">today&#8217;s Hollinger Power Rankings on ESPN<\/a>, the primary other power rankings I know of that consider recency effects.<\/p>\n<p>There&#8217;s an elite 6 right now, and then&#8230;  &#8230;. Philly, of course!<\/p>\n<p>To truly show how this Bayesian updating method works, here is how each team&#8217;s Bayesian efficiency differential has progressed through the year, with one of those lovely Google Motion Charts:<\/p>\n<div id=\"visualization\" style=\"width: 575px; height: 500px;\"><\/div>\n<p>This concludes a remarkably long ramble about Bayesian methods and NBA efficiency ratings.  Hopefully the reader has been enlightened, not confused!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is fairly easy to construct a retrospective efficiency rating. Take the efficiencies for each game, correct for location and rest, and then solve using an OLS regression for each team&#8217;s true efficiency rating. Nice and neat. However, how should a predictive rating work? The best approach would be to adjust for what players are &#8230; <span class=\"more\"><a class=\"more-link\" href=\"http:\/\/godismyjudgeok.com\/DStats\/2011\/nba-rankings\/on-bayesian-predictive-efficiency-rankings\/\">[Read more&#8230;]<\/a><\/span><\/p>\n","protected":false},"author":3,"featured_media":257,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[11,10,5,12],"tags":[21,57,54,27,23,22,24],"_links":{"self":[{"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/posts\/251"}],"collection":[{"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/comments?post=251"}],"version-history":[{"count":26,"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/posts\/251\/revisions"}],"predecessor-version":[{"id":328,"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/posts\/251\/revisions\/328"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/media\/257"}],"wp:attachment":[{"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/media?parent=251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/categories?post=251"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/godismyjudgeok.com\/DStats\/wp-json\/wp\/v2\/tags?post=251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}