<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4918582430341367895</id><updated>2012-02-16T02:58:31.782-08:00</updated><title type='text'>Continuation</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-4559546077893114089</id><published>2008-01-27T04:09:00.000-08:00</published><updated>2008-01-27T04:12:10.270-08:00</updated><title type='text'>Obama's South Carolina victory not simply a consequence of high black voter turnout</title><content type='html'>Brian has done &lt;a href="http://electionstats.wordpress.com/2008/01/26/obamas-sc-win-did-not-need-a-large-black-turnout/"&gt;some no-nonsense calculations&lt;/a&gt; showing that even with a black voter turnout as low as 18%, Obama would have won South Carolina.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-4559546077893114089?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/4559546077893114089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=4559546077893114089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/4559546077893114089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/4559546077893114089'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/obamas-south-carolina-victory-not.html' title='Obama&apos;s South Carolina victory not simply a consequence of high black voter turnout'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-323860658029389978</id><published>2008-01-21T00:13:00.000-08:00</published><updated>2008-01-21T00:15:49.857-08:00</updated><title type='text'>University of Michigan statistician studies the NH primary</title><content type='html'>The &lt;a href="http://www-personal.umich.edu/~wmebane/NH2008HMW.pdf"&gt;article&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-323860658029389978?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/323860658029389978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=323860658029389978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/323860658029389978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/323860658029389978'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/university-of-michigan-statistician.html' title='University of Michigan statistician studies the NH primary'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-3587269286127270019</id><published>2008-01-15T15:21:00.000-08:00</published><updated>2008-01-15T15:44:07.226-08:00</updated><title type='text'>Complete map of Diebold precincts</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_KdZB6oMfoOo/R41AKgbIXVI/AAAAAAAAABs/ks0aicpRdlY/s1600-h/diebold.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_KdZB6oMfoOo/R41AKgbIXVI/AAAAAAAAABs/ks0aicpRdlY/s320/diebold.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5155847697655684434" /&gt;&lt;/a&gt;&lt;br /&gt;Here you go.  Red is Diebold.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-3587269286127270019?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/3587269286127270019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=3587269286127270019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/3587269286127270019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/3587269286127270019'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/complete-map-of-diebold-precincts.html' title='Complete map of Diebold precincts'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_KdZB6oMfoOo/R41AKgbIXVI/AAAAAAAAABs/ks0aicpRdlY/s72-c/diebold.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-2120055412947931050</id><published>2008-01-15T14:51:00.001-08:00</published><updated>2008-01-15T15:02:32.322-08:00</updated><title type='text'>Diebold effect sticks around, need a proper statistician</title><content type='html'>I have incorporated &lt;a href="http://electionstats.wordpress.com/"&gt;Brian's work&lt;/a&gt; in my latest analysis.  I tried different linear and generalized linear models combining Clinton's score, the total number of votes, the usual demographic data, employment rates, education and latitude and longitude.&lt;br /&gt;&lt;br /&gt;I took the latest available data sets, got the list of towns using electronic voting from the official site, completed and corrected town names by hand.&lt;br /&gt;&lt;br /&gt;The significant factors I found are, in order of decreasing signifiance:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Percent of people holding bachelor's degrees,&lt;/li&gt;  &lt;li&gt;Voting method.&lt;/li&gt;&lt;/ul&gt;It is interesting to note that when with the new, improved data, the percent of people holding a bachelor's degree becomes extremely significant (about p = 3e-9 vs. about p = 0.001 for voting method.)&lt;br /&gt;&lt;br /&gt;I'd like someone who know his statistics well to check the data and tell us if the voting method is indeed significant.  The fitted models are linear and for all I know, it could be acting as a non-linear proxy for population size or some other funny explanation...&lt;br /&gt;&lt;br /&gt;Anyway the &lt;a href="http://otto.ouvaton.org/new-hampshire-pack-v2.tar.gz"&gt;new data is available here&lt;/a&gt;, feel free to check, improve and re-publish it.  Note that you need the maptools R package.  You can install it by typing &lt;tt&gt;install.packages(c("maptools", "maps"),dependencies=T))&lt;/tt&gt; in R.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-2120055412947931050?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/2120055412947931050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=2120055412947931050' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/2120055412947931050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/2120055412947931050'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/diebold-effect-sticks-around-need.html' title='Diebold effect sticks around, need a proper statistician'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-4746538210186036168</id><published>2008-01-14T15:40:00.000-08:00</published><updated>2008-01-14T15:46:35.825-08:00</updated><title type='text'>Geographical explanation might not be as watertight after all...</title><content type='html'>Reddit user brfox has &lt;a href="http://electionstats.wordpress.com/"&gt;started his blog&lt;/a&gt; on election statistics and did some analysis taking the geographic distribution of states into account.  It seems that there is still a Diebold effect.&lt;br /&gt;&lt;br /&gt;Meanwhile &lt;a href="http://machinist.salon.com/feature/2008/01/11/new_hampshire_vote/index.html"&gt;a column at Salon.com&lt;/a&gt; argues geography is the explanation.&lt;br /&gt;&lt;br /&gt;We need to double- and triple-check check all this data carefully.  If, after controlling for various parameters, we still have what looks like a statistical anomaly, we must get some expert opinion.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-4746538210186036168?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/4746538210186036168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=4746538210186036168' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/4746538210186036168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/4746538210186036168'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/geographical-explanation-might-not-be.html' title='Geographical explanation might not be as watertight after all...'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-3887275037553982650</id><published>2008-01-14T04:45:00.000-08:00</published><updated>2008-01-14T04:49:47.556-08:00</updated><title type='text'>Request voting precinct geographical data</title><content type='html'>Hello all,&lt;br /&gt;&lt;br /&gt;After brfox's message, I have been scavenging the net for a database that would allow me to map New Hampshire voting precincts.&lt;br /&gt;&lt;br /&gt;I found some data at the USGS, however voting precincts do not match ZIP codes exactly.  Also I need latitude/longitude data.&lt;br /&gt;&lt;br /&gt;So I parsed the latlong data from Wikipedia, which lists 223 towns.  Here &lt;a href="http://otto.ouvaton.org/nh-towns.dat"&gt;it is&lt;/a&gt;, feel free to use it or to complete it.&lt;br /&gt;&lt;br /&gt;We can do a paired study on adjacent voting precints with different methods, or do a regression analysis with latitude/longitude as extra data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-3887275037553982650?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/3887275037553982650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=3887275037553982650' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/3887275037553982650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/3887275037553982650'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/request-voting-precinct-geographical.html' title='Request voting precinct geographical data'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-2728430175824571742</id><published>2008-01-14T01:01:00.000-08:00</published><updated>2008-01-14T01:04:04.110-08:00</updated><title type='text'>Strong geographical clustering of Diebold precincts</title><content type='html'>Someone from Reddit has just forwarded me a map showing that precincts using Diebold machines are geographically aggregated in the south-east of the state.  Finally, this could be the explanation!&lt;br /&gt;&lt;br /&gt;We still need to do a study of geographically and demographically similar pairs with distinct voting methods.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-2728430175824571742?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/2728430175824571742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=2728430175824571742' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/2728430175824571742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/2728430175824571742'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/strong-geographical-clustering-of.html' title='Strong geographical clustering of Diebold precincts'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-2548680486713448133</id><published>2008-01-13T14:18:00.000-08:00</published><updated>2008-01-13T14:19:48.453-08:00</updated><title type='text'>Archive of R files and data</title><content type='html'>You can &lt;a href="http://otto.ouvaton.org/new-hampshire-pack-v1.tar.gz"&gt;download a .tar.gz file containing the R scripts and the CSV data here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-2548680486713448133?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/2548680486713448133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=2548680486713448133' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/2548680486713448133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/2548680486713448133'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/archive-of-r-files-and-data.html' title='Archive of R files and data'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-1211211516523190126</id><published>2008-01-13T13:41:00.001-08:00</published><updated>2008-01-13T14:20:57.431-08:00</updated><title type='text'>College education is a significant factor, Diebold effect remains</title><content type='html'>On Reddit, &lt;a href="http://politics.reddit.com/info/65dov/comments/c02vzsz"&gt;ohno&lt;/a&gt; linked to a &lt;a href="http://www.tnr.com/politics/story.html?id=17dabbce-95ad-40c1-805c-5c12d0158ba8%20"&gt;study&lt;/a&gt; suggesting that Clinton's result might be due to a shift in the opinions of college-educated women along with their under-representation in polls.&lt;br /&gt;&lt;br /&gt;Accordingly, I included the percent holding bachelor's degrees (which I left out of inattention) in the regression analysis.  It appears that college education is a very significant factor in explaining Clinton's result: F value 14.3 at p = 0.0002276.&lt;br /&gt;&lt;br /&gt;However the Diebold effect remains at F = 16.6 and p = 7.859e-05.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-1211211516523190126?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/1211211516523190126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=1211211516523190126' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/1211211516523190126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/1211211516523190126'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/college-education-is-significant-factor.html' title='College education is a significant factor, Diebold effect remains'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-3324309179698263901</id><published>2008-01-13T12:18:00.000-08:00</published><updated>2008-01-13T13:10:32.776-08:00</updated><title type='text'>Controlling for employment, age, housing or income data doesn't remove the Diebold effect</title><content type='html'>While I was spending a quiet Sunday I didn't notice the large amount of activity here.  Thanks for all your comments and your data!  I thought this analysis was lost in the blogosphere.&lt;br /&gt;&lt;br /&gt;Meanwhile other have done their own analyses and it seems that the effect doesn't disappear.  They have also published their own data in computer-readable format.&lt;br /&gt;&lt;br /&gt;The mainstream media has also &lt;a href="http://www.boston.com/news/local/new_hampshire/articles/2008/01/11/experts_skeptical_of_nh_ballot_count_conspiracy_theory/"&gt;picked up the buzz&lt;/a&gt;.  &lt;br /&gt;&lt;br /&gt;I quote:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Lenski said it's all of a piece: Education, income and age -- factors that influence voters' candidate choices, also play into where they choose to live.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;So I loaded one of these data sets which includes the following data:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;  &lt;li&gt;Primary results&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;Vote method&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;Sociodemographic data: age distribution, housing units, unemployment rate, median household income, number of single family homes.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;I have then attempted to explain Clinton's result by various combinations of these variables, using multivariate linear regression in GNU R.&lt;br /&gt;&lt;br /&gt;In all these attempts, voting method remains the most important variable (besides, of course, results of other candidates) explaining Clinton's score, with a F-value of 15 and p &lt; 0.0002.  Next we have unemployment rate (with a F-value of 4 and p &lt; 0.04).&lt;br /&gt;&lt;br /&gt;Here is the R command:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;gt; model &lt;- lm(&lt;br /&gt;  nh$Clinton ~ &lt;br /&gt;    nh$Obama + &lt;br /&gt;    nh$Biden +&lt;br /&gt;    nh$Dodd +&lt;br /&gt;    nh$Edwards +&lt;br /&gt;    nh$Gravel +&lt;br /&gt;    nh$Kucinich +&lt;br /&gt;    nh$D1H0 + &lt;br /&gt;    nh$Votes + &lt;br /&gt;    nh$Totalpopulation +&lt;br /&gt;    nh$Percapitaincome * nh$Totalemployed * nh$Totalunemployed +&lt;br /&gt;    nh$Singlefamilyhomes +&lt;br /&gt;    nh$Multifamilyunits +&lt;br /&gt;    nh$Medianage +&lt;br /&gt;    nh$Percenthighschoolgraduates +&lt;br /&gt;    nh$Age5andunder * nh$Age5to19 * nh$Age35to54 * nh$Age55to64 + nh$Age65andup +&lt;br /&gt;    nh$Employeesinlargestbusiness +&lt;br /&gt;    nh$Municipalwater * nh$Municipalsewer * nh$Totalhousingunits &lt;br /&gt;  )&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And its results:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;nh$Obama                                                205.6910 &lt; 2.2e-16 ***&lt;br /&gt;nh$Biden                                                  0.3304 0.5663645    &lt;br /&gt;nh$Dodd                                                  11.2074 0.0010484 ** &lt;br /&gt;nh$Edwards                                                0.8830 0.3490086    &lt;br /&gt;nh$Gravel                                                 3.9644 0.0484338 *  &lt;br /&gt;nh$Kucinich                                              21.2929 8.867e-06 ***&lt;br /&gt;nh$D1H0                                                  15.5007 0.0001299 ***&lt;br /&gt;nh$Votes                                                  3.0066 0.0851407 .  &lt;br /&gt;nh$Totalpopulation                                        0.2982 0.5859160    &lt;br /&gt;nh$Percapitaincome                                        0.1636 0.6865105    &lt;br /&gt;nh$Totalemployed                                          0.0337 0.8546765    &lt;br /&gt;nh$Totalunemployed                                        0.8149 0.3682376    &lt;br /&gt;nh$Singlefamilyhomes                                      0.1271 0.7219829    &lt;br /&gt;nh$Multifamilyunits                                       0.7231 0.3965950    &lt;br /&gt;nh$Medianage                                              1.1115 0.2935781    &lt;br /&gt;nh$Percenthighschoolgraduates                          7.536e-07 0.9993086    &lt;br /&gt;nh$Age5andunder                                           3.3983 0.0673950 .  &lt;br /&gt;nh$Age5to19                                               1.3064 0.2550066    &lt;br /&gt;nh$Age35to54                                              0.1011 0.7509720    &lt;br /&gt;nh$Age55to64                                              0.1961 0.6585892    &lt;br /&gt;nh$Age65andup                                             0.6695 0.4146369    &lt;br /&gt;nh$Employeesinlargestbusiness                             0.5505 0.4593790    &lt;br /&gt;nh$Municipalwater                                         0.1546 0.6947648    &lt;br /&gt;nh$Municipalsewer                                         2.6180 0.1079231    &lt;br /&gt;nh$Totalhousingunits                                      3.4622 0.0648983 .  &lt;br /&gt;nh$Percapitaincome:nh$Totalemployed                       0.1181 0.7316529    &lt;br /&gt;nh$Percapitaincome:nh$Totalunemployed                     0.0032 0.9548340    &lt;br /&gt;nh$Totalemployed:nh$Totalunemployed                       4.3509 0.0388181 *  &lt;br /&gt;nh$Age5andunder:nh$Age5to19                               0.0871 0.7682941    &lt;br /&gt;nh$Age5andunder:nh$Age35to54                              0.3209 0.5719690    &lt;br /&gt;nh$Age5to19:nh$Age35to54                                  0.1458 0.7031766    &lt;br /&gt;nh$Age5andunder:nh$Age55to64                              1.1076 0.2944332    &lt;br /&gt;nh$Age5to19:nh$Age55to64                                  0.0133 0.9082441    &lt;br /&gt;nh$Age35to54:nh$Age55to64                                 0.1195 0.7300958    &lt;br /&gt;nh$Municipalwater:nh$Municipalsewer                       0.9774 0.3245594    &lt;br /&gt;nh$Municipalwater:nh$Totalhousingunits                    0.5824 0.4466709    &lt;br /&gt;nh$Municipalsewer:nh$Totalhousingunits                    0.0487 0.8256904    &lt;br /&gt;nh$Percapitaincome:nh$Totalemployed:nh$Totalunemployed    2.7098 0.1019924    &lt;br /&gt;nh$Age5andunder:nh$Age5to19:nh$Age35to54                  0.1625 0.6874457    &lt;br /&gt;nh$Age5andunder:nh$Age5to19:nh$Age55to64                  0.7882 0.3761842    &lt;br /&gt;nh$Age5andunder:nh$Age35to54:nh$Age55to64                 1.6764 0.1975536    &lt;br /&gt;nh$Age5to19:nh$Age35to54:nh$Age55to64                     0.0148 0.9033289    &lt;br /&gt;nh$Age5andunder:nh$Age5to19:nh$Age35to54:nh$Age55to64     0.4226 0.5167068    &lt;br /&gt;Residuals                                                                     &lt;br /&gt;---&lt;br /&gt;Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now let me repeat that I am not a statistician or a sociologist.  I have a Ph.D in theoretical computer science and a slight interest in statistics.&lt;br /&gt;&lt;br /&gt;The mantra is "correlation is not causation" and, as claimed in the Associated Press article, there could very well be an unaccounted sociological factor that correlated with the presence of Diebold machines.&lt;br /&gt;&lt;br /&gt;However explanations such as "there is no case for concern since precincts with Diebold machines have, strangely enough, always favored such and such a class of candidates" are not very satisfying since it is the very reliability of&lt;br /&gt;these Diebold machines that is under question.&lt;br /&gt;&lt;br /&gt;Hence, under the light of the general surprise of the press at Clinton's victory in New Hampshire, the large discrepancies between some polls and the results and Diebold's history.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-3324309179698263901?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/3324309179698263901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=3324309179698263901' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/3324309179698263901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/3324309179698263901'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/controlling-for-demographic-data-doesnt.html' title='Controlling for employment, age, housing or income data doesn&apos;t remove the Diebold effect'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-6326174761797005518</id><published>2008-01-12T02:49:00.000-08:00</published><updated>2008-01-12T02:57:41.152-08:00</updated><title type='text'>Recounts requested!</title><content type='html'>&lt;a href="http://thecaucus.blogs.nytimes.com/2008/01/11/candidates-push-for-a-nh-recount/"&gt;Kucinich and Howard asked for recounts.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-6326174761797005518?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/6326174761797005518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=6326174761797005518' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/6326174761797005518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/6326174761797005518'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/recounts-requested.html' title='Recounts requested!'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-1014713167535379882</id><published>2008-01-11T04:41:00.000-08:00</published><updated>2008-01-11T04:43:14.208-08:00</updated><title type='text'>Request for New Hampshire sociodemographic data</title><content type='html'>To check for sociologically significant variables that might be correlated to voting method, we need sociodemographic data on New Hampshire by voting precinct.  Unfortunately it seems that the US Census Bureau won't give these for free.  Does anyone have such data?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-1014713167535379882?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/1014713167535379882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=1014713167535379882' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/1014713167535379882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/1014713167535379882'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/request-for-new-hampshire.html' title='Request for New Hampshire sociodemographic data'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-3377209515139529968</id><published>2008-01-10T23:39:00.000-08:00</published><updated>2008-01-10T23:40:40.375-08:00</updated><title type='text'>Summary</title><content type='html'>In precincts where Diebold machines are used, Hillary gets a 7 point advantage over Obama.&lt;br /&gt;&lt;br /&gt;According to a best-fit linear model of the effect of precinct size and voting method, voting method accounts for about 4.6 points with high statistical confidence.&lt;br /&gt;&lt;br /&gt;That's 4.6 points not explained by precinct size, which is included in the model.&lt;br /&gt;&lt;br /&gt;Including variables such as number of Republican voters or other candidates does not significantly alter this result.&lt;br /&gt;&lt;br /&gt;Hence the debunking that "Diebold use correlated with large cities correlated with Hillary supporters, thus no conspiracy" is insufficient and further analysis is warranted.&lt;br /&gt;&lt;br /&gt;Especially given the wild poll discrepancies.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-3377209515139529968?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/3377209515139529968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=3377209515139529968' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/3377209515139529968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/3377209515139529968'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/summary.html' title='Summary'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4918582430341367895.post-7118832116249899262</id><published>2008-01-10T12:41:00.000-08:00</published><updated>2008-01-10T14:38:43.009-08:00</updated><title type='text'>Statistical exploration of New Hampshire Democratic primary results</title><content type='html'>A number of people have been surprised by the unexpectedly high score of Hillary Clinton in New Hampshire.  Some people noticed that there was a strong correlation between precincts using Diebold equipment and Hillary's score.  Other noticed notable discrepancies between polls and the results.  Yet others have pointed to some exit polls that do not match with the official results.&lt;br /&gt;&lt;br /&gt;Some people &lt;a href="http://dhinmi.dailykos.com/storyonly/2008/1/10/02623/2264/85/434176"&gt;offered the explanation&lt;/a&gt; that smaller precincts tend not to use Diebold machines and also tend to favor Obama, for whatever sociological reasons.  As someone put the election data in computer-readable format on the web, and as I am slightly versed in statistical analysis using the R package, I decided to run some tests.&lt;br /&gt;&lt;br /&gt;First, the data.  The data has been posted as a Google spreadsheet on the web &lt;a href="http://politics.reddit.com/info/6512f/comments/c02uut9"&gt;by Reddit user brfox&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It is missing some data in Dummer Hand, Franconia, Greenfield, Groton Hand, Harts Location, Manchester, Temple Hand, Waterville, Wenworth's Location and Windsor Hand.  It has a total of 286139 Democratic voters.&lt;br /&gt;&lt;br /&gt;Hillary Clinton wins with 39.1%.  Obama gets 36.3%.  Of all the Democratic votes, 57837 were hand-counted, 207251 (72%) votes were Diebold-counted.&lt;br /&gt;&lt;br /&gt;So far, so good.&lt;br /&gt;&lt;br /&gt;In hand-counted precincts, which make up 20.2% of the votes, Obama gets 38.6% and Clinton gets 34.9%.  In Diebold-counted ones, Clinton makes 39.6% and Obama gets 36.3%.  This is the basis for the initial claims of vote rigging.&lt;br /&gt;&lt;br /&gt;Claims which are countered by the observation that precincts where the votes are hand-counted are small, non-urban precincts.  Urbanity is, of course, a well-known factor affecting political choices.&lt;br /&gt;&lt;br /&gt;Indeed, the mean precinct size, counted by number of Democratic votes, for hand-counted precincts is 431 (0 to 2602, median 323), against 2159 (269 to 17160, median 1320) for Diebold-counted ones.&lt;br /&gt;&lt;br /&gt;Actually there is a very significant correlation at p &lt; 0.002 between Clinton's score and the precinct size, and an even better correlation between Clinton's score and voting method, and yet a better correlation between precinct size and voting method.&lt;br /&gt;&lt;br /&gt;We cannot say much more without going to multivariate statistics.  Fortunately, thanks to GNU R, mere mortals can benefit from multi-variate statistical modeling.&lt;br /&gt;&lt;br /&gt;So, we have three variables: voting method, Clinton's score and the precinct size.  We ask R to compute the best linear model that links them, and then run an analysis of variance test on the model to see how well it fits the data.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&gt; l &lt;- lm(cliv ~ d$dem_size + hand)&lt;br /&gt;&gt; l&lt;br /&gt;&lt;br /&gt;Call:&lt;br /&gt;lm(formula = cliv ~ d$dem_size + hand)&lt;br /&gt;&lt;br /&gt;Coefficients:&lt;br /&gt;(Intercept)   d$dem_size         hand  &lt;br /&gt;  3.859e-01    2.598e-06   -4.644e-02  &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;These cryptic lines mean that Hillary's score can be computed by 38.59% plus the Democratic size divided by 384911.5 (which is 1/2.598e-6) minus 4.64 percentage points whenever the voting method is by hand.&lt;br /&gt;&lt;br /&gt;So it is estimated that voting method accounts for 4.64 percentage points of Hillary's score.&lt;br /&gt;&lt;br /&gt;How much variability does this linear formula remove from the data? The standard deviation (on a precinct by precinct basis) of Hillary's score is about 7.8 percentage points.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&gt; summary(l)&lt;br /&gt;&lt;br /&gt;Call:&lt;br /&gt;lm(formula = cliv ~ d$dem_size + hand)&lt;br /&gt;&lt;br /&gt;Residuals:&lt;br /&gt;      Min        1Q    Median        3Q       Max &lt;br /&gt;-0.339495 -0.042209 -0.001204  0.046007  0.327182 &lt;br /&gt;&lt;br /&gt;Coefficients:&lt;br /&gt;              Estimate Std. Error t value Pr(&gt;|t|)    &lt;br /&gt;(Intercept)  3.859e-01  1.009e-02  38.247  &lt; 2e-16 ***&lt;br /&gt;d$dem_size   2.598e-06  3.115e-06   0.834    0.405    &lt;br /&gt;hand        -4.644e-02  1.126e-02  -4.123 5.28e-05 ***&lt;br /&gt;---&lt;br /&gt;Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 &lt;br /&gt;&lt;br /&gt;Residual standard error: 0.07371 on 223 degrees of freedom&lt;br /&gt;Multiple R-Squared: 0.1081,     Adjusted R-squared: 0.1001 &lt;br /&gt;F-statistic: 13.51 on 2 and 223 DF,  p-value: 2.894e-06 &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Look at the t value!  As you can see, voting method explains a lot better than precinct size.&lt;br /&gt;&lt;br /&gt;And if you care about ANOVA:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&gt; anova(l)&lt;br /&gt;Analysis of Variance Table&lt;br /&gt;&lt;br /&gt;Response: cliv&lt;br /&gt;        Df  Sum Sq Mean Sq F value   Pr(&gt;F)&lt;br /&gt;d$dem_size   1 0.05446 0.05446  10.024 0.001761 **&lt;br /&gt;hand         1 0.09235 0.09235  16.998 5.28e-05 ***&lt;br /&gt;Residuals  223 1.21158 0.00543                 &lt;br /&gt;---&lt;br /&gt;Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now let's think a little bit.  There could very well be a politically meaningful parameter correlated with voting method besides precinct size.  As Diebold has connections with Republicans, it could be that Republicans favor Diebold.  Could it be that the Republican to Democrat size ratio explains the voting method?&lt;br /&gt;&lt;br /&gt;I'll spare you the R screen dump: the p-value of the correlation coefficient being 0.69, the R to D size ratio doesn't seem to explain anything.&lt;br /&gt;&lt;br /&gt;Hence voting method explains Hillary Clinton's score accross precincts better than precinct size or I fail Statistics 101.&lt;br /&gt;&lt;br /&gt;All of this is of course armchair politology.  I would like the opinion of an independent expert sociologist.  However I would like to finish this post with the following quote:&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;Bilderberg guests from previous years include Senator Clinton and a former governor of Virginia, Mark Warner, both of whom who are considering running for president in 2008. President Clinton also hunkered down with the club one year. One of the most famous rumors associated with the Bilderberg is that it "anointed" Mr. Clinton in the spring of 1992.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.nysun.com/article/34231?page_no=1"&gt;http://www.nysun.com/article/34231?page_no=1&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.nysun.com/article/34231?page_no=1"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4918582430341367895-7118832116249899262?l=call-with-current-continuation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://call-with-current-continuation.blogspot.com/feeds/7118832116249899262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4918582430341367895&amp;postID=7118832116249899262' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/7118832116249899262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4918582430341367895/posts/default/7118832116249899262'/><link rel='alternate' type='text/html' href='http://call-with-current-continuation.blogspot.com/2008/01/statistical-exploration-of-new.html' title='Statistical exploration of New Hampshire Democratic primary results'/><author><name>semmelweis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry></feed>
