<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Calculating Adjusted Plus/Minus</title>
	<atom:link href="http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/</link>
	<description>Advanced Stats for Basketball</description>
	<pubDate>Sat, 13 Mar 2010 06:54:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: cherokee_acb</title>
		<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/#comment-269</link>
		<dc:creator>cherokee_acb</dc:creator>
		<pubDate>Tue, 03 Jun 2008 17:22:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.countthebasket.com/blog/?p=70#comment-269</guid>
		<description>I've just found that I don't have an up-to-date script valid for the 2008 season format. If I decide to write it, I'll share. I'll offer another tip instead: in R, use  "as.formula" and "paste" (see an example in the APBRmetrics thread linked above) to dynamically construct the regression formula from the data.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just found that I don&#8217;t have an up-to-date script valid for the 2008 season format. If I decide to write it, I&#8217;ll share. I&#8217;ll offer another tip instead: in R, use  &#8220;as.formula&#8221; and &#8220;paste&#8221; (see an example in the APBRmetrics thread linked above) to dynamically construct the regression formula from the data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eli</title>
		<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/#comment-268</link>
		<dc:creator>Eli</dc:creator>
		<pubDate>Mon, 02 Jun 2008 20:31:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.countthebasket.com/blog/?p=70#comment-268</guid>
		<description>Another tip worth mentioning is that if when creating the CSV you use all players rather than just the qualifying (non-reference) ones, then you can later run regressions with different minutes cutoffs just by changing the regression formula you use (which is a lot quicker than having to rebuild the CSV over again).</description>
		<content:encoded><![CDATA[<p>Another tip worth mentioning is that if when creating the CSV you use all players rather than just the qualifying (non-reference) ones, then you can later run regressions with different minutes cutoffs just by changing the regression formula you use (which is a lot quicker than having to rebuild the CSV over again).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eli</title>
		<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/#comment-267</link>
		<dc:creator>Eli</dc:creator>
		<pubDate>Mon, 02 Jun 2008 18:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.countthebasket.com/blog/?p=70#comment-267</guid>
		<description>Thanks Cherokee, I'll try that.

That makes sense, Dave. I'll update the post with that alteration. Though any centering is going to be somewhat arbitrary regardless.</description>
		<content:encoded><![CDATA[<p>Thanks Cherokee, I&#8217;ll try that.</p>
<p>That makes sense, Dave. I&#8217;ll update the post with that alteration. Though any centering is going to be somewhat arbitrary regardless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Lewin</title>
		<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/#comment-266</link>
		<dc:creator>Dave Lewin</dc:creator>
		<pubDate>Mon, 02 Jun 2008 18:25:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.countthebasket.com/blog/?p=70#comment-266</guid>
		<description>Eli,

When adjusting the ratings so league average is zero you want to use the minute weighted average, so that the average minute played has  an adjusted plus-minus of zero, not the average player.</description>
		<content:encoded><![CDATA[<p>Eli,</p>
<p>When adjusting the ratings so league average is zero you want to use the minute weighted average, so that the average minute played has  an adjusted plus-minus of zero, not the average player.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/#comment-265</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Mon, 02 Jun 2008 17:33:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.countthebasket.com/blog/?p=70#comment-265</guid>
		<description>Great work, Eli... I'm bookmarking this page for the day when I finally take the plunge and try it for myself. :)</description>
		<content:encoded><![CDATA[<p>Great work, Eli&#8230; I&#8217;m bookmarking this page for the day when I finally take the plunge and try it for myself. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JTapp</title>
		<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/#comment-264</link>
		<dc:creator>JTapp</dc:creator>
		<pubDate>Mon, 02 Jun 2008 16:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.countthebasket.com/blog/?p=70#comment-264</guid>
		<description>Thanks for the transparency of your work here, it is really refreshing.  Sagarin &#38; Winston were charging something astronomical just to get the details of how they calculated their ratings.</description>
		<content:encoded><![CDATA[<p>Thanks for the transparency of your work here, it is really refreshing.  Sagarin &amp; Winston were charging something astronomical just to get the details of how they calculated their ratings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cherokee_acb</title>
		<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/#comment-263</link>
		<dc:creator>cherokee_acb</dc:creator>
		<pubDate>Mon, 02 Jun 2008 15:03:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.countthebasket.com/blog/?p=70#comment-263</guid>
		<description>Eli, what I've done is what Lior suggested, a single regression, twiche the independent variables, twice the observations. And you need to think about what the neutral ORtg is, and how to insert home advantage into the model (a dummy variable should suffice for this). 

Regarding using a script to create the observations, that's what I do, and it's way faster than Excel (what takes the most time in my computer is the actual regression, I blame it to memory issues). At
http://sonicscentral.com/apbrmetrics/viewtopic.php?p=10823
you can see a Perl script I used for 2006 data. With little changes, it can handle the current basketballvalue format. I may post the updated script later.</description>
		<content:encoded><![CDATA[<p>Eli, what I&#8217;ve done is what Lior suggested, a single regression, twiche the independent variables, twice the observations. And you need to think about what the neutral ORtg is, and how to insert home advantage into the model (a dummy variable should suffice for this). </p>
<p>Regarding using a script to create the observations, that&#8217;s what I do, and it&#8217;s way faster than Excel (what takes the most time in my computer is the actual regression, I blame it to memory issues). At<br />
<a href="http://sonicscentral.com/apbrmetrics/viewtopic.php?p=10823" rel="nofollow">http://sonicscentral.com/apbrmetrics/viewtopic.php?p=10823</a><br />
you can see a Perl script I used for 2006 data. With little changes, it can handle the current basketballvalue format. I may post the updated script later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eli</title>
		<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/#comment-262</link>
		<dc:creator>Eli</dc:creator>
		<pubDate>Mon, 02 Jun 2008 12:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.countthebasket.com/blog/?p=70#comment-262</guid>
		<description>Ah, so maybe two separate regressions, one with ORtg as the dependent variable and one with DRtg, each with twice as many independent variables? That sounds like it might work. In the Home ORtg one, the five home offensive players would get a 1, the five away defensive players would get a -1, and the five home defensive players and the five away offensive players would all get a 0. I'll try that out later. (Or maybe you're saying there should be one regression but with the number of observations doubled?)</description>
		<content:encoded><![CDATA[<p>Ah, so maybe two separate regressions, one with ORtg as the dependent variable and one with DRtg, each with twice as many independent variables? That sounds like it might work. In the Home ORtg one, the five home offensive players would get a 1, the five away defensive players would get a -1, and the five home defensive players and the five away offensive players would all get a 0. I&#8217;ll try that out later. (Or maybe you&#8217;re saying there should be one regression but with the number of observations doubled?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lior</title>
		<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/#comment-261</link>
		<dc:creator>Lior</dc:creator>
		<pubDate>Mon, 02 Jun 2008 11:54:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.countthebasket.com/blog/?p=70#comment-261</guid>
		<description>I think the problem you're having with separating the defensive and offensive values is that in addition to doubling the number of independent variables, you should also think of each data line as &lt;i&gt;two&lt;/i&gt; observations: rather than using MARGIN you should write two linear relationships: one using the home team offensive ratings and the away team defensive ratings to approximate the home team efficienty during that "mini match-up", the other replacing "home" and "away".  Given the noisiness of the usual calculation you will probably need to increase the number of reference players.</description>
		<content:encoded><![CDATA[<p>I think the problem you&#8217;re having with separating the defensive and offensive values is that in addition to doubling the number of independent variables, you should also think of each data line as <i>two</i> observations: rather than using MARGIN you should write two linear relationships: one using the home team offensive ratings and the away team defensive ratings to approximate the home team efficienty during that &#8220;mini match-up&#8221;, the other replacing &#8220;home&#8221; and &#8220;away&#8221;.  Given the noisiness of the usual calculation you will probably need to increase the number of reference players.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan J. Parker</title>
		<link>http://www.countthebasket.com/blog/2008/06/01/calculating-adjusted-plus-minus/#comment-256</link>
		<dc:creator>Ryan J. Parker</dc:creator>
		<pubDate>Mon, 02 Jun 2008 05:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.countthebasket.com/blog/?p=70#comment-256</guid>
		<description>I never realized you could fit adjusted +/- with lm().  I thought some weird variant of glm() would be needed.  This will be a handy bookmark to have.</description>
		<content:encoded><![CDATA[<p>I never realized you could fit adjusted +/- with lm().  I thought some weird variant of glm() would be needed.  This will be a handy bookmark to have.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
