<?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>Polimath</title>
	<atom:link href="http://haptonstahl.org/polimath/?feed=rss2&#038;p=220" rel="self" type="application/rss+xml" />
	<link>http://haptonstahl.org/polimath</link>
	<description>Patterns in Politics</description>
	<lastBuildDate>Sun, 09 Sep 2012 04:43:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Make GitHub R Code Available within R</title>
		<link>http://haptonstahl.org/polimath/?p=297</link>
		<comments>http://haptonstahl.org/polimath/?p=297#comments</comments>
		<pubDate>Sat, 08 Sep 2012 01:07:49 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://haptonstahl.org/polimath/?p=297</guid>
		<description><![CDATA[After gradually migrating most of my workflow from Subversion to GitHub I discovered an itty, bitty, tiny, huge freakin&#8217; problem. Part of my old workflow involved me storing code I would use again and again in a public repository then source-ing the code directly into R as needed. It also made this code easy for [...]]]></description>
			<content:encoded><![CDATA[<p>After gradually migrating most of my workflow from Subversion to GitHub I discovered an itty, bitty, tiny, huge freakin&#8217; problem. Part of my old workflow involved me storing code I would use again and again in a public repository then <tt style="font-size: 120%;">source</tt>-ing the code directly into R as needed. It also made this code easy for me to share with others, especially students and collaborators. No problem.</p>
<p>GitHub is superior to Subversion in notable ways, but that&#8217;s not our topic here. GitHub does make it easy to read source code directly from the site as plain text. Here&#8217;s an example of an address for a bit of code I use almost daily to <a href="https://raw.github.com/shaptonstahl/R/master/Decruft/Decruft.R">give me a clean R session</a>.<span id="more-297"></span></p>
<pre>  https://raw.github.com/shaptonstahl/R/master/Decruft/Decruft.R</pre>
<p>Anyone see the problem? Two things: (1) The URL for the plain text version of code hosted on GitHub is reached via a secure connection, and (2) R can&#8217;t source via https without the use of an <a href="https://github.com/hadley/devtools">external</a> <a href="http://www.omegahat.org/RCurl/">library</a>. I&#8217;m a big fan of R&#8217;s external libraries, but it doesn&#8217;t fit the purpose of the code. This code usually sits at the top of just about every <tt style="font-size: 120%;">.R</tt> file I write:</p>
<pre>  ##  Start fresh!
  source("http://address.of/Decruft.R")</pre>
<p>Isn&#8217;t that pretty? Short, sweet, easy to remember. This is how I used to do business. Unfortunately, this is the most concise way that I could find for doing it with GitHub:</p>
<pre>  ### Fugly code
  if( !any("devtools" == installed.packages()[,"Package"] ) install.packages("devtools")
  library(devtools)
  source("https://github.com/crikey/thats/as/long/as/the/code/Im/sourcing.R")</pre>
<p>I checked the Google and such but nobody seemed to be asking precisely what I was: how can I read code stored on GitHub in plain text <em>using http, not https</em>?  We will not be discussing how long it took me to come up with a satisfactory solution. Let&#8217;s just say it took long enough that I really don&#8217;t want anyone else to have to go through it.</p>
<p>Here&#8217;s my solution:</p>
<ol>
<li>Have a Web server running PHP that allows you to create and use <tt style="font-size: 120%;">.htaccess</tt> files.</li>
<li>Choose a URL for the stem of where your code will appear to be.</li>
<li>Use <tt style="font-size: 120%;">.htaccess</tt> to point <tt style="font-size: 120%;">404 Not Found</tt> errors to a custom error page.</li>
<li>The PHP-based error page uses https to get the live file from GitHub and feeds it to the person requesting it.</li>
</ol>
<p>It could be worse. I decided that I would request pages from (nonexistent) subfolders of <tt style="font-size: 120%;">http://www.haptonstahl.org/R/</tt> in order to read code stored under <tt style="font-size: 120%;">https://raw.github.com/shaptonstahl/R/</tt>. So I put two little files in the document root of my site. The first is named <tt style="font-size: 120%;">.htaccess</tt> and contains this:</p>
<pre>  ErrorDocument 404 /404.php</pre>
<p>The other file is the <tt style="font-size: 120%;">404.php</tt> file mentioned in <tt style="font-size: 120%;">.htaccess</tt>. You can <a href="http://haptonstahl.org/files/404.php">download the PHP file here</a>. This is a copy of the actual one I am using. Now to get a clean R session I just type the following:</p>
<pre>  source("http://www.haptonstahl.org/R/Decruft/Decruft.R")</pre>
<p>Easy peasy. Perhaps the best part is that I&#8217;m done. I never have to update or modify this if I want to source other public code in that GitHub repository. For example, without changes I can source</p>
<pre>  http://www.haptonstahl.org/R/RoundBoundsNicely/RoundBoundsNicely.R</pre>
<p>to get</p>
<pre>  https://raw.github.com/shaptonstahl/R/master/RoundBoundsNicely/RoundBoundsNicely.R</pre>
<p>Lesson to take home:</p>
<ol>
<li>Putting code you reuse up on teh webz makes it easy for you to <em>use</em> it over and over instead of <em>writing</em> it over and over.</li>
<li>GitHub rocks, now even more since I can source my R code from the live GitHub versions.</li>
<li>Safety first, kids!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://haptonstahl.org/polimath/?feed=rss2&#038;p=297</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Is Algebra Necessary?  Yes and No.</title>
		<link>http://haptonstahl.org/polimath/?p=222</link>
		<comments>http://haptonstahl.org/polimath/?p=222#comments</comments>
		<pubDate>Wed, 01 Aug 2012 04:17:29 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cromwell's rule]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[reviews]]></category>

		<guid isPermaLink="false">http://haptonstahl.org/polimath/?p=222</guid>
		<description><![CDATA[Political scientist Andrew Hacker recently asked &#8220;Is Algebra Necessary?&#8221; and the response has, unfortunately, been predictable. Those in society&#8217;s minority who did well in math courses are &#8220;shocked&#8221; at the suggestion that we change the typical math curriculum.  The teaching may be &#8220;dismal&#8221; but algebra is a &#8220;foundation stone&#8221; in developing critical thinking skills.  &#8220;It [...]]]></description>
			<content:encoded><![CDATA[<p>Political scientist Andrew Hacker recently asked &#8220;<a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?smid=tw-share" target="_blank">Is Algebra Necessary?</a>&#8221; and the response has, unfortunately, been predictable.</p>
<p>Those in society&#8217;s minority who did well in math courses are &#8220;<a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?comments#permid=413" target="_blank">shocked</a>&#8221; at the suggestion that we change the typical math curriculum.  The teaching may be &#8220;dismal&#8221; but algebra is a &#8220;foundation stone&#8221; in developing critical thinking skills.  &#8220;It teaches one how to think.&#8221;  It&#8217;s a little amusing but mostly disheartening to see folks who claim to support more challenging math standards fall back on <a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?comments#permid=380" target="_blank">strawman</a> <a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?comments#permid=396" target="_blank">arguments</a>, <a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?comments#permid=391" target="_blank">condescension</a>, <a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?comments#permid=388" target="_blank">sarcasm</a> and, my favorite, <a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?comments#permid=409" target="_blank">math errors</a> in their arguments.</p>
<p>Those in society&#8217;s majority who did poorly in math tended to <a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?comments#permid=303" target="_blank">respond</a> with <a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?comments#permid=228" target="_blank">relief</a> at the suggestion of dropping algebra, although there are a few PMSD (post-mathematics stress disorder) victims whose career paths were altered by failing math and who <a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?comments#permid=326" target="_blank">still carry the associated baggage and resentment</a>.</p>
<p>Let&#8217;s set aside the hysterics (&#8220;We are breeding a nation of <a href="http://www.nytimes.com/2012/07/29/opinion/sunday/is-algebra-necessary.html?comments#permid=350" target="_blank">morons</a>&#8220;) and give both sides of this debate a fair shake, shall we?<span id="more-222"></span></p>
<p><strong>Arguments in Favor of Eliminating Algebra as Courses Required for All</strong></p>
<p>We definitely teach too much algebra and do so mindlessly, without considering whether it&#8217;s useful. As a teacher of math courses from arithmetic through calculus at a community college, I fought the losing fight to remove useless topics from the curriculum. For example, <a href="http://en.wikipedia.org/wiki/Cramer%27s_rule" target="_blank">Cramer&#8217;s rule</a> is a relic from the days before computers and is as practical as a slide rule, but trying to remove it from the required topic list elicited resistance and deep resentment from many of my fellow faculty.  Hacker&#8217;s suggestion that we reconsider the requirement for so much symbolic manipulation is sensible.</p>
<p>While teaching algebra I tried to limit my syllabi to (1) the topics that would be used in later courses, (2) topics that might be useful outside the classroom, and (3) some examples of true beauty.  I emphasized (1) but snuck in some of (2) and (3).  Still, I did teach some material that would <em>only</em> be useful in later math courses and never in <em>any</em> kind of applied setting.  We could easily cut more topics by curtailing the length of the required math sequence, at least for the math subjects taught.</p>
<p>Algebra is not the only way to teach disciplined thinking. One can teach precisely the same thinking skills while removing the abstraction that makes math seem useless and difficult to many students.  One idea (not mine): we could integrate math beyond middle school into the science curriculum and use applications as motivation.  Then there&#8217;s no need to learn how to apply math to story problems; the stories <em>are</em> the original problems.  This also prevents folks from <a href="http://en.wiktionary.org/wiki/if_all_you_have_is_a_hammer,_everything_looks_like_a_nail" target="_blank">running around with &#8220;hammers&#8221; looking for &#8220;nails&#8221;</a>.  Unfortunately I am not sure how to get there from here; teachers of other subjects would have to cover the needed material and that would require revamping the way teachers are taught.</p>
<p>We don&#8217;t need to learn algebra to develop our intuition about rates of change, interest rates, probability, statistics, and other topics that typically follow algebra.  There are ways (videos, interactive widgets, simulation using simple programming) to develop the intuition of calculus &#8212; often the only calculus needed in a job like medicine &#8212; without approaching it the rigorous, analytic, symbol-pushing way we typically do.  Even for those who eventually will need algebra, we can teach more advanced symbol manipulation skills later as needed.</p>
<p>Nobody (well, almost nobody) is saying that learning algebra has no value whatsoever.  However, as long as we have limited resources the pertinent question is, does algebra give us more benefit than spending that time elsewhere?  I suggest that <strong><a href="http://www.guardian.co.uk/education/2012/mar/31/why-kids-should-be-taught-code">programming</a>, <a href="http://www.ted.com/talks/lang/en/arthur_benjamin_s_formula_for_changing_math_education.html">statistics</a>, and <a href="http://management.fortune.cnn.com/2012/03/01/what-should-we-teach-our-kids-about-money/">finance</a></strong> are better uses of most students&#8217; time.  Programming is how the nearly countless computers in our lives work; a basic understanding of how they do their magic would be invaluable.  Statistics are essential for making sense out of the sea of information around us.  Finance is challenging and vital for artists and engineers alike as long as they want to buy a home or save for retirement.  If we remove the symbol-pushing exercises of algebra and replace that class time with simple programming, statistics, and finance, we&#8217;ll gain more than we&#8217;ll lose.</p>
<p><strong>Arguments in Favor of Keeping Algebra a Courses Required for All (with occasional rejoinders)<br />
</strong></p>
<p>Let&#8217;s be more specific about &#8220;algebra&#8221;.  A first course (&#8220;Algebra I&#8221;) often includes basic linear algebra (lines, graphing them, solving systems of linear equations, and matrices) plus evaluating polynomial functions, graphing quadratic functions, and solving single quadratic equations.  A second course (&#8220;Algebra II&#8221;) builds on this with lots of factoring polynomials, exponential and logarithmic functions, quadratic inequalities and other algebraic prep for calculus.</p>
<p>An Algebra I course like this is incredibly useful.  The concepts generalize to every science, from physics to political science.  With this foundation a student can learn the intuition behind calculus, statistics, and other tools that are <em>useful to have seen</em> but usually <em>not useful to retain.</em> <strong>I strongly recommend keeping Algebra I part of the core curriculum.</strong>  With moderate resources, this material can be covered in middle school for most if not all students.</p>
<p>Algebra II is where common responses to &#8220;Why am I learning this?&#8221; jump the tracks.</p>
<ul>
<li>&#8220;It builds your brain like exercising build muscle.&#8221;  I used this one regularly; it&#8217;s true, but only a half truth.  Programming, statistics and finance can do the same with the added bonus of being unquestionably practical.</li>
<li>&#8220;It helps students understand where more advanced math comes from.&#8221;  Playing with simulations is even better for most students in understanding why more advanced math techniques work the way they do.</li>
<li>&#8220;It teaches structured thinking.&#8221;  Programming is even better for that <em>and</em> <em></em>it is easier for students to see what why structure matters.  Mess up the structure and programs do odd things.</li>
</ul>
<p>Algebra II is full of topics that you don&#8217;t need in order to <em>understand the intuition</em> of common useful advanced ideas; you need Algebra II when you will try to <em>master</em> more advanced ideas.  <strong>I strongly recommend making Algebra II something that fewer students take.</strong></p>
<p><strong>Known Unknown</strong></p>
<p>My recommendation to remove Algebra II from the universal curriculum is contingent on at least one assumption:<em> Students who need more algebra will have sufficient time to learn it later.</em>  To see if this is true we would need to take average to bright students interested in technical fields and wait until college to teach them algebra.  This is not common. Interestingly, I have some experience that is close to this:  teaching math to political science graduate students.  While there are a <a href="http://www.hss.caltech.edu/ss">few</a> <a href="http://politicalscience.stanford.edu/">notable</a> <a href="http://www.rochester.edu/college/psc/">exceptions</a>, most political science undergraduates take <a href="/dev/null">very little</a> math.  Graduate students work very hard to learn the math necessary for advanced statistics and game theory, and generally they succeed.  This evidence is circumstantial but shifts the burden of proof onto those who might argue college is too late to learn algebra.</p>
<p><strong>Bottom Line: Question Mathematical Authority</strong></p>
<p>Hacker thoughtfully asked a good question: are we teaching what we should be teaching?  One cannot decry the educational establishment as ossified but resist any attempt to change for the better.  Hacker may be throwing out the baby.  My ideas might not be the best.  What are your ideas?  Let&#8217;s discuss it.</p>
<hr />
<p>* This blogger is an award-winning teacher of math, statistics, and programming at the high-school through graduate levels, holds graduate degrees in math and political science, and works in the defense industry as a data scientist.</p>
]]></content:encoded>
			<wfw:commentRss>http://haptonstahl.org/polimath/?feed=rss2&#038;p=222</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Review of &#8220;Building Data Science Teams&#8221; by DJ Patil</title>
		<link>http://haptonstahl.org/polimath/?p=220</link>
		<comments>http://haptonstahl.org/polimath/?p=220#comments</comments>
		<pubDate>Wed, 11 Apr 2012 01:34:21 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[DDG]]></category>
		<category><![CDATA[reviews]]></category>

		<guid isPermaLink="false">http://haptonstahl.org/polimath/?p=220</guid>
		<description><![CDATA[Having recently committed myself to earning my living as a Data Scientist, I&#8217;ve been reading anything I can find to guide my self-education. So I just spent the last hour reading and mulling over DJ Patil&#8216;s article/report Building Data Science Teams (BDST henceforth) which is available free from various outlets; I read the Kindle version.  [...]]]></description>
			<content:encoded><![CDATA[<p>Having recently committed myself to earning my living as a Data Scientist, I&#8217;ve been reading anything I can find to guide my self-education. So I just spent the last hour reading and mulling over <a href="http://twitter.com/dpatil">DJ Patil</a>&#8216;s article/report <a href="http://radar.oreilly.com/2011/09/building-data-science-teams.html">Building Data Science Teams</a> (BDST henceforth) which is available free from various outlets; I read the Kindle version.  (Disclaimer: DJ is a friend and occasional drinking buddy.)<span id="more-220"></span></p>
<p>Patil takes up the necessary and generally thankless task of writing a &#8220;big-think piece&#8221;.  It&#8217;s necessary because, with all the recent talk about Data Scientists, it would be easy for some to see &#8220;Data Science&#8221; as a recent entry in the long history of business fads.  Business fads tend to indulge in one of two sins: oversimplifying, or being so general that anything counts.  Both are sins to which Data Science advocates are susceptible.  An advocate of Data Science might oversimplify by giving a recipe or IT shopping list for doing Data Science; Patil avoids this triteness by emphasizing the wide diversity of the good teams he&#8217;s built or worked with.  Alternatively, one could sin by making anything count as Data Science.  Commenter &#8220;Verbose&#8221; anticipates this problem with his erudite critique of BDST: &#8220;<a href="http://radar.oreilly.com/2011/09/building-data-science-teams.html#comment-10852153">Same technical data analysis, new bullshit name</a>&#8220;.  Patil avoids this and provides a blueprint for others to do the same.</p>
<p>When discussing the etymology of &#8220;Data Scientist&#8221; Patil writes that &#8220;Research Scientist&#8221; would not be as appropriate a term for this profession:</p>
<blockquote><p>&#8220;Research scientist&#8221; was a reasonable job title used by companies like Sun, HP, Xerox, Yahoo, and IBM. However, we felt that most research scientists worked on projects that were futuristic and abstract, and the work was done in labs that were isolated from the product development teams. It might take years for lab research to affect key products, if it ever did. Instead, <strong>the focus of our teams was to work on data applications that would have an immediate and massive impact on the business</strong>. (emphasis added) The term that seemed to fit best was data scientist: those who use both data and science to create something new.</p></blockquote>
<p>Elsewhere Patil provides a solid definition of Data Scientist, but this paragraph encapsulates the concept just as well:  A Data Scientist uses data and science to have an immediate and massive impact on the business.  Just moving data around?  Not data science.  Have an impact in the vague future?  Not data science.  Improving entirely on the margins?  Not (all of) data science.  Holding the Data Scientist&#8217;s feet to the fire &#8212; asking &#8220;How does this immediately and massively impact our business?&#8221; &#8212; provides accountability and hence focus for the team.</p>
<p>Writing a &#8220;big-think piece&#8221; is also a thankless task: the breadth of the topic means that it&#8217;s easy for critics to find something to criticize as being presented too simply.  This ignores the contribution of providing a view of the new discipline from space, showing all of it as a piece, and showing (if briefly) how the disparate parts fit together.  I was glad for a look at a map for this road I&#8217;m traveling.</p>
<p>Overall BDST is short, shorter than I would have liked.  (I&#8217;m glad that Patil is sharing more of his experience through other venues.)  The advice Patil gives about Data Science, forging teams, and hiring Data Scientists seems both specific and useful; I&#8217;ll post again as I have occasion to use his advice.</p>
<p><strong>Recommendation</strong>: &#8220;<a href="http://radar.oreilly.com/2011/09/building-data-science-teams.html">Building Data Science Teams</a>&#8221; is short, but with enough good ideas as to be required for anyone in business intelligence, internal data analysis, or applied computational modeling and prediction.</p>
]]></content:encoded>
			<wfw:commentRss>http://haptonstahl.org/polimath/?feed=rss2&#038;p=220</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Planned Serendipity</title>
		<link>http://haptonstahl.org/polimath/?p=192</link>
		<comments>http://haptonstahl.org/polimath/?p=192#comments</comments>
		<pubDate>Mon, 05 Sep 2011 20:22:21 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[planned serendipity]]></category>

		<guid isPermaLink="false">http://haptonstahl.org/polimath/?p=192</guid>
		<description><![CDATA[Yesterday I got back from a great APSA in Seattle.  My undergraduate students were despondent at me having to cancel class Thursday so I could attend.  A few were curious about what happens at a scientific conference and asked about the structure.  I explained that there would be several thousand political scientists at this conference and that [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I got back from a great <a href="http://www.apsanet.org/content_65547.cfm">APSA</a> in Seattle.  My undergraduate students were despondent at me having to cancel class Thursday so I could attend.  A few were curious about what happens at a scientific conference and asked about the structure.  I explained that there would be several thousand political scientists at this conference and that most of the planned interaction would take place in panels.<span id="more-192"></span></p>
<p>In theory, a panel takes place in a room where 3-300 (median = 10) people watch three to five papers get presented by their authors.  Then a discussant, who reads the papers in advance, comments on the papers both to draw connections among them and to stimulate conversation among the attendees.  Then the audience asks questions and offers feedback to the authors.  The whole panel takes about 1 3/4 hours.</p>
<p>Although panels comprise most of the scheduled events at a conference, they are not the best reason for scientists to attend conferences and they are far from the most rewarding part of a conference.  Panels are often poorly attended.  The papers in a panel often have very little to do with each other.  The discussant may not receive the papers until days or moments before the panel, if at all, and even so the comments may focus more on typography than on big ideas.</p>
<p>Panels are a party game. They are an excuse to get smart people, who are interested in similar things, together in a room talking. Put a bunch of clever folks together and strange, wonderful, unpredictable things happen.  A conference is <strong>mass planned serendipity</strong>.</p>
<p>The largest conference benefits to my research have happened when I have not been at panels: between panels, skipping panels, into the evening and the night. It&#8217;s the networking, but not &#8220;networking&#8221; in the Machiavelian, sales-person sense.  It&#8217;s the comment on my paper that someone was a little too shy to offer in front of everyone, the comment that helps me recast the paper so it will place higher.  It&#8217;s running into the same person at three panels and finally discovering we would love to work together on some research.  It&#8217;s the dinner outing that leads to an invited talk or an interview.  It&#8217;s the shared coffee followed up with a Facebook friending that leads to a new real friendship.</p>
<p>All of this is made possible by panels, but it&#8217;s not the direct result of the panels.  So when someone tells me they didn&#8217;t go to a lot of panels, I understand that they probably got a lot of professional good out of the conference.</p>
<p>Also, I had a lot of fun at the Space Needle.</p>
]]></content:encoded>
			<wfw:commentRss>http://haptonstahl.org/polimath/?feed=rss2&#038;p=192</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regain your confidence (intervals)</title>
		<link>http://haptonstahl.org/polimath/?p=76</link>
		<comments>http://haptonstahl.org/polimath/?p=76#comments</comments>
		<pubDate>Sun, 12 Jun 2011 04:40:59 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Bayes]]></category>
		<category><![CDATA[wrong question]]></category>

		<guid isPermaLink="false">http://haptonstahl.org/polimath/?p=76</guid>
		<description><![CDATA[Next time you see someone &#8220;misinterpret&#8221; a confidence interval, wait a second.  They&#8217;re actually probably okay. It is regular sport for Bayesians to criticize frequentist confidence intervals as unintuitive, usually misinterpreted, and based on what are usually unjustifiable assumptions.  There are good reasons for this:  they are unintuitive, usually misinterpreted, and based on what are [...]]]></description>
			<content:encoded><![CDATA[<p>Next time you see someone &#8220;misinterpret&#8221; a confidence interval, wait a second.  They&#8217;re actually probably okay.<span id="more-76"></span></p>
<p>It is regular <a title="See page 3" href="http://www.stat.ufl.edu/~casella/Talks/BayesRefresher.pdf">sport</a> for Bayesians to criticize frequentist confidence intervals as <a href="http://web1.graphpad.com/help/Prism5/prism5help.html?stat_more_about_confidence_interval.htm">unintuitive</a>, <a href="http://www.ippp.dur.ac.uk/old/Workshops/02/statistics/proceedings/karlen.pdf">usually misinterpreted</a>, and based on what are usually unjustifiable assumptions.  There are good reasons for this:  they are unintuitive, usually misinterpreted, and based on what are usually unjustifiable assumptions.</p>
<p>Confidence intervals take into account the uncertainty we have in trying to describe a population given that we only observe a random sample.  Maybe our sample is representative of the population, maybe not.  The smaller the sample, the more likely it is that, through random variation, we got a sample that suggests a relationship (causes us to reject the null hypothesis) when really there is no relationship (the null is true.)  If we take 100 random samples of the same size and for each construct a (different) confidence interval, how many will contain the true value of the parameter?  We expect that 95 of those constructed intervals will contain the true value.</p>
<p>We don&#8217;t have 100 samples of the same size, so this is not the question we want to answer.  Here&#8217;s what we want to know:  What is the probability that the true value is in the interval?</p>
<p>There are a variety of very good, sound reasons why the frequentist approach does not make sense. I understand the difference between believing that the true parameter is &#8220;fixed and known to God&#8221; (per the frequentist assumption) and a random variable (the Bayesian assumption.)  I agree completely that a confidence interval answers the wrong question.</p>
<p>It doesn&#8217;t matter.</p>
<p>For large samples and given the regularity conditions of maximum likelihood estimators, the marginal posterior distribution for a single parameter is <a href="http://books.google.com/books?id=eJO1abQ4l3wC&amp;lpg=PP1&amp;dq=james%20press%20subjective%20objective&amp;pg=PA173#v=onepage&amp;q=limiting%20large-sample%20normal%20distribution&amp;f=false">approximately norma</a>l with a mean equal to the MLE and standard deviation equal to the standard error.  Under these conditions, maximum likelihood and Bayesian estimators give you the same inferences.</p>
<p><strong>Bayesian researcher perspective:</strong> Suppose I want a credible interval for a parameter where I have a lot of data and the model is well-behaved but I don&#8217;t have convenient code for drawing posteriors.  I could estimate the MLE and use the resulting confidence interval as an approximate credible interval. My friend and colleague Jeff Gill calls this the &#8220;lazy Bayesian&#8221; approach.  Lazy, efficient, tomato, tomahto.</p>
<p><strong>Bayesian consumer perspective:</strong> Suppose you are reading an article where there is plenty of data and a well-behaved model, but the author provides frequentist confidence intervals.  You can treat them as approximate credible intervals.  Easy peasy.</p>
<p><strong>Pragmatist perspective:</strong> As long as the conditions are met, you can go on &#8220;misinterpreting&#8221; confidence intervals.</p>
<p>This &#8220;lazy Bayesian&#8221; approach is not limited to making simple inferences about single parameters.  <a title="Must have access to JSTOR" href="http://www.jstor.org/stable/2669316">King, Tomz, and Wittenberg</a> explain how to generate draws from the approximate posterior (as opposed to approximate draws from the actual posterior via MCMC) and make any inference a Bayesian can using the output from maximum likelihood estimation.</p>
<p>As a Bayesian, I advocate strongly for increasing the use of Bayesian methods.  However, we should be careful to avoid overselling the advantages.</p>
]]></content:encoded>
			<wfw:commentRss>http://haptonstahl.org/polimath/?feed=rss2&#038;p=76</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bayes fixes small n, doesn&#8217;t it?</title>
		<link>http://haptonstahl.org/polimath/?p=135</link>
		<comments>http://haptonstahl.org/polimath/?p=135#comments</comments>
		<pubDate>Thu, 03 Mar 2011 17:09:29 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://haptonstahl.org/polimath/?p=135</guid>
		<description><![CDATA[What is a methods-careful practitioner to do when the number of observations ($latex n$) is small?  I don&#8217;t know how many times I&#8217;ve been told by a well-meaning Bayesian some variation of Bayesian estimation addresses the &#8220;small $latex n$ problem&#8221; This is right and wrong. Maximum likelihood estimators (MLEs) leverage large $latex n$ in two [...]]]></description>
			<content:encoded><![CDATA[<p>What is a methods-careful practitioner to do when the number of observations ($latex n$) is small?  I don&#8217;t know how many times I&#8217;ve been told by a well-meaning Bayesian some variation of</p>
<blockquote><p>Bayesian estimation addresses the &#8220;small $latex n$ problem&#8221;</p></blockquote>
<p>This is right and wrong.<span id="more-135"></span></p>
<p>Maximum likelihood estimators (MLEs) leverage large $latex n$ in two ways.</p>
<ol>
<li>Making inferences about parameters.</li>
<li>Checking model fit.</li>
</ol>
<p>The goal of #1 is to answer questions like &#8220;Is $latex \beta&gt;0$?&#8221; or &#8220;What is the shortest interval that has a 95% change of containing $latex \beta$?&#8221;  MLEs let us take a stab at answering* this. A large number of observations means we can apply the Central Limit Theorem, which means we can use the standard errors to test simple hypotheses and build confidence intervals.  The goal of #2 is to justify our choice of model after the fact.  Presumably we had a good, substantively-informed theory to justify our choice of model, but it&#8217;s nice to be able to say afterward &#8220;See? The models fits well, so we weren&#8217;t crazy to choose this model.&#8221;</p>
<p>How many is a &#8220;small&#8221; number of observations?  It&#8217;s difficult to say.  <a href="http://www.amazon.com/dp/0803973748/">Long (1997)</a> gives some guidance about this, suggesting that 100 is a minimal number for an MLE, and that one needs at least 10 observations per parameter in the model.  However, we never really know if this is enough to be able to trust our inferences and fit.</p>
<p>What happens if we have too few observations?  Both #1 and #2 become unreliable.  We have too little data to assume that the Central Limit Theorem has &#8220;kicked in,&#8221; so our point estimates have more uncertainty, which means our standard errors are too small**, and therefore any inferences are unreliable.  Our tests for model fit are similarly starved for information, so any post-hoc model justification will be difficult.</p>
<p>What <strong>does</strong> Bayes fix?  Bayes estimators are finite-data estimators:  more data gives more accurate estimates, but the <em>measures of uncertainty of those estimates are reliable regardless of the amount of data</em>.  This means that inferences are reliable regardless of the size of the data set.  Want to know if $latex \beta&gt;0$ but our $\latex n$ is small?  No problem for a Bayesian.</p>
<p>What about model fit?  Bayesians have the same tools as frequentists for checking model fit <em>and</em> they also have the numerical and graphical analysis of <a href="http://www.wjh.harvard.edu/soc/faculty/western/pdfs/smr.pdf">posterior predictive distributions</a>.  As with inferences about parameters, more data is more information and thus is preferable.  However, any tests of model fit are still reliable.  As a purely practical matter, if we have a very small data set we probably will not be able to conclude anything about model fit from the data.  This puts the burden back on the substantive/theoretical argument for the model form.  If we understand the data-generating process very well, great; if not, then this part of our argument will need extra scrutiny.</p>
<p><strong>Bottom line:</strong> Bayesian estimators don&#8217;t create more information.  However, they do let us correctly identify how sure we are about the inferences we draw.  That&#8217;s a clear improvement.  Other Bayesians aren&#8217;t helping by overselling it.</p>
<p>===</p>
<p>* <a href="http://en.wikiquote.org/wiki/History_of_the_World:_Part_I#The_French_Revolution">Don&#8217;t get saucy with me</a> about how frequentist confidence intervals (CIs) either contain or don&#8217;t contain $latex \beta$, implying that it&#8217;s meaningless to talk about the probability of $latex \beta$ being in the interval. CIs are better than commonly described &#8212; details in my next post.</p>
<p>** In theory our standard errors could be too small, too large, or correct.  We can appropriately account for this additional uncertainty by increasing the size of our standard errors (think &#8220;put a confidence interval around our confidence interval&#8221;) except we can&#8217;t know how much to increase them.  See &#8220;reasoning, circular&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://haptonstahl.org/polimath/?feed=rss2&#038;p=135</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Truth and Choices: Computational v. Analytical formal models</title>
		<link>http://haptonstahl.org/polimath/?p=74</link>
		<comments>http://haptonstahl.org/polimath/?p=74#comments</comments>
		<pubDate>Fri, 03 Dec 2010 17:20:19 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computational modeling]]></category>
		<category><![CDATA[theory]]></category>

		<guid isPermaLink="false">http://haptonstahl.org/polimath/?p=74</guid>
		<description><![CDATA[How do we show a statement about politics is true? Analytic formal modelers suggest one way: The way to be sure that a statement about politics is true is to make a formal argument: explicitly state the assumptions and use rigorous logic to create a 100% valid argument from assumptions to conclusions.  Euclidian geometry was [...]]]></description>
			<content:encoded><![CDATA[<p><strong>How do we show a statement about politics is true?</strong> Analytic formal modelers suggest one way:</p>
<p style="text-align: center;"><span id="more-74"></span><a href="http://xkcd.com/263/"><img class="alignnone" src="http://imgs.xkcd.com/comics/certainty.png" alt="" width="740" height="312" /></a></p>
<p><em>The </em>way to be <em>sure</em> that a statement about politics is true is to make a formal argument: explicitly state the assumptions and use rigorous logic to create a 100% valid argument from assumptions to conclusions.  Euclidian geometry was a popular touchstone of Truth<sup>TM</sup> for two thousand years&#8230;until Gauss proved that <a href="http://mathworld.wolfram.com/ParallelPostulate.html">one of Euclid&#8217;s assumptions was arbitrary</a>.</p>
<p>Oddly enough, most of the mathematicians I know do not assert that math reveals Truth<sup>TM</sup>.  For a set of statements to be true, they must not disagree.  Gödel&#8217;s <a href="http://www.miskatonic.org/godel.html">showed</a> us that we <em>cannot</em> be sure that math does not contradict itself.  Accepting this means abandoning the claim that 100% truth can be generated analytically or using any logical system. For many mathematicians (not including probabilists or statisticians) once something is uncertain, all bets are off.</p>
<p>Analytic formal modelers know this, but assert that deduction (assumptions + logic =&gt; conclusion)  is better than statistical induction (theory + data =&gt; conclusion).  Let&#8217;s take a look at this analytically, shall we?  Consider this statement that is true simply as an application of the definition of <a href="http://en.wikipedia.org/wiki/Conditional_probability">conditional probability</a>:</p>
<p style="text-align: center;">$latex \text{Pr}(\text{conclusion is true})=\underbrace{\text{Pr}(\text{conclusion true}|\text{assumptions})}_{\text{chain of reasoning}}\cdot\text{Pr}(\text{assumptions are true})$</p>
<p style="text-align: left;">Analytic modelers use a deductive chain of reasoning, which has a (conditional) probability of being true that approaches 1, so the probability of the conclusion being true is essentially the same as the the probability that the assumptions are true.  One critique of this approach is that <a href="http://en.wikiquote.org/wiki/George_Box">all assumptions, if pushed far enough, are false</a>.  However, that attitude underestimates the usefulness of analytic results.  If the assumptions are <em>close</em> to being true and the chain of reasoning is &#8220;well-behaved&#8221; (robust to small errors in inputs) then the conclusions will be close to true.</p>
<p style="text-align: left;">Computational (including agent-based) modelers start with clear, explicit assumptions but use an inductive chain of reasoning which is therefore less likely to be conditionally true.  However, the original assumptions are often much more realistic:</p>
<table style="margin-left: auto; margin-right: auto;" border="1">
<tbody>
<tr>
<td><strong>Common analytic assumptions</strong></td>
<td><strong>Common computational assumptions</strong></td>
</tr>
<tr>
<td>1, 2, or infinitely many actors</td>
<td style="text-align: left;">5, 50, 200 actors</td>
</tr>
<tr>
<td>static discounting</td>
<td>dynamic discounting</td>
</tr>
<tr>
<td>&#8220;Common knowledge&#8221; about the state of the world, ie a kind of omniscience</td>
<td>Local/limited knowledge</td>
</tr>
</tbody>
</table>
<p style="text-align: left;">
<p style="text-align: left;"><strong>If the assumptions made in a computational model are more likely to be true (or nearly true) and the chain of reasoning is strong, then the conclusions are more likely to be true than those &#8220;proven&#8221; using an analytic formal model.</strong></p>
<p style="text-align: left;">Of course, that&#8217;s a tall order to fill.  Your mileage may vary.  Whether analytic or computational approaches is more appropriate depends on the specific assumptions being made and the strength of the induction used in the computational approach.  This is a trade off that should be made mindfully, not dogmatically.</p>
]]></content:encoded>
			<wfw:commentRss>http://haptonstahl.org/polimath/?feed=rss2&#038;p=74</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We all carry the scars</title>
		<link>http://haptonstahl.org/polimath/?p=101</link>
		<comments>http://haptonstahl.org/polimath/?p=101#comments</comments>
		<pubDate>Thu, 11 Nov 2010 18:09:15 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[not politics]]></category>

		<guid isPermaLink="false">http://haptonstahl.org/polimath/?p=101</guid>
		<description><![CDATA[I served in the US Navy for a few months in 1986, five years in the early 90s, and another year and a half in the reserves. I was never asked to shoot someone. I never pulled a trigger when the weapon was aimed at a person. I served during, but not &#8220;in&#8221; the first [...]]]></description>
			<content:encoded><![CDATA[<p>I served in the US Navy for a few months in 1986, five years in the early 90s, and another year and a half in the reserves.  I was never asked to shoot someone.  I never pulled a trigger when the weapon was aimed at a person.  I served during, but not &#8220;in&#8221; the first Gulf War.  I served during &#8220;peacetime&#8221;, or at least that&#8217;s how I thought about it.  However, over the last few months I have been thinking more about my time in uniform, realizing the lasting and deep effects that experience had on me.<span id="more-101"></span></p>
<p>Three nights ago I had a dream in which I was being assaulted.  One of the two offenders in my dream was someone from my division on the ship, someone I have not seen in over fifteen years.  I woke up wondering what that was all about, but I gave it little thought as I went on through my day, my happy, productive day.  Everyone has weird bad dreams sometimes.  Civilians just have ones with less gray paint.</p>
<p>When I was on the ship I lived in, essentially, a locker room. My 38 roommates and I slept in 13 triple-stacked bunks in a berthing space the size of my current living and family rooms.  Before the Navy I hated locker rooms.  I wasn&#8217;t frail, but I was a geek in high school and no athlete.  I hated the inevitable comparisons.  In the Navy I hated showering next to a 198-lb functionally retarded man who could bench press 500 lbs and who, because he had joined many years before and outranked me, treated me like a child.  I hated the regular joking about sailors being gay, complete with accompanying grabbing of each others&#8217; bodies.  Yesterday when changing at the gym I was completely comfortable in the locker room, thinking about the class I was going to teach a little later.</p>
<p>Here&#8217;s something weird:  I never heard about any crime on the ship more serious than a regular, playground-style fight.  I never heard about a sexual assault.  I never saw any sign of any actual homosexuals. (My gaydar wasn&#8217;t completely oblivious, as I had been around the &#8220;family&#8221; a lot in my previous college years.)  I never saw anyone shoot or get shot in the line of duty or otherwise.  I never really faced an enemy.  I never had to deal with a fellow sailor who was obviously a &#8220;bad guy&#8221;, someone who would, in the boring movie version of my life, be seen as any kind of villain.</p>
<p>There are a lot of people I know now who I like, but don&#8217;t trust.  There were some people I served with whom I really didn&#8217;t like, but I trust them, and would still, with my life.  And afterward it wouldn&#8217;t change how I feel about them.</p>
<p>Three guys I played poker with died in a plane crash.  When you deploy 10,000 sailors and soldiers on metal ships with guns, bombs, torpedoes, fuel, and high voltage equipment on indifferent seas for an indefinite length of time, some don&#8217;t come back.  It doesn&#8217;t matter whether it&#8217;s &#8220;peacetime&#8221; or not.  They were on a E-2C Hawkeye reconnaissance plane coming in for a landing on the carrier when they got waived off.  They started to gain altitude for another pass, but stalled out right after clearing the flight deck.  A carrier has four screws.  We never found a piece of the plane larger than a surfboard.  I don&#8217;t remember their names.</p>
<p>My ship was in the Adriatic Sea enforcing the no-fly zone over the former Republic of Yugoslavia.  We left to go home, relieved by another AEGIS cruiser who was, like us, fully provisioned and armed with Tomahawk missiles.  We didn&#8217;t even make it home before we found out that the relieving ship got to fire some of her missiles.  Lucky bastards!  We had trained and trained &#8212; we were ready! &#8212; but we never got to fire a shot.  Of course, nobody wants to kill people.  Even then I knew I was lucky not to have to live with the burden of having killed.</p>
<p>What I didn&#8217;t realize is that, in training, in making myself mentally and emotionally ready to pull the trigger, I had already lost something.  When we hurt others, we are diminished. Soldiers who are willing to do this, are willing to diminish themselves, do diminish themselves.  The sacrifice is admirable, but it is a sacrifice just to prepare to kill.  It does change you to prepare for war.  Some changes can be more obvious, some are less so.</p>
<p>I am fine.  I am healthy, physically and mentally.  But I did not serve in combat.  Many, many men and women are serving in combat now or have served in combat before. My experience was approximately 1.4 million times easier than their experience.  My experience was also at least a thousand times easier than that of my wife and every other military spouse. Preparing for war takes your mind off the dangers involved; if it didn&#8217;t few people could follow through. Staying at home waiting for a loved one to return provides no such distraction.  Thank you, my precious wife Dawn, for your sacrifice.</p>
<p>These days, I am living the dream, living the good life, the sweet retreat.  I think of my father who helped identify targets for bombers during Vietnam, who now is a retired minister.  I look at my children, and I hope they will serve others.  If called, and am confident they will respond and serve with honor.  However, I dearly hope they will never have to carry a weapon.  I wish that nobody did, but some people must.</p>
<blockquote><p>The price of freedom is eternal vigilance.</p>
<p>&#8211; Thomas Jefferson</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://haptonstahl.org/polimath/?feed=rss2&#038;p=101</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change of Intuition about the Definition of Insanity</title>
		<link>http://haptonstahl.org/polimath/?p=82</link>
		<comments>http://haptonstahl.org/polimath/?p=82#comments</comments>
		<pubDate>Thu, 21 Oct 2010 17:19:06 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://haptonstahl.org/polimath/?p=82</guid>
		<description><![CDATA[My dad and I went to the recent Brown/Whitman California gubernatorial debate here at UC Davis. It was fun seeing &#8220;democracy&#8221; live and up close. One of the candidates twice repeated an old saw: One definition of insanity is doing the same thing over and over and expecting different results. The quote was misattributed to [...]]]></description>
			<content:encoded><![CDATA[<p>My dad and I went to the recent Brown/Whitman California gubernatorial debate here at UC Davis.  It was fun seeing &#8220;democracy&#8221; live and up close.  One of the candidates twice repeated an old saw:</p>
<blockquote><p><strong>One definition of insanity is doing the same thing over and over and expecting different results.</strong></p></blockquote>
<p><span id="more-82"></span>The quote was <a href="http://en.wikiquote.org/wiki/Rita_Mae_Brown">misattributed</a> to Einstein, and it&#8217;s often misattributed to Ben Franklin, Mark Twain, and others. <a href="http://rodgerv.wordpress.com/2007/02/10/insanity-doing-the-same-thing-over-and-over-again-and-expecting-different-results/">Various</a> <a href="http://blogs.oreilly.com/digitalmedia/2006/10/the-definition-of-insanity-is.html">folks</a> take issue with this pop-culture &#8220;definition&#8221; in different ways.  As a recovering mathematician, I&#8217;ve repeated it myself, and it used to make some sense to me.</p>
<p>However, as I&#8217;ve tried to move from brittle assumptions (knife-edge mixed equilibria, trembling hand-perfection) in my models to more robust assumptions (quantal response equilibria, non-parametric tests) this truism has rung less true.</p>
<p>Suppose you hit a subject with a treatment.</p>
<p><strong>A physical scientist</strong> tends to have objects of study that have simple internal states.  The aggregate systems are complex, but the smallest observable parts of the system are very simple.  The simplicity of the set of states means that I have a good chance of being able to choose a sample from those states that is sufficiently random so that there is little or no correlation between states and my variables of interest.  No correlation means that we get unbiased estimates of the parameters for models connecting my variables of interest.  I might run a physical experiment, say, <em>n</em> times to assure that we have a good sample and to compensate for measurement uncertainty.  I don&#8217;t really expect running it another <em>n</em> times to show me anything new; that <em>would</em> be crazy.</p>
<p><strong>A social scientist</strong> has objects of study that are vastly more complex. A person has far more possible internal states than an atom, a mole of gas, or a cell.  More germane, we can&#8217;t easily be sure of sampling from those internal states randomly, so we constantly face the threat of internal states being correlated with our variables of interest, which leads to bias if not statistically corrected.</p>
<p><strong>Can we just set <em>n</em> higher?  No.</strong> If we had a better understanding of the internal states of a person, we might be better able to sample randomly from those states.  At least for now, however, we do not grok the data-generating processes within people as well as we do those in chemistry.  Samples would have to astronomically large to overcome the selection bias in our samples of the internal states of a person.</p>
<p>I&#8217;ve heard this &#8220;definition&#8221; many, many times.  Each time before I kept my mouth shut.  This time I had to speak out.  Keeping silent would have driven <em>me</em> crazy.</p>
]]></content:encoded>
			<wfw:commentRss>http://haptonstahl.org/polimath/?feed=rss2&#038;p=82</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dimensionality matters: three implications of ideology being multidimensional</title>
		<link>http://haptonstahl.org/polimath/?p=75</link>
		<comments>http://haptonstahl.org/polimath/?p=75#comments</comments>
		<pubDate>Wed, 25 Aug 2010 15:18:20 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dimensionality]]></category>

		<guid isPermaLink="false">http://haptonstahl.org/polimath/?p=75</guid>
		<description><![CDATA[Left or right? Liberal or conservative? Blue or red?  We know the terms bandied about in the punditverse, but it&#8217;s easy to forget that there is more than one way to divide the world into two political ideologies. If you categorize political ideology into two camps, you are implicitly using a one-dimensional model, a model [...]]]></description>
			<content:encoded><![CDATA[<p>Left or right? Liberal or conservative? Blue or red?  We know the terms bandied about in the punditverse, but it&#8217;s easy to forget that there is more than one way to divide the world into two political ideologies.</p>
<p><span id="more-75"></span>If you categorize political ideology into two camps, you are implicitly using a <strong>one-dimensional model</strong>, a model that puts everyone on a single line from left to right.</p>
<p><a href="http://www.politicalcompass.org/"><img class="aligncenter" src="http://www.politicalcompass.org/images/leftright.gif" alt="" width="400" height="21" /></a></p>
<p>If you think there are two basic issues &#8212; how much the government should influence the economy and how much the government should influence social issues &#8212; then you are using a two-dimensional model, a model that locates each person on a plane.</p>
<p><a href="http://www.politicalcompass.org/"><img class="aligncenter" src="http://www.politicalcompass.org/images/bothaxes.gif" alt="" width="400" height="400" /></a></p>
<p>So here&#8217;s a question:  <strong>How many dimensions are there in political ideology?</strong> This question is a lot like the question &#8220;<a href="http://dx.doi.org/10.1126/science.156.3775.636">How long is the coast of Britain?</a>&#8221; (<a href="http://www.math.yale.edu/mandelbrot/web_pdfs/howLongIsTheCoastOfBritain.pdf">alt</a>): the answer depends on how you&#8217;re going to use the answer.</p>
<p>If you want to explain variance in the US House and Senate, <a href="http://www.amazon.com/dp/019514242X/">one dimension is plenty in most cases, and two dimensions is sufficient the rest of the time</a>. If you are looking at an entire (two-year) Congress or a longer period, one dimension will do a good job most of the time</p>
<p>If you are trying to explain a single bill &#8212; or each of a set of single bills &#8212; the story is more complicated. On a given bill, some legislators vote for ideological reasons, some for procedural reasons, some because of interest groups or constituent pressure, some because of bribes, some because they are taking cues from other legislators, and some just make mistakes. <strong>When you are interested in distinguishing among legislators based on aggregate voting, few dimensions are needed. When you want to explain the path a bill takes, more dimensions may be required.</strong></p>
<p>This has implications in three kinds of research we conduct based on the analysis of roll call votes:</p>
<ol>
<li><strong>Theorizing about ideology</strong>:  When building theories about ideology, we cannot blindly assume that ideology is one-dimensional.  Arguably there are one-dimensional policy areas, legislators, and specific bills, and the one-dimensional case is worth considering, but it is not anywhere near universal.</li>
<li><strong>Ideology as an explained variable in empirical work</strong>:  How do parties, interest groups, constituent pressure, and other factors affect votes? When exploring factors that affect ideology &#8212; using statistical models where ideal points on the &#8220;left-hand side&#8221; &#8212; we should not ignore that there may be multiple dimensions to explain.</li>
<li><strong>Ideology as an explanatory variable</strong>: How does ideology affect interactions with the president, the courts, and the bureaucracy? Even scholars of institutions other than Congress should remember that when ideology is on the right-hand side of the statistical model we might want to include more than one dimension.</li>
</ol>
<p>To indulge in the <a href="http://en.wikipedia.org/wiki/Snowclone">snowclone</a>, <strong>dimensionality matters</strong> when considering ideology. Make a <a href="http://www.amazon.com/dp/0201523418/">mindful</a> choice when modeling it.</p>
]]></content:encoded>
			<wfw:commentRss>http://haptonstahl.org/polimath/?feed=rss2&#038;p=75</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
