<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Princeton Election Consortium &#187; Meta-analysis</title>
	<atom:link href="http://election.princeton.edu/category/meta-analysis/feed/" rel="self" type="application/rss+xml" />
	<link>http://election.princeton.edu</link>
	<description>A first draft of electoral history. Since 2004</description>
	<lastBuildDate>Thu, 02 May 2013 17:37:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Gerrymandering notes: how many votes to take House, 1992-2012</title>
		<link>http://election.princeton.edu/2013/01/30/gerrymandering-notes-how-many-votes-to-take-house-1992-2012/</link>
		<comments>http://election.princeton.edu/2013/01/30/gerrymandering-notes-how-many-votes-to-take-house-1992-2012/#comments</comments>
		<pubDate>Wed, 30 Jan 2013 05:28:56 +0000</pubDate>
		<dc:creator>Sam Wang</dc:creator>
				<category><![CDATA[2012 Election]]></category>
		<category><![CDATA[House]]></category>
		<category><![CDATA[Meta-analysis]]></category>

		<guid isPermaLink="false">http://election.princeton.edu/?p=9422</guid>
		<description><![CDATA[Dear PEC Readers, we&#8217;re going casual tonight. This is for frequent visitors and those of you on the RSS feed. I&#8217;ll explain&#8230; I&#8217;m preparing a long-form piece (for elsewhere) on the topic of partisan House gerrymandering. We&#8217;re cooking up some graphs to drive home some basic points. Your immediate reactions and critical questions will be [...]]]></description>
			<content:encoded><![CDATA[<p>Dear PEC Readers, we&#8217;re going casual tonight. This is for frequent visitors and those of you on the RSS feed. I&#8217;ll explain&#8230;<span id="more-9422"></span></p>
<p>I&#8217;m preparing a long-form piece (for elsewhere) on the topic of partisan House gerrymandering. We&#8217;re cooking up some graphs to drive home some basic points. Your immediate reactions and critical questions will be welcome.</p>
<p>This graph shows what fraction of the two-party vote would have been needed for Democrats to control the House of Representatives.</p>
<p><a href="http://election.princeton.edu/wp-content/uploads/2013/01/Democratic-vote-to-take-House_.jpg"><img class="aligncenter size-full wp-image-9423" title="Democratic-vote-to-take-House_500px" src="http://election.princeton.edu/wp-content/uploads/2013/01/Democratic-vote-to-take-House_500px.jpg" alt="" width="500" height="185" /></a></p>
<p>The procedure was:</p>
<ol>
<li>Calculate the % two-party vote for all 435 districts.</li>
<li>Calculate the shift in vote needed to make an outcome of exactly 218 Democratic seats.</li>
<li>Add this shift to the national % Democratic vote.</li>
</ol>
<p>The colored horizontal line segments indicate which party was in control. Generally, the out-party needs a bit more than 50% of the two-party vote to gain control. This extra barrier is an advantage for the incumbent party.</p>
<p><em>Note 1:</em> Dealing with uncontested races is a challenge. For instance, the 2006 data point is distorted by the fact that there were 47 uncontested races won by Democrats (versus only 10 won by Republicans). Forty-seven is an unusually high number. With other definitions, this data point is more comparable to 1996-2004.</p>
<p><em>Note 2:</em> I came into this analysis expecting the 2012 value to be unusually high because of partisan gerrymandering. It is indeed high &#8211; but it is only on a par with 2004. I am pondering if there is a problem I am missing.</p>
<p>This post will self-destruct in 12 hours.</p>
]]></content:encoded>
			<wfw:commentRss>http://election.princeton.edu/2013/01/30/gerrymandering-notes-how-many-votes-to-take-house-1992-2012/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Gerrymandering code &#8211; for the do-it-yourselfers</title>
		<link>http://election.princeton.edu/2013/01/03/gerrymandering-code-for-the-do-it-yourselfers/</link>
		<comments>http://election.princeton.edu/2013/01/03/gerrymandering-code-for-the-do-it-yourselfers/#comments</comments>
		<pubDate>Thu, 03 Jan 2013 15:43:43 +0000</pubDate>
		<dc:creator>Sam Wang</dc:creator>
				<category><![CDATA[2012 Election]]></category>
		<category><![CDATA[House]]></category>
		<category><![CDATA[Meta-analysis]]></category>
		<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://election.princeton.edu/?p=9334</guid>
		<description><![CDATA[For the true hardcore&#8230;A version of the MATLAB code I used is now available. I used gerry.m for Part 1, and delegations.m for Part 2. Voting data are available from David Wasserman (@Redistrict). The code is a bit of a mess: mysterious variable names, bad structure, that kind of thing. I&#8217;ll clean it up later. [...]]]></description>
			<content:encoded><![CDATA[<p>For the true hardcore&#8230;A version of the MATLAB code I used is now available. <span id="more-9334"></span>I used <a href="/matlab-gerrymandering-code-gerry-m/">gerry.m</a> for Part 1, and <a href="/matlab-gerrymandering-code-delegations-m/">delegations.m</a> for Part 2. Voting data are available from David Wasserman (@Redistrict).</p>
<p>The code is a bit of a mess: mysterious variable names, bad structure, that kind of thing. I&#8217;ll clean it up later.</p>
<p>If you have 2010 or earlier House voting data in tabular form, let me know. It will allow additonal tests.</p>
]]></content:encoded>
			<wfw:commentRss>http://election.princeton.edu/2013/01/03/gerrymandering-code-for-the-do-it-yourselfers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>With Jay Ackroyd at 9pm (soon!)</title>
		<link>http://election.princeton.edu/2012/11/08/with-jay-ackroyd-at-9pm-soon/</link>
		<comments>http://election.princeton.edu/2012/11/08/with-jay-ackroyd-at-9pm-soon/#comments</comments>
		<pubDate>Fri, 09 Nov 2012 00:25:22 +0000</pubDate>
		<dc:creator>Sam Wang</dc:creator>
				<category><![CDATA[2012 Election]]></category>
		<category><![CDATA[Meta-analysis]]></category>
		<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://election.princeton.edu/?p=8824</guid>
		<description><![CDATA[Hi, all. A bit inundated with media, and also recovering. However&#8230;join me with Jay Ackroyd on a webcast of Virtually Speaking, in 1.5 hours &#8211; at 9pm Eastern. See you! call in: 646 200 3440]]></description>
			<content:encoded><![CDATA[<p>Hi, all. A bit inundated with media, and also recovering. However&#8230;join me with Jay Ackroyd on a webcast of <a href="http://www.blogtalkradio.com/virtuallyspeaking/2012/11/09/sam-wang-of-the-princeton-election-consortium">Virtually Speaking</a>, in 1.5 hours &#8211; at 9pm Eastern. See you! call in: <strong>646 200 3440</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://election.princeton.edu/2012/11/08/with-jay-ackroyd-at-9pm-soon/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Presidential prediction 2012 (final&#8230; stay tuned)</title>
		<link>http://election.princeton.edu/2012/11/06/presidential-prediction-2012-final-stay-tuned/</link>
		<comments>http://election.princeton.edu/2012/11/06/presidential-prediction-2012-final-stay-tuned/#comments</comments>
		<pubDate>Tue, 06 Nov 2012 16:47:37 +0000</pubDate>
		<dc:creator>Sam Wang</dc:creator>
				<category><![CDATA[2012 Election]]></category>
		<category><![CDATA[Meta-analysis]]></category>
		<category><![CDATA[President]]></category>

		<guid isPermaLink="false">http://election.princeton.edu/?p=8631</guid>
		<description><![CDATA[Now that all the polls are in, it&#8217;s possible to perform variance minimization, a simple procedure to identify the range of polls that can be used &#8211; and therefore reduce uncertainty. We&#8217;ll have that in a bit. Calculating and double-checking&#8230;stand by.]]></description>
			<content:encoded><![CDATA[<p>Now that all the polls are in, it&#8217;s possible to perform variance minimization, a simple procedure to identify the range of polls that can be used &#8211; and therefore reduce uncertainty. We&#8217;ll have that in a bit. Calculating and double-checking&#8230;stand by.</p>
]]></content:encoded>
			<wfw:commentRss>http://election.princeton.edu/2012/11/06/presidential-prediction-2012-final-stay-tuned/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test &#8211; Facebook open thread</title>
		<link>http://election.princeton.edu/2012/11/01/test-facebook-open-thread/</link>
		<comments>http://election.princeton.edu/2012/11/01/test-facebook-open-thread/#comments</comments>
		<pubDate>Thu, 01 Nov 2012 19:45:28 +0000</pubDate>
		<dc:creator>Sam Wang</dc:creator>
				<category><![CDATA[2012 Election]]></category>
		<category><![CDATA[Meta-analysis]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://election.princeton.edu/?p=8377</guid>
		<description><![CDATA[(original version released November 1, 3:45pm on temporary site) I miss my commenters! Let&#8217;s see if Facebook-based threads are sustainable. Open discussion thread for the Presidential race. Ro-mentum, early voting, whatever&#8230;have at it!]]></description>
			<content:encoded><![CDATA[<p><em>(original version released November 1, 3:45pm on temporary site)</em></p>
<p>I miss my commenters! Let&#8217;s see if Facebook-based threads are sustainable. Open discussion thread for the Presidential race. Ro-mentum, early voting, whatever&#8230;<a href="https://www.facebook.com/braingeek/posts/10152216335630397"><strong>have at it!</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://election.princeton.edu/2012/11/01/test-facebook-open-thread/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Offline for a moment&#8230;</title>
		<link>http://election.princeton.edu/2012/10/28/offline-for-a-moment/</link>
		<comments>http://election.princeton.edu/2012/10/28/offline-for-a-moment/#comments</comments>
		<pubDate>Mon, 29 Oct 2012 01:08:41 +0000</pubDate>
		<dc:creator>Sam Wang</dc:creator>
				<category><![CDATA[Meta-analysis]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://election.princeton.edu/?p=8146</guid>
		<description><![CDATA[I must relocate the server in light of the imminent hurricane strike. Don&#8217;t be concerned if we go away for a bit. Update: back. Fingers crossed!]]></description>
			<content:encoded><![CDATA[<p>I must relocate the server in light of the imminent hurricane strike. Don&#8217;t be concerned if we go away for a bit. <em>Update: back. Fingers crossed!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://election.princeton.edu/2012/10/28/offline-for-a-moment/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Crowdsourcing request: swing district locator</title>
		<link>http://election.princeton.edu/2012/10/23/crowdsourcing-request-swing-congressional-district-locator/</link>
		<comments>http://election.princeton.edu/2012/10/23/crowdsourcing-request-swing-congressional-district-locator/#comments</comments>
		<pubDate>Tue, 23 Oct 2012 22:00:26 +0000</pubDate>
		<dc:creator>Sam Wang</dc:creator>
				<category><![CDATA[2012 Election]]></category>
		<category><![CDATA[House]]></category>
		<category><![CDATA[Meta-analysis]]></category>

		<guid isPermaLink="false">http://election.princeton.edu/?p=7851</guid>
		<description><![CDATA[I want to create a tool to help locate swing Congressional districts (CDs) near you. Can you help? I&#8217;ve identified the districts &#8211; now I need a way to display them conveniently. The ideal tool would be a compact app that uses a ZIP code to return the nearest three swing CDs, along with links [...]]]></description>
			<content:encoded><![CDATA[<p>I want to create a tool to help locate swing Congressional districts (CDs) near you. Can you help?<span id="more-7851"></span></p>
<p>I&#8217;ve identified the districts &#8211; now I need a way to display them conveniently. The ideal tool would be a compact app that uses a ZIP code to return the nearest three swing CDs, along with links to resources such as Pollster.com and campaigns (both D and R). For example, in California the swing districts are CA-07, 09, 10, 24, 26, 41, and 52. These are places where Get-Out-The-Vote (GOTV) activity would be most effective &#8211; for either side.</p>
<p><a href="http://election.princeton.edu/wp-content/uploads/2012/10/calif-swing-districts.jpg"><img class="alignleft size-full wp-image-7854" title="calif-swing-districts-500px" src="http://election.princeton.edu/wp-content/uploads/2012/10/calif-swing-districts-500px.jpg" alt="Original map from the California Citizens Redistricting Commission" width="300" height="369" /></a></p>
<p>The swing districts are listed after the jump. Write me directly (left sidebar, About Us).</p>
<p><em><strong>Update for the very knowledgeable:</strong> in one solution, the key missing piece of information is GIS-friendly Congressional district boundaries. If you have those&#8230;swoon!</em></p>
<p><strong>Pacific Coast states</strong><br />
CA-07<br />
CA-09<br />
CA-10<br />
CA-24<br />
CA-26<br />
CA-36<br />
CA-41<br />
CA-52<br />
WA-01</p>
<p><strong>Arizona/Nevada/Utah/Colorado</strong><br />
AZ-01<br />
AZ-09<br />
CO-03<br />
CO-06<br />
NV-03<br />
NV-04<br />
UT-04</p>
<p><strong>Midwest</strong><br />
IA-03<br />
IA-04<br />
IL-10<br />
IL-11<br />
IL-12<br />
IL-13<br />
IL-17<br />
IN-08<br />
KY-06<br />
MI-01<br />
MI-11<br />
MN-08<br />
OH-06<br />
OH-16<br />
WI-07</p>
<p><strong>South, including Texas</strong><br />
FL-10<br />
FL-18<br />
FL-22<br />
FL-26<br />
GA-12<br />
NC-07<br />
TX-23</p>
<p><strong>New England</strong><br />
CT-05<br />
MA-06<br />
NH-01<br />
NH-02<br />
RI-01</p>
<p><strong>Northeast</strong><br />
NJ-03<br />
NY-01<br />
NY-11<br />
NY-18<br />
NY-19<br />
NY-21<br />
NY-24<br />
NY-27<br />
PA-08<br />
PA-12</p>
]]></content:encoded>
			<wfw:commentRss>http://election.princeton.edu/2012/10/23/crowdsourcing-request-swing-congressional-district-locator/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
		<item>
		<title>Technical notes on the House prediction</title>
		<link>http://election.princeton.edu/2012/10/06/technical-notes-on-the-house-prediction/</link>
		<comments>http://election.princeton.edu/2012/10/06/technical-notes-on-the-house-prediction/#comments</comments>
		<pubDate>Sat, 06 Oct 2012 16:00:38 +0000</pubDate>
		<dc:creator>Sam Wang</dc:creator>
				<category><![CDATA[2012 Election]]></category>
		<category><![CDATA[House]]></category>
		<category><![CDATA[Meta-analysis]]></category>

		<guid isPermaLink="false">http://election.princeton.edu/?p=6247</guid>
		<description><![CDATA[To the reader: This post focuses on technical notes regarding the House prediction. It is not a popular essay, but is for diehard geeks. Additional notes will be added here. All error bars below are 1-sigma values. Underline indicates a parameter that is used for the calculation. Part 1: Converting national vote share to seat count. [...]]]></description>
			<content:encoded><![CDATA[<p><em>To the reader: This post focuses on <span style="text-decoration: underline;">technical notes</span> regarding the House prediction. It is not a popular essay, but is for diehard geeks. Additional notes will be added here.<span id="more-6247"></span></em></p>
<p>All error bars below are 1-sigma values. <span style="text-decoration: underline;"><strong>Underline</strong></span> indicates a parameter that is used for the calculation.</p>
<p><strong>Part 1: Converting national vote share to seat count.</strong></p>
<p>I have broken this question down into (i) the relationship between national House popular vote, 1946-2010, and seat count; (ii) effects from immediately preceding Congress (&#8220;incumbency effects&#8221; and other historical effects); and (iii) the effect of redistricting for the 2012 election.</p>
<p><em>(i) Popular vote as a function of seat count.</em></p>
<p>This is calculated using a linear fit of the form</p>
<p style="text-align: center;">(seat margin) = <em>a0</em> + <em>a1</em> * (%vote margin)+ <em>a2</em> * (previous Congress seat margin)</p>
<p>where margins indicate the Democratic-minus-Republican difference. Both <em>a0</em> and <em>a2</em> are needed to effectively correct the generic Congressional poll margin.</p>
<p>The addition of <em>a2</em> decreases the residuals considerably, and leads to a modest increase in parameter uncertainties. As I have written before, adding more parameters fails to meet these criteria, and may constitute overfitting.</p>
<p>From 2002-2010, a0 = -3.3 +/- 8.2 seats and a1 = 6.2 +/- 1.1 seats/%vote.</p>
<p>From 1992-2010, <span style="text-decoration: underline;"><strong><em>a0</em> = -0.5 +/- 6.2</strong></span> seats and <span style="text-decoration: underline;"><strong><em>a1</em> = 6.8 +/- 1.0 seats/%vote</strong></span>. The ratio <em>a0/a1</em> is R+0.1+/-0.9%.</p>
<p>From 1948-2010, <em>a0</em> = +5.9 +/- 4.8 seats and <em>a1</em> = 8.0 +0.5 seats/%vote.</p>
<p>The parameter <em>a1</em> appears to be smaller over the last 20 years compared with post-WWII. This might be a reflection of increased incumbent advantage and/or redistricting.</p>
<p><em>(ii) Historical effects (&#8220;incumbency&#8221;).</em> An incumbent&#8217;s advantage has been estimated to be as high as 5-8%. This could affect both <em>a1</em> and <em>a2</em>. The generic Congressional ballot is a direct measurement of opinion, and therefore is likely to already capture the effects of this advantage. For this model, the question is how to estimate the macro-level advantage.</p>
<p>Because I previously referred to <em>a2</em> as reflecting incumbency, I will continue to refer to it that way. The macro-incumbency advantage for 2012, based on recent data, gives estimates that go all over the place when even one data point is added or removed. It is not a stable parameter, suggesting other effects that require district-by-district analysis. Here, I use as much data as possible to get the error down. For 1948-2010, <em>a2</em>=0.2+/-0.1, which in units of generic Congressional ballot translates to a <span style="text-decoration: underline;"><strong>macro-incumbency advantage of R+1.2+/-0.4%</strong></span>.</p>
<p><em>(iii) Redistricting.</em> From 2010 to 2012, the net overall shift in PVI distribution is R+0.62 +/- 0.06%. Because the seats-vs.-vote data above have a <a href="/wp-content/uploads/2012/10/house-PVI-seats.jpg">similar slope to the PVI distribution</a>, I assume that this shift will translate fully to an effective change to the seats-vs.-vote relaitonship. Therefore the relationship in (i) requires a <span style="text-decoration: underline;"><strong>redistricting correction of R+1.2+/-0.1%</strong></span>.</p>
<p>&gt;&gt;&gt;</p>
<p><strong>Part 2: Estimating the national Congressional vote.</strong></p>
<p>This is done by taking a median of <strong>all</strong> post-RNC/DNC convention generic Congressional preference polls. Aggregated-poll performance from RealClearPolitics suggest that these polls do a good job of predicting the final national vote. They are not perfect &#8211; a discrepancy can arise in the home stretch of up to 2-3%. Therefore the nominal error bar on a polls-now snapshot must include +/-2% uncertainty.</p>
<p>&gt;&gt;&gt;</p>
<p><strong>Part 3: Estimating future movement by Election Day.</strong></p>
<p>Movement should be at least comparable to Presidential movement, which at &gt;20 days from the election I have estimated as +/-1.8%. Congressional movement is likely to be greater because of low attention to local Congressional races. I make a baseline assumption that the movement in opinion is +/-2%.</p>
<p>Possible corrections:</p>
<ul>
<li>In a Presidential year, movement tends to be toward the Presidential winner. In a midterm year, movement tends to be away from the incumbent President. This would suggest that I should assume movement toward President Obama, by about D+2% to D+3%.</li>
<li>The Meta-Margin is currently above its average for the season. If House polls followed Presidential preference (coattails), this would give an average R+0.5%.</li>
<li>As of October 6, national House undecided voters are 10.5+/-0.6%, considerably higher than undecideds in the Presidential race (5%). This is a likely source of the break toward/away from the President&#8217;s party. If it were to break in proportion to Obama/Romney preference, it would give a net D+0.5%.</li>
<li>A recent event, the debate&#8230;to quote the <a href="http://rudepundit.blogspot.com/2012/10/random-observations-on-last-nights.html">Rude Pundit</a>, &#8220;Obama may have done more to depress voter turnout than all the i.d. laws combined.&#8221;</li>
</ul>
<p>Taking into account these and other possibilities I have not thought of, it would seem safe to stay with a symmetric assumption. I will assume <span style="text-decoration: underline;"><strong>+/-2% movement in either direction, symmetric around zero</strong></span>.</p>
<p>The combined errors from Parts 2 and 3 above are sqrt(2*2+2*2) = 3%. Therefore <span style="text-decoration: underline;"><strong>the estimate of Election Day generic Congressional preference is post-convention median, with an error bar of +/-3%</strong></span>.</p>
<p>This is converted to an &#8220;effective&#8221; margin that takes into account incumbency and reedistricting as follows:</p>
<p>(effective margin) = (predicted true generic Congressional preference) + <em>a0/a1</em> + (incumbency advantage) + (redistricting advantage)</p>
<p>Currently, that is</p>
<p>(<span style="text-decoration: underline;"><strong>D+2.5 +/-3.0</strong></span>) + (R+0.1+/-0.9) + (R+1.2+/-0.4) + (R+1.2+/-0.1) = <span style="text-decoration: underline;"><strong>D+0.0 +/-3.2%</strong></span>.</p>
<p>Converted to seat margins, this gives a seat margin of D+0 +/- 22 seats. 1-sigma prediction: <strong>median D 217.5 +/- 11 seats, R 217.5 +/- 11 seats.</strong></p>
<p><strong>Predictions: D+2.5+/-3.0% popular vote, D 217 +/- 11 seats R 218 +/- 11 seats.</strong> Democratic control: 50%.</p>
]]></content:encoded>
			<wfw:commentRss>http://election.princeton.edu/2012/10/06/technical-notes-on-the-house-prediction/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Foster v. Biggert (IL-11)</title>
		<link>http://election.princeton.edu/2012/10/03/foster-v-biggert-il-11/</link>
		<comments>http://election.princeton.edu/2012/10/03/foster-v-biggert-il-11/#comments</comments>
		<pubDate>Wed, 03 Oct 2012 10:36:11 +0000</pubDate>
		<dc:creator>Sam Wang</dc:creator>
				<category><![CDATA[2012 Election]]></category>
		<category><![CDATA[House]]></category>
		<category><![CDATA[Meta-analysis]]></category>

		<guid isPermaLink="false">http://election.princeton.edu/?p=6753</guid>
		<description><![CDATA[I&#8217;ve been staying out of individual House races. However, this one is interesting to me as a physics major. Also, my friends Ed Witten and Chiara Nappi drew me in. A deal I couldn&#8217;t refuse&#8230; The Democratic candidate is a physicist, Bill Foster. He is one of only three physicists to have ever served in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been staying out of individual House races. However, this one is interesting to me as a physics major. Also, my friends Ed Witten and Chiara Nappi drew me in. A deal I couldn&#8217;t refuse&#8230;<span id="more-6753"></span></p>
<p>The Democratic candidate is a physicist, <a href="http://en.wikipedia.org/wiki/Bill_Foster_(Illinois_politician)">Bill Foster</a>. He is one of only three physicists to have ever served in Congress (the others were Vern Ehlers, R-MI, and Rush Holt, my own Congressman). Foster has been involved in research relating to the top quark and to the Supernova 1987A neutrino burst, and in his youth created a company that manufactures theater lighting equipment.<!--more--></p>
<p>Foster is also a former Congressman from the Illinois 14th District. He is attempting to make a comeback against Judy Biggert (R), a longtime Congresswoman. Therefore their records can be compared <a href="http://www.dailyherald.com/article/20120905/news/709059938">directly</a>, from the DREAM Act to Fermilab. They are running in the new 11th District, and this race is <a href="http://elections.huffingtonpost.com/2012/house-outlook#IL-11">right on the edge</a>. I&#8217;ll be seeing Foster today, along with Representative Holt, at our local Triumph Brewing Co. Here&#8217;s <a href="https://services.myngp.com/ngponlineservices/Event.aspx?Y=FrZ0S4jyDpX9rLSoaC%2f%2fQFtN%2bHTzgvYHM5pFCvFuzU8dCtsDDl9abw%3d%3d">the invitation</a>. (And here is Judy Biggert&#8217;s <a href="http://www.biggert.com/">site</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://election.princeton.edu/2012/10/03/foster-v-biggert-il-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The short-term presidential predictor (with MATLAB)</title>
		<link>http://election.princeton.edu/2012/09/29/the-short-term-presidential-predictor-with-matlab/</link>
		<comments>http://election.princeton.edu/2012/09/29/the-short-term-presidential-predictor-with-matlab/#comments</comments>
		<pubDate>Sat, 29 Sep 2012 14:37:09 +0000</pubDate>
		<dc:creator>Sam Wang</dc:creator>
				<category><![CDATA[2012 Election]]></category>
		<category><![CDATA[Meta-analysis]]></category>
		<category><![CDATA[President]]></category>

		<guid isPermaLink="false">http://election.princeton.edu/?p=6521</guid>
		<description><![CDATA[This is a technical explanation corresponding to this post. (1) Set a Bayesian prior for the Meta-Margin by calculating average and SD for June-September 2012, using a t-distribution (3 d.f.) to generate the shape. In practice the tails do not matter, but leave them in. Result: Obama +3.26 +/- 1.02 %. (2) Calculate the distribution [...]]]></description>
			<content:encoded><![CDATA[<p>This is a technical explanation corresponding to <a href="/2012/09/30/the-short-term-presidential-predictor/">this post</a>.<span id="more-6521"></span></p>
<p>(1) Set a Bayesian prior for the Meta-Margin by calculating average and SD for June-September 2012, using a t-distribution (3 d.f.) to generate the shape. In practice the tails do not matter, but leave them in. Result: Obama +3.26 +/- 1.02 %.</p>
<p>(2) Calculate the distribution of forward-going change in June-September 2012 to estimate the probable amount of divergence by November 6th. The approximate expression for the divergence is <em>d</em> = 0.4*sqrt(N) for N&lt;=20 days, and <em>d</em> = 1.8% for N&gt;20 days. The sqrt(N) indicates random walk-like behavior. Calculate a Gaussian with width parameter <em>d</em>.</p>
<p>(3) Multiply the distributions in (1) and (2) to get a final predicted distribution of Meta-Margins. From this calculate the mean, 1-sigma (68%), and 2-sigma (95%) confidence intervals. Convert all three to units of EV using 2012 data to interpolate.</p>
<p>(4) For the red zone, plot the 68% confidence interval. Plot as a diverging zone from today&#8217;s snapshot.</p>
<p>(5) For the yellow zone, plot the union of the snapshot 95% CI (gray zone today) and 95% predicted CI (step 3 above). Plot as a zone starting from today&#8217;s 95% CI.</p>
<p>And here is the MATLAB script.</p>
<p>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;</p>
<p>% First, input parameters (pass MM to it or leave the first line)<br />
%<br />
% Where are we today?<br />
MM=5.06 % today&#8217;s Meta-Margin<br />
MMdrift=1.8<br />
N = 38 % days until election<br />
%N=max(N,1) % seat belt<br />
%N=datenum(2012,11,6)-today; % assuming date is set correctly in machine<br />
%MMdrift=min(0.4*sqrt(N),1.8) % random-walk drift as seen empirically<br />
%MMdrift=max(MMdrift,0.2) % just in case something is screwy with date</p>
<p>% cover range of +/-4 sigma<br />
Mrange=[MM-4*MMdrift:0.02:MM+4*MMdrift];</p>
<p>% What is near-term drift starting from conditions now?<br />
now=tpdf((Mrange-MM)/MMdrift,3); % long-tailed distribution. you never know.<br />
now=now/sum(now);</p>
<p>% What was long-term prediction? (the prior)<br />
M2012=3.26; M2012SD=2.2; % parameters of long-term prediction<br />
prior=tpdf((Mrange-M2012)/M2012SD,1); %make it really long-tailed, df=1<br />
prior=prior/sum(prior);</p>
<p>% Combine to make prediction<br />
pred=now.*prior; % All hail Reverend Bayes<br />
pred=pred/sum(pred);</p>
<p>plot(Mrange,now,&#8217;-k&#8217;) % drift from today<br />
hold on<br />
plot(Mrange,prior,&#8217;-g&#8217;) % the prior<br />
plot(Mrange,pred,&#8217;-r&#8217;) % the prediction<br />
grid on</p>
<p>% Define mean and error bands for prediction<br />
predictmean=sum(pred.*Mrange)/sum(pred)<br />
for i=1:length(Mrange)<br />
cumulpredict(i)=sum(pred(1:i));<br />
end<br />
Msig1lo=Mrange(min(find(cumulpredict&gt;normcdf(-1,0,1))))<br />
Msig1hi=Mrange(min(find(cumulpredict&gt;normcdf(+1,0,1))))<br />
Msig2lo=Mrange(min(find(cumulpredict&gt;normcdf(-2,0,1))))<br />
Msig2hi=Mrange(min(find(cumulpredict&gt;normcdf(+2,0,1))))</p>
<p>% Now convert to EV using data from mid-August and some added points at the<br />
% ends. If the race swings far, these endpoints need to be re-evaluated.<br />
mmf=[-1.48 -.74 0 .74 1.4800 1.8125 2.1383 2.5667 3.3200 3.7400 4.2000 4.6600 5.1050 6 7 8 9 10 11 12];<br />
evf=[247 258 269 280 290 299.25 304.1667 310.0000 321.6667 328  343  347 347 347 347 347 347 358 369 383];<br />
bands = interp1(mmf,evf,[predictmean Msig1lo Msig1hi Msig2lo Msig2hi],&#8217;spline&#8217;);<br />
bands = round(bands)<br />
ev_prediction = bands(1);<br />
ev_1sig_low = bands(2);<br />
ev_1sig_hi = bands(3);<br />
ev_2sig_lo = bands(4);<br />
ev_2sig_hi = bands(5);</p>
<p>bayesian_winprob=sum(pred(find(Mrange&gt;=0)))/sum(pred)<br />
drift_winprob=tcdf(MM/MMdrift,3)</p>
]]></content:encoded>
			<wfw:commentRss>http://election.princeton.edu/2012/09/29/the-short-term-presidential-predictor-with-matlab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
