<?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>TheSpicyChicken &#187; Uncategorized</title>
	<atom:link href="http://thespicychicken.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://thespicychicken.com</link>
	<description>n'th generation research</description>
	<lastBuildDate>Thu, 10 Jun 2010 22:14:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Earmarks and the house that approves them&#8230;</title>
		<link>http://thespicychicken.com/2009/08/23/earmarks-and-the-house-that-approves-them/</link>
		<comments>http://thespicychicken.com/2009/08/23/earmarks-and-the-house-that-approves-them/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 20:12:17 +0000</pubDate>
		<dc:creator>Spicy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thespicychicken.com/?p=143</guid>
		<description><![CDATA[Just found a new data set that I couldn&#8217;t help running some stats on.  OpenSecrets.org published this table which lists all of the members of the house, the number of earmarks they requested, and the total dollar amounts.
The columns of the data are:

Representative Name
State
Number of Earmarks
Total Cost
Solo Earmarks
Solo Cost

The solo columns are for earmarks where [...]]]></description>
			<content:encoded><![CDATA[<p>Just found a new data set that I couldn&#8217;t help running some stats on.  OpenSecrets.org published <a href="http://www.opensecrets.org/bigpicture/earmarks.php?cycle=2008">this table</a> which lists all of the members of the house, the number of earmarks they requested, and the total dollar amounts.</p>
<p>The columns of the data are:</p>
<ul>
<li>Representative Name</li>
<li>State</li>
<li>Number of Earmarks</li>
<li>Total Cost</li>
<li>Solo Earmarks</li>
<li>Solo Cost</li>
</ul>
<p>The solo columns are for earmarks where that representative was the only representative who requested the earmark.</p>
<p><strong>Republicans vs. Democrats</strong></p>
<p>The first obvious division is to split the data on party lines and see if their behavior is any different.</p>
<table border="0">
<tbody>
<tr>
<th>Column</th>
<th>Mean Democrats</th>
<th>Mean Republicans</th>
<th>P-value</th>
<th>Histogram</th>
</tr>
<tr>
<td>Total Earmarks</td>
<td>26.8</td>
<td>22.3</td>
<td><strong>3.26E-4</strong></td>
<td><a href="http://thespicychicken.com/wp-content/uploads/2009/08/TotalEarmarksHist.png"><img class="alignnone" src="http://thespicychicken.com/wp-content/uploads/2009/08/TotalEarmarksHist.png" alt="" width="100" height="100" /></a></td>
</tr>
<tr>
<td>Total Cost</td>
<td>$37,402,953</td>
<td>$30,683,681</td>
<td><strong>0.02873</strong></td>
<td><a href="http://thespicychicken.com/wp-content/uploads/2009/08/TotalEarmarksCostHist.png"><img style="border: 0px initial initial;" src="http://thespicychicken.com/wp-content/uploads/2009/08/TotalEarmarksCostHist.png" alt="" width="100" height="100" /></a></td>
</tr>
<tr>
<td>Solo Earmarks</td>
<td>10.3</td>
<td>9.2</td>
<td>0.0925</td>
<td><a href="http://thespicychicken.com/wp-content/uploads/2009/08/SoloEarmarksHist.png"><img style="border: 0px initial initial;" src="http://thespicychicken.com/wp-content/uploads/2009/08/SoloEarmarksHist.png" alt="" width="100" height="100" /></a></td>
</tr>
<tr>
<td>Solo Cost</td>
<td>$7,606,210</td>
<td>$7,746,574</td>
<td>0.7782</td>
<td><a href="http://thespicychicken.com/wp-content/uploads/2009/08/SoloEarmarksCostHist.png"><img style="border: 0px initial initial;" src="http://thespicychicken.com/wp-content/uploads/2009/08/SoloEarmarksCostHist.png" alt="" width="100" height="100" /></a></td>
</tr>
</tbody>
</table>
<p>Red: Republicans, Blue: Democrats.  Significant p-values are in bold.</p>
<p><strong>Table 1.</strong> The above table shows that the average number of earmarks that are approved is significantly higher for democrats than for republicans and also that democrats get significantly more money for their earmarks than republicans do.  Please note that when I say &#8220;significantly&#8221; I mean it in a statistical sense.  The p-values (or the probability that the difference between democrats and republicans is purely by chance) for the first two rows of the table are signifiant ( less than 0.05).  You can interpret this as having a less than 5% chance of this occurring completely by chance.  However, when looking at solo earmarks there is not a significant difference in the number of earmarks granted or their cost.</p>
<p><strong>For the Statisticians:</strong> To calculate the p-value I used the wilcoxon rank sum test as the distributions are not normally distributed.</p>
<p>However, I feel obligated to point out that because the house has a majority of democrats (237 to 163) it may be easier for democrats to get their earmarks passed, thus there are more for democrats.  For comparison, data from when the GOP has control of the house is required.</p>
]]></content:encoded>
			<wfw:commentRss>http://thespicychicken.com/2009/08/23/earmarks-and-the-house-that-approves-them/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ruby Resources</title>
		<link>http://thespicychicken.com/2009/04/17/ruby-resources/</link>
		<comments>http://thespicychicken.com/2009/04/17/ruby-resources/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 04:47:15 +0000</pubDate>
		<dc:creator>Spicy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thespicychicken.com/?p=128</guid>
		<description><![CDATA[In the Biomedical Informatics department here at Stanford we do a lot of coding and scripting.  Since our emphasis is on usefulness and implementation speed we rely heavily on high level programming languages.
The &#8220;old-school&#8221; informaticists have relied on Perl (yes, Perl) to develop these scripts.  But in the modern ages where languages like Python and [...]]]></description>
			<content:encoded><![CDATA[<p>In the Biomedical Informatics department here at Stanford we do a lot of coding and scripting.  Since our emphasis is on usefulness and implementation speed we rely heavily on high level programming languages.</p>
<p>The &#8220;old-school&#8221; informaticists have relied on Perl (yes, Perl) to develop these scripts.  But in the modern ages where languages like Python and Ruby are available to us, we don&#8217;t need to be knee deep in archaic idioms and clunky syntax.  I have been relying on Python for years now.  My implementation speed has increased substationally, I have less headaches, and life is generally better.</p>
<p>It turns out, however, that many of my colleagues and peers have a great appreciation for Ruby, which seems to be gaining a lot of traction lately.  As a self-named agile software developer I feel it would hypocratic if I didn&#8217;t pick up Ruby.  Afterall I need to have as many tools in my box as possible and learning Ruby will only make me a better informaticist.</p>
<p>My first impressions for Ruby have been very positive.  It is a truly object oriented language in ways that Python falls short.  Also I just love the dual implementation of most of the methods for when you want to modify the instance or you would rather return it.  For example, say we have a list:</p>
<div class="code">
list = [2,1,3]<br />
newlist = list.sort<br />
list.sort!
</div>
<p>The method call with the exclamation point at the end mutates the instance &#8216;list&#8217; while without it, it will return a new list.  This is one of my biggest griefs with Python.  It causes code that should only take one like, take three. (Not to mention just trying to remember which way the method works)</p>
<p>Python</p>
<div class="code">
a = [2,3,1,5]<br />
a.sort()<br />
a.reverse()
</div>
<p>Ruby</p>
<div class="code">
a = [2,3,1,5].sort.reverse
</div>
<p>You just can&#8217;t argue with that.  Also I found this great <a href="http://www.techotopia.com/index.php/Ruby_Essentials">resource for Ruby</a>.  If you are an experienced programmer (especially if you are familiar with high level languages) this page basically teaches you everything you need to know about Ruby to get started.</p>
]]></content:encoded>
			<wfw:commentRss>http://thespicychicken.com/2009/04/17/ruby-resources/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LaughTrack, my latest plot to take over the world</title>
		<link>http://thespicychicken.com/2009/04/05/laughtrack-my-latest-plot-to-take-over-the-world/</link>
		<comments>http://thespicychicken.com/2009/04/05/laughtrack-my-latest-plot-to-take-over-the-world/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 17:02:52 +0000</pubDate>
		<dc:creator>Spicy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thespicychicken.com/?p=123</guid>
		<description><![CDATA[As you all may or may not know, I am plotting to take over the world.  While up until now I have had about as much success as a cheese sandwich, I think this latest attempt is sure to succeed.
You see, what better way to take over the world than to make all peoples [...]]]></description>
			<content:encoded><![CDATA[<p>As you all may or may not know, I am plotting to take over the world.  While up until now I have had about as much success as a cheese sandwich, I think this latest attempt is sure to succeed.</p>
<p>You see, what better way to take over the world than to make all peoples feel self-important and over-confident.  My latest iPhone toy, LaughTrack, allows you to carry around a studio audience in your pocket.  All your jokes will be laughted at. All your snide comments, joyfully giggled at. All your great accomplishments will be cheered and applauded. This makes you and everyone else feel like a star and as such you want others (namely me) to do your bidding.  This will make all of you hand over enormous amounts of control over your lives to me.  With this new control I will spread LaughTrack even deeper into all societies and &#8230;. I think you see where this is going.</p>
<p>You may think that it is foolish for me to divulge this fiendish plot to the very people from which I will extract their freedom, but I know it&#8217;s okay, because I&#8217;m getting loads of applause and cheering from the audience.</p>
<p>Check out more on <a href="http://mophilia.com/LaughTrack">LaughTrack</a> or <a href="http://itunes.com/apps/LaughTrack">buy it from iTunes</a> ($0.99).</p>
]]></content:encoded>
			<wfw:commentRss>http://thespicychicken.com/2009/04/05/laughtrack-my-latest-plot-to-take-over-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
