<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for metachronistic</title>
	<atom:link href="http://swingleydev.com/blog/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://swingleydev.com/blog</link>
	<description>now and then</description>
	<lastBuildDate>Mon, 25 Apr 2011 11:52:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>Comment on A Visit from the Goon Squad, Jennifer Egan by mohit</title>
		<link>http://swingleydev.com/blog/?p=1846&#038;cpage=1#comment-114378</link>
		<dc:creator>mohit</dc:creator>
		<pubDate>Mon, 25 Apr 2011 11:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://swingleydev.com/blog/?p=1846#comment-114378</guid>
		<description>Must be an enjoyable read &lt;a href=&#039;http://www.bookchums.com/book-detail.php?b=ODkyNQ==&#039; rel=&quot;nofollow&quot;&gt;A Visit from the Goon Squad&lt;/a&gt; by &lt;a href=&#039;http://www.bookchums.com/authors-details.php?author_id=MTI2&#039; rel=&quot;nofollow&quot;&gt;Jennifer Egan&lt;/a&gt;. loved the way you wrote it. I find your review very genuine and orignal, this book is going in by &quot;to read&quot; list.</description>
		<content:encoded><![CDATA[<p>Must be an enjoyable read <a href='http://www.bookchums.com/book-detail.php?b=ODkyNQ==' rel="nofollow">A Visit from the Goon Squad</a> by <a href='http://www.bookchums.com/authors-details.php?author_id=MTI2' rel="nofollow">Jennifer Egan</a>. loved the way you wrote it. I find your review very genuine and orignal, this book is going in by &#8220;to read&#8221; list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dusenberg (Deuce) by Brent</title>
		<link>http://swingleydev.com/blog/?p=1800&#038;cpage=1#comment-113529</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Wed, 30 Mar 2011 15:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://swingleydev.com/blog/?p=1800#comment-113529</guid>
		<description>14 years? Remarkable! That&#039;s 14 years of you fulfilling his life...and in turn him enriching yours. Thoughts are with you.

Brent in Edmonton</description>
		<content:encoded><![CDATA[<p>14 years? Remarkable! That&#8217;s 14 years of you fulfilling his life&#8230;and in turn him enriching yours. Thoughts are with you.</p>
<p>Brent in Edmonton</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A holiday miracle (by Andrea) by metachronistic &#187; Dusenberg (Deuce)</title>
		<link>http://swingleydev.com/blog/?p=202&#038;cpage=1#comment-113343</link>
		<dc:creator>metachronistic &#187; Dusenberg (Deuce)</dc:creator>
		<pubDate>Fri, 25 Mar 2011 02:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://swingleydev.com/blog/?p=202#comment-113343</guid>
		<description>[...] house beyond dinnertime he’d pace back and forth until we let him out again. Then, suddenly, in December 2007, he decided that being in the house was OK. It took several more months before he learned to lay on [...]</description>
		<content:encoded><![CDATA[<p>[...] house beyond dinnertime he’d pace back and forth until we let him out again. Then, suddenly, in December 2007, he decided that being in the house was OK. It took several more months before he learned to lay on [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Gob’s Grief, Shadow Country by metachronistic &#187; Swamplandia!, Karen Russell</title>
		<link>http://swingleydev.com/blog/?p=362&#038;cpage=1#comment-112901</link>
		<dc:creator>metachronistic &#187; Swamplandia!, Karen Russell</dc:creator>
		<pubDate>Mon, 14 Mar 2011 01:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://swingleydev.com/blog/?p=362#comment-112901</guid>
		<description>[...] and non-native species introductions. This book, and Peter Matthiessen’s Shadow Country (which I read in 2009) really makes you appreciate what the place must have been like before humans got around to messing [...]</description>
		<content:encoded><![CDATA[<p>[...] and non-native species introductions. This book, and Peter Matthiessen’s Shadow Country (which I read in 2009) really makes you appreciate what the place must have been like before humans got around to messing [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Genesee Beer by howardski</title>
		<link>http://swingleydev.com/blog/?p=1661&#038;cpage=1#comment-112507</link>
		<dc:creator>howardski</dc:creator>
		<pubDate>Mon, 28 Feb 2011 08:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://swingleydev.com/blog/?p=1661#comment-112507</guid>
		<description>really they have that here adn it is american?    i live in chiangmai and only drink heiniken.    i&#039;ll try this just because i don&#039;t like what we drink all that much.    i bet is is expensive though.</description>
		<content:encoded><![CDATA[<p>really they have that here adn it is american?    i live in chiangmai and only drink heiniken.    i&#8217;ll try this just because i don&#8217;t like what we drink all that much.    i bet is is expensive though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Power consumption, TED by Jennifer</title>
		<link>http://swingleydev.com/blog/?p=1584&#038;cpage=1#comment-111497</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Mon, 24 Jan 2011 05:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://swingleydev.com/blog/?p=1584#comment-111497</guid>
		<description>Would be interesting to check out your setup. We&#039;ve been talking about doing something like this - I rather loathe the idea of how much we spend on electricity these days.  Plus would make a great family science fair project for the year although we&#039;d probably just go with Google Power for the data crunching.  Inspiring!</description>
		<content:encoded><![CDATA[<p>Would be interesting to check out your setup. We&#8217;ve been talking about doing something like this &#8211; I rather loathe the idea of how much we spend on electricity these days.  Plus would make a great family science fair project for the year although we&#8217;d probably just go with Google Power for the data crunching.  Inspiring!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Power consumption, TED by cswingle</title>
		<link>http://swingleydev.com/blog/?p=1584&#038;cpage=1#comment-111477</link>
		<dc:creator>cswingle</dc:creator>
		<pubDate>Sun, 23 Jan 2011 19:13:42 +0000</pubDate>
		<guid isPermaLink="false">http://swingleydev.com/blog/?p=1584#comment-111477</guid>
		<description>Another way to view the boxplots would be to set the whiskers to other percentile values (rather than the standard 1.5 IQD).  Here&#039;s some code to set the whiskers to the 1st and 99th percentile, meaning that the box shows 50% of the points and the whiskers show 98%.  The outliers represent the remaining 2% of the observations.  I&#039;ve jittered them a bit, so you can really see how many outliers there are.

Here&#039;s the plot:

&lt;img src=&quot;http://swingleydev.com/blog/wp-content/uploads/2011/01/ninety_nine_boxplot_w_jitter.png&quot; height=&quot;400&quot; width=&quot;800&quot; /&gt;

And the code:

&lt;pre style=&quot;background: #eee;&quot;&gt;
&lt;span style=&quot;color: #999900;&quot;&gt; 1 &lt;/span&gt;library&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;RPostgreSQL&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt; 2 &lt;/span&gt;library&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;ggplot2&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt; 3 &lt;/span&gt;library&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;plyr&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt; 4 &lt;/span&gt;drv &lt;span style=&quot;color: #000000;&quot;&gt;&lt;-&lt;/span&gt; dbDriver&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&quot;PostgreSQL&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt; 5 &lt;/span&gt;con &lt;span style=&quot;color: #000000;&quot;&gt;&lt;-&lt;/span&gt; dbConnect&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;drv&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; dbname=&lt;span style=&quot;color: #990000;&quot;&gt;&quot;power&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; host=&lt;span style=&quot;color: #990000;&quot;&gt;&quot;HOST&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; user=&lt;span style=&quot;color: #990000;&quot;&gt;&quot;USER&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; password=&lt;span style=&quot;color: #990000;&quot;&gt;&quot;PASSWD&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; port=&lt;span style=&quot;color: #990000;&quot;&gt;5432&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt; 6 &lt;/span&gt;all &lt;span style=&quot;color: #000000;&quot;&gt;&lt;-&lt;/span&gt; dbGetQuery&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;con&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt; 7 &lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;    SELECT extract(year from obs_dt) AS year, &lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt; 8 &lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;           trim(to_char(obs_dt, &#039;Month&#039;)) AS month, &lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt; 9 &lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;           CASE WHEN extract(month from obs_dt) between 5 and 9 THEN &#039;Summer&#039; ELSE &#039;Winter&#039; END AS season, &lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;10 &lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;           obs_dt, power &lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;11 &lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;    FROM observations&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;12 &lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;    WHERE obs_dt &gt; now() - interval &#039;1 year&#039; &lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;13 &lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;    ORDER BY obs_dt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;14 &lt;/span&gt;all$month &lt;span style=&quot;color: #000000;&quot;&gt;&lt;-&lt;/span&gt; factor&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;all$month&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; c&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&quot;January&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;February&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;March&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;15 &lt;/span&gt;    &lt;span style=&quot;color: #990000;&quot;&gt;&quot;April&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;May&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;June&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;July&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;August&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;September&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;16 &lt;/span&gt;    &lt;span style=&quot;color: #990000;&quot;&gt;&quot;October&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;November&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;December&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;))&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;17 &lt;/span&gt;all$season &lt;span style=&quot;color: #000000;&quot;&gt;&lt;-&lt;/span&gt; factor&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;all$season&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; c&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&quot;Winter&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;Summer&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;))&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;18 &lt;/span&gt;cum.seasons &lt;span style=&quot;color: #000000;&quot;&gt;&lt;-&lt;/span&gt; ddply&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;all&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; .&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;season&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; summarize&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; power = unique&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;power&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; ecdf = ecdf&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;power&lt;span style=&quot;color: #000000;&quot;&gt;)(&lt;/span&gt;unique&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;power&lt;span style=&quot;color: #000000;&quot;&gt;)))&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;19 &lt;/span&gt;f &lt;span style=&quot;color: #000000;&quot;&gt;&lt;-&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;x&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;{&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;20 &lt;/span&gt;    r &lt;span style=&quot;color: #000000;&quot;&gt;&lt;-&lt;/span&gt; quantile&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;x&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; probs = c&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;0.01&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;0.25&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;0.5&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;0.75&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;0.99&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;))&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;21 &lt;/span&gt;    names&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;r&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&lt;-&lt;/span&gt; c&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&quot;ymin&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;lower&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;middle&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;upper&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;&quot;ymax&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;22 &lt;/span&gt;    r
&lt;span style=&quot;color: #999900;&quot;&gt;23 &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;24 &lt;/span&gt;o &lt;span style=&quot;color: #000000;&quot;&gt;&lt;-&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;x&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;{&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;25 &lt;/span&gt;    subset&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;x&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; x &lt; quantile&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;x&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; probs = c&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;0.01&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;0.99&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;))[&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;]&lt;/span&gt; &#124; quantile&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;x&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; probs = c&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;0.01&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;0.99&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;))[&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;]&lt;/span&gt; &lt; x&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;26 &lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;27 &lt;/span&gt;png&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;file = &lt;span style=&quot;color: #990000;&quot;&gt;&quot;ninety_nine_boxplot_w_jitter.png&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; width = &lt;span style=&quot;color: #990000;&quot;&gt;800&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; height = &lt;span style=&quot;color: #990000;&quot;&gt;400&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;28 &lt;/span&gt;ggplot&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;data = all&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; aes&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;x = month&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; y = power&lt;span style=&quot;color: #000000;&quot;&gt;))&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;29 &lt;/span&gt;    + stat_summary&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;fun.data = f&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; geom = &lt;span style=&quot;color: #990000;&quot;&gt;&quot;boxplot&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; color = &lt;span style=&quot;color: #990000;&quot;&gt;&quot;blue&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; fill = &lt;span style=&quot;color: #990000;&quot;&gt;&quot;slateblue&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;30 &lt;/span&gt;    + stat_summary&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;fun.y = o&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; geom = &lt;span style=&quot;color: #990000;&quot;&gt;&quot;point&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; size = &lt;span style=&quot;color: #990000;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; color = &lt;span style=&quot;color: #990000;&quot;&gt;&quot;red&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;,&lt;/span&gt; position = position_jitter&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;width = &lt;span style=&quot;color: #990000;&quot;&gt;0.1&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;))&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;31 &lt;/span&gt;    + scale_y_continuous&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;name = &lt;span style=&quot;color: #990000;&quot;&gt;&quot;Power (Watts)&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;32 &lt;/span&gt;    + scale_x_discrete&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;name = &lt;span style=&quot;color: #990000;&quot;&gt;&quot;Month&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;33 &lt;/span&gt;    + opts&lt;span style=&quot;color: #000000;&quot;&gt;(&lt;/span&gt;title = &lt;span style=&quot;color: #990000;&quot;&gt;&quot;Power consumption by month&quot;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;34 &lt;/span&gt;dev.off&lt;span style=&quot;color: #000000;&quot;&gt;()&lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;35 &lt;/span&gt;
&lt;span style=&quot;color: #999900;&quot;&gt;36 &lt;/span&gt;&lt;span style=&quot;color: #333399;&quot;&gt;# vim:ft=r&lt;/span&gt;
&lt;/pre&gt;

The trick is to build the boxplot elements (box and whisker aesthetics) using a function that uses the &lt;tt&gt;quartile&lt;/tt&gt; function, then subset the points to outside the range of the whiskers using another function.  The plot is generated by using these functions inside &lt;tt&gt;stat_summary&lt;/tt&gt;.  Thanks to kohske on &lt;a href=&quot;http://stackoverflow.com/questions/4765482/changing-whisker-definition-in-geom-boxplot&quot; rel=&quot;nofollow&quot;&gt;stackoverflow&lt;/a&gt; for showing me this technique.</description>
		<content:encoded><![CDATA[<p>Another way to view the boxplots would be to set the whiskers to other percentile values (rather than the standard 1.5 IQD).  Here&#8217;s some code to set the whiskers to the 1st and 99th percentile, meaning that the box shows 50% of the points and the whiskers show 98%.  The outliers represent the remaining 2% of the observations.  I&#8217;ve jittered them a bit, so you can really see how many outliers there are.</p>
<p>Here&#8217;s the plot:</p>
<p><img src="http://swingleydev.com/blog/wp-content/uploads/2011/01/ninety_nine_boxplot_w_jitter.png" height="400" width="800" /></p>
<p>And the code:</p>
<pre style="background: #eee;">
<span style="color: #999900;"> 1 </span>library<span style="color: #000000;">(</span>RPostgreSQL<span style="color: #000000;">)</span>
<span style="color: #999900;"> 2 </span>library<span style="color: #000000;">(</span>ggplot2<span style="color: #000000;">)</span>
<span style="color: #999900;"> 3 </span>library<span style="color: #000000;">(</span>plyr<span style="color: #000000;">)</span>
<span style="color: #999900;"> 4 </span>drv <span style="color: #000000;">&lt;-</span> dbDriver<span style="color: #000000;">(</span><span style="color: #990000;">&quot;PostgreSQL&quot;</span><span style="color: #000000;">)</span>
<span style="color: #999900;"> 5 </span>con <span style="color: #000000;">&lt;-</span> dbConnect<span style="color: #000000;">(</span>drv<span style="color: #000000;">,</span> dbname=<span style="color: #990000;">&quot;power&quot;</span><span style="color: #000000;">,</span> host=<span style="color: #990000;">&quot;HOST&quot;</span><span style="color: #000000;">,</span> user=<span style="color: #990000;">&quot;USER&quot;</span><span style="color: #000000;">,</span> password=<span style="color: #990000;">&quot;PASSWD&quot;</span><span style="color: #000000;">,</span> port=<span style="color: #990000;">5432</span><span style="color: #000000;">)</span>
<span style="color: #999900;"> 6 </span>all <span style="color: #000000;">&lt;-</span> dbGetQuery<span style="color: #000000;">(</span>con<span style="color: #000000;">,</span> <span style="color: #990000;">&quot;</span>
<span style="color: #999900;"> 7 </span><span style="color: #990000;">    SELECT extract(year from obs_dt) AS year, </span>
<span style="color: #999900;"> 8 </span><span style="color: #990000;">           trim(to_char(obs_dt, 'Month')) AS month, </span>
<span style="color: #999900;"> 9 </span><span style="color: #990000;">           CASE WHEN extract(month from obs_dt) between 5 and 9 THEN 'Summer' ELSE 'Winter' END AS season, </span>
<span style="color: #999900;">10 </span><span style="color: #990000;">           obs_dt, power </span>
<span style="color: #999900;">11 </span><span style="color: #990000;">    FROM observations</span>
<span style="color: #999900;">12 </span><span style="color: #990000;">    WHERE obs_dt &gt; now() - interval '1 year' </span>
<span style="color: #999900;">13 </span><span style="color: #990000;">    ORDER BY obs_dt;&quot;</span><span style="color: #000000;">)</span>
<span style="color: #999900;">14 </span>all$month <span style="color: #000000;">&lt;-</span> factor<span style="color: #000000;">(</span>all$month<span style="color: #000000;">,</span> c<span style="color: #000000;">(</span><span style="color: #990000;">&quot;January&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;February&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;March&quot;</span><span style="color: #000000;">,</span>
<span style="color: #999900;">15 </span>    <span style="color: #990000;">&quot;April&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;May&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;June&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;July&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;August&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;September&quot;</span><span style="color: #000000;">,</span>
<span style="color: #999900;">16 </span>    <span style="color: #990000;">&quot;October&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;November&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;December&quot;</span><span style="color: #000000;">))</span>
<span style="color: #999900;">17 </span>all$season <span style="color: #000000;">&lt;-</span> factor<span style="color: #000000;">(</span>all$season<span style="color: #000000;">,</span> c<span style="color: #000000;">(</span><span style="color: #990000;">&quot;Winter&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;Summer&quot;</span><span style="color: #000000;">))</span>
<span style="color: #999900;">18 </span>cum.seasons <span style="color: #000000;">&lt;-</span> ddply<span style="color: #000000;">(</span>all<span style="color: #000000;">,</span> .<span style="color: #000000;">(</span>season<span style="color: #000000;">)</span><span style="color: #000000;">,</span> summarize<span style="color: #000000;">,</span> power = unique<span style="color: #000000;">(</span>power<span style="color: #000000;">)</span><span style="color: #000000;">,</span> ecdf = ecdf<span style="color: #000000;">(</span>power<span style="color: #000000;">)(</span>unique<span style="color: #000000;">(</span>power<span style="color: #000000;">)))</span>
<span style="color: #999900;">19 </span>f <span style="color: #000000;">&lt;-</span> <span style="color: #009900;">function</span><span style="color: #000000;">(</span>x<span style="color: #000000;">)</span> <span style="color: #000000;">{</span>
<span style="color: #999900;">20 </span>    r <span style="color: #000000;">&lt;-</span> quantile<span style="color: #000000;">(</span>x<span style="color: #000000;">,</span> probs = c<span style="color: #000000;">(</span><span style="color: #990000;">0.01</span><span style="color: #000000;">,</span> <span style="color: #990000;">0.25</span><span style="color: #000000;">,</span> <span style="color: #990000;">0.5</span><span style="color: #000000;">,</span> <span style="color: #990000;">0.75</span><span style="color: #000000;">,</span> <span style="color: #990000;">0.99</span><span style="color: #000000;">))</span>
<span style="color: #999900;">21 </span>    names<span style="color: #000000;">(</span>r<span style="color: #000000;">)</span> <span style="color: #000000;">&lt;-</span> c<span style="color: #000000;">(</span><span style="color: #990000;">&quot;ymin&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;lower&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;middle&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;upper&quot;</span><span style="color: #000000;">,</span> <span style="color: #990000;">&quot;ymax&quot;</span><span style="color: #000000;">)</span>
<span style="color: #999900;">22 </span>    r
<span style="color: #999900;">23 </span><span style="color: #000000;">}</span>
<span style="color: #999900;">24 </span>o <span style="color: #000000;">&lt;-</span> <span style="color: #009900;">function</span><span style="color: #000000;">(</span>x<span style="color: #000000;">)</span> <span style="color: #000000;">{</span>
<span style="color: #999900;">25 </span>    subset<span style="color: #000000;">(</span>x<span style="color: #000000;">,</span> x &lt; quantile<span style="color: #000000;">(</span>x<span style="color: #000000;">,</span> probs = c<span style="color: #000000;">(</span><span style="color: #990000;">0.01</span><span style="color: #000000;">,</span> <span style="color: #990000;">0.99</span><span style="color: #000000;">))[</span><span style="color: #990000;">1</span><span style="color: #000000;">]</span> | quantile<span style="color: #000000;">(</span>x<span style="color: #000000;">,</span> probs = c<span style="color: #000000;">(</span><span style="color: #990000;">0.01</span><span style="color: #000000;">,</span> <span style="color: #990000;">0.99</span><span style="color: #000000;">))[</span><span style="color: #990000;">2</span><span style="color: #000000;">]</span> &lt; x<span style="color: #000000;">)</span>
<span style="color: #999900;">26 </span><span style="color: #000000;">}</span>
<span style="color: #999900;">27 </span>png<span style="color: #000000;">(</span>file = <span style="color: #990000;">&quot;ninety_nine_boxplot_w_jitter.png&quot;</span><span style="color: #000000;">,</span> width = <span style="color: #990000;">800</span><span style="color: #000000;">,</span> height = <span style="color: #990000;">400</span><span style="color: #000000;">)</span>
<span style="color: #999900;">28 </span>ggplot<span style="color: #000000;">(</span>data = all<span style="color: #000000;">,</span> aes<span style="color: #000000;">(</span>x = month<span style="color: #000000;">,</span> y = power<span style="color: #000000;">))</span>
<span style="color: #999900;">29 </span>    + stat_summary<span style="color: #000000;">(</span>fun.data = f<span style="color: #000000;">,</span> geom = <span style="color: #990000;">&quot;boxplot&quot;</span><span style="color: #000000;">,</span> color = <span style="color: #990000;">&quot;blue&quot;</span><span style="color: #000000;">,</span> fill = <span style="color: #990000;">&quot;slateblue&quot;</span><span style="color: #000000;">)</span>
<span style="color: #999900;">30 </span>    + stat_summary<span style="color: #000000;">(</span>fun.y = o<span style="color: #000000;">,</span> geom = <span style="color: #990000;">&quot;point&quot;</span><span style="color: #000000;">,</span> size = <span style="color: #990000;">1</span><span style="color: #000000;">,</span> color = <span style="color: #990000;">&quot;red&quot;</span><span style="color: #000000;">,</span> position = position_jitter<span style="color: #000000;">(</span>width = <span style="color: #990000;">0.1</span><span style="color: #000000;">))</span>
<span style="color: #999900;">31 </span>    + scale_y_continuous<span style="color: #000000;">(</span>name = <span style="color: #990000;">&quot;Power (Watts)&quot;</span><span style="color: #000000;">)</span>
<span style="color: #999900;">32 </span>    + scale_x_discrete<span style="color: #000000;">(</span>name = <span style="color: #990000;">&quot;Month&quot;</span><span style="color: #000000;">)</span>
<span style="color: #999900;">33 </span>    + opts<span style="color: #000000;">(</span>title = <span style="color: #990000;">&quot;Power consumption by month&quot;</span><span style="color: #000000;">)</span>
<span style="color: #999900;">34 </span>dev.off<span style="color: #000000;">()</span>
<span style="color: #999900;">35 </span>
<span style="color: #999900;">36 </span><span style="color: #333399;"># vim:ft=r</span>
</pre>
<p>The trick is to build the boxplot elements (box and whisker aesthetics) using a function that uses the <tt>quartile</tt> function, then subset the points to outside the range of the whiskers using another function.  The plot is generated by using these functions inside <tt>stat_summary</tt>.  Thanks to kohske on <a href="http://stackoverflow.com/questions/4765482/changing-whisker-definition-in-geom-boxplot" rel="nofollow">stackoverflow</a> for showing me this technique.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on La Niña by cswingle</title>
		<link>http://swingleydev.com/blog/?p=1523&#038;cpage=1#comment-111204</link>
		<dc:creator>cswingle</dc:creator>
		<pubDate>Sun, 16 Jan 2011 23:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://swingleydev.com/blog/?p=1523#comment-111204</guid>
		<description>Dave,

Thanks much for your comment and explanation of what could be going on with this winter.  I wish I knew (or understood) more about the larger scale weather patterns and how they relate to what we see on the ground.  And I look forward to the possibility of an average snowfall for once.

Cheers,

Chris</description>
		<content:encoded><![CDATA[<p>Dave,</p>
<p>Thanks much for your comment and explanation of what could be going on with this winter.  I wish I knew (or understood) more about the larger scale weather patterns and how they relate to what we see on the ground.  And I look forward to the possibility of an average snowfall for once.</p>
<p>Cheers,</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on La Niña by David L Arnold</title>
		<link>http://swingleydev.com/blog/?p=1523&#038;cpage=1#comment-111198</link>
		<dc:creator>David L Arnold</dc:creator>
		<pubDate>Sun, 16 Jan 2011 22:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://swingleydev.com/blog/?p=1523#comment-111198</guid>
		<description>Chris,

I ran across your pages while searching temperature data bases for Fairbanks.  I am currently a City Manager for a North Slope village, but live here in Fairbanks now (resided on the North Slope Sep 2009-Aug 2010).  In a former life I was a university professor with specialization in climate dynamics focusing on inter- and intra-annual seasonal variability in North American temperature and precipitation.  

I read with interest your brief analysis regarding what we might expect for Winter 2010-11 here in Fairbanks as a function of the La Nina SSTA.  I have done a little work in the past on this subject myself, and began to look at it again recently.  In general I&#039;ve found two different La Nina modes for North America as they relate to the general atmospheric circulation pattern, and this year we&#039;ve found ourselves facing the lower frequency version characterized by a frequent &quot;over the top block&quot; that connects the Bering Sea ridge to the North Atlantic ridge.  This results in the negative Arctic Oscillation (AO) we have observed much of the winter which has resulted in frequent cold air dumps into the eastern CONUS (not a typical La Nina response).  When this occurs we tend to see winter snowfall in Fairbanks somewhere between 50-75% of average, which is where we appear to be heading this year.  Of course if the small-scale details of the &quot;ice storm&quot; last November had been different, we could actually be much closer to our 30-year average now.

At any rate, since La Ninas tend to persist for about 26 months, and our most recent event began this past summer, we should have another shot at a near-average snowfall winter for 2011-12 with below &quot;normal&quot; temperatures for the period.  It&#039;s unlikely that this second La Nina winter would include an over the top block, so perhaps this is something positive to anticipate.

Take care,

Dave</description>
		<content:encoded><![CDATA[<p>Chris,</p>
<p>I ran across your pages while searching temperature data bases for Fairbanks.  I am currently a City Manager for a North Slope village, but live here in Fairbanks now (resided on the North Slope Sep 2009-Aug 2010).  In a former life I was a university professor with specialization in climate dynamics focusing on inter- and intra-annual seasonal variability in North American temperature and precipitation.  </p>
<p>I read with interest your brief analysis regarding what we might expect for Winter 2010-11 here in Fairbanks as a function of the La Nina SSTA.  I have done a little work in the past on this subject myself, and began to look at it again recently.  In general I&#8217;ve found two different La Nina modes for North America as they relate to the general atmospheric circulation pattern, and this year we&#8217;ve found ourselves facing the lower frequency version characterized by a frequent &#8220;over the top block&#8221; that connects the Bering Sea ridge to the North Atlantic ridge.  This results in the negative Arctic Oscillation (AO) we have observed much of the winter which has resulted in frequent cold air dumps into the eastern CONUS (not a typical La Nina response).  When this occurs we tend to see winter snowfall in Fairbanks somewhere between 50-75% of average, which is where we appear to be heading this year.  Of course if the small-scale details of the &#8220;ice storm&#8221; last November had been different, we could actually be much closer to our 30-year average now.</p>
<p>At any rate, since La Ninas tend to persist for about 26 months, and our most recent event began this past summer, we should have another shot at a near-average snowfall winter for 2011-12 with below &#8220;normal&#8221; temperatures for the period.  It&#8217;s unlikely that this second La Nina winter would include an over the top block, so perhaps this is something positive to anticipate.</p>
<p>Take care,</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arduino weather station by michael</title>
		<link>http://swingleydev.com/blog/?p=558&#038;cpage=1#comment-109606</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Mon, 13 Dec 2010 21:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://swingleydev.com/blog/?p=558#comment-109606</guid>
		<description>Hi

Very cool!!!, I would very much like to see the code :-) Do you write to a database?</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Very cool!!!, I would very much like to see the code <img src='http://swingleydev.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Do you write to a database?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
