<?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 on: How to: make a scatterplot with a smooth fitted line</title>
	<atom:link href="http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/</link>
	<description>Strength in Numbers</description>
	<lastBuildDate>Thu, 24 May 2012 15:48:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Nathan Yau</title>
		<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/#comment-43558</link>
		<dc:creator>Nathan Yau</dc:creator>
		<pubDate>Fri, 07 May 2010 14:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://flowingdata.com/?p=6479#comment-43558</guid>
		<description>instead of scatter.smooth, use loess.smooth (with the same variables). that&#039;ll show you the x and y values of the curve. Like this:

p &lt;- loess.smooth(x=1:length(unemployment$Value), y=unemployment$Value)

So if you type &#039;p$x&#039; that&#039;ll give you the x-values.

After that, read up on write.table() to write to a text file:

http://pbil.univ-lyon1.fr/library/base/html/write.table.html</description>
		<content:encoded><![CDATA[<p>instead of scatter.smooth, use loess.smooth (with the same variables). that&#8217;ll show you the x and y values of the curve. Like this:</p>
<p>p < - loess.smooth(x=1:length(unemployment$Value), y=unemployment$Value)</p>
<p>So if you type 'p$x' that'll give you the x-values.</p>
<p>After that, read up on write.table() to write to a text file:</p>
<p><a href="http://pbil.univ-lyon1.fr/library/base/html/write.table.html" rel="nofollow">http://pbil.univ-lyon1.fr/libr.....table.html</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea</title>
		<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/#comment-43556</link>
		<dc:creator>Andrea</dc:creator>
		<pubDate>Fri, 07 May 2010 14:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://flowingdata.com/?p=6479#comment-43556</guid>
		<description>This is probably the wrong place to post this question but how do I write the values of the fitted curve into a text file?
Thanks,</description>
		<content:encoded><![CDATA[<p>This is probably the wrong place to post this question but how do I write the values of the fitted curve into a text file?<br />
Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Notional Slurry &#187; links for 2010-03-30</title>
		<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/#comment-41563</link>
		<dc:creator>Notional Slurry &#187; links for 2010-03-30</dc:creator>
		<pubDate>Wed, 31 Mar 2010 06:05:23 +0000</pubDate>
		<guid isPermaLink="false">http://flowingdata.com/?p=6479#comment-41563</guid>
		<description>[...] How to: make a scatterplot with a smooth fitted line &#124; FlowingData &quot;Oftentimes, you&#039;ll want to fit a line to a bunch of data points to make it easier to spot patterns or relationships. It might be observations over time or it might be two variables that are possibly related. In either case, a scatter plot just might not be enough to see anything useful. This tutorial will show you how to graph a fitted line, or loess curve, to such a scatter plot.&quot; (tags: tutorial visualization graphs R statistics how-to) [...]</description>
		<content:encoded><![CDATA[<p>[...] How to: make a scatterplot with a smooth fitted line | FlowingData &quot;Oftentimes, you&#39;ll want to fit a line to a bunch of data points to make it easier to spot patterns or relationships. It might be observations over time or it might be two variables that are possibly related. In either case, a scatter plot just might not be enough to see anything useful. This tutorial will show you how to graph a fitted line, or loess curve, to such a scatter plot.&quot; (tags: tutorial visualization graphs R statistics how-to) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Data Visualization Resources - Combining and Filtering Time Series and Static Data Sets in EX Dashboards</title>
		<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/#comment-41555</link>
		<dc:creator>Data Visualization Resources - Combining and Filtering Time Series and Static Data Sets in EX Dashboards</dc:creator>
		<pubDate>Wed, 31 Mar 2010 01:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://flowingdata.com/?p=6479#comment-41555</guid>
		<description>[...] How to: make a scatterplot with a smooth fitted line &#124; FlowingData [...]</description>
		<content:encoded><![CDATA[<p>[...] How to: make a scatterplot with a smooth fitted line | FlowingData [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/#comment-41550</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 30 Mar 2010 22:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://flowingdata.com/?p=6479#comment-41550</guid>
		<description>Kelly -

I agree. Using the algorithm based on the NIST documentation, I could not duplicate Nathan&#039;s smoothing. With a large enough span (&gt;=66%) my fit doesn&#039;t curve upwards and its general shape is similar, but it doesn&#039;t sink as low as Nathan&#039;s does at the end.</description>
		<content:encoded><![CDATA[<p>Kelly -</p>
<p>I agree. Using the algorithm based on the NIST documentation, I could not duplicate Nathan&#8217;s smoothing. With a large enough span (&gt;=66%) my fit doesn&#8217;t curve upwards and its general shape is similar, but it doesn&#8217;t sink as low as Nathan&#8217;s does at the end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark James Adams</title>
		<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/#comment-41546</link>
		<dc:creator>Mark James Adams</dc:creator>
		<pubDate>Tue, 30 Mar 2010 21:59:27 +0000</pubDate>
		<guid isPermaLink="false">http://flowingdata.com/?p=6479#comment-41546</guid>
		<description>The exact line you get will be sensitive to the parameters you feed into loess (the size of the local regression window). 

If nothing else, though, Nathan&#039;s chart accentuates how out of wack the decrease in employment is since 2008—way more than structural.</description>
		<content:encoded><![CDATA[<p>The exact line you get will be sensitive to the parameters you feed into loess (the size of the local regression window). </p>
<p>If nothing else, though, Nathan&#8217;s chart accentuates how out of wack the decrease in employment is since 2008—way more than structural.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/#comment-41544</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 30 Mar 2010 21:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://flowingdata.com/?p=6479#comment-41544</guid>
		<description>Or you could use Rapidminer 5.0 and their time series operators.  You could build a nonlinear trend line using Support Vector Machines or a standard Neural Net for this time series data.</description>
		<content:encoded><![CDATA[<p>Or you could use Rapidminer 5.0 and their time series operators.  You could build a nonlinear trend line using Support Vector Machines or a standard Neural Net for this time series data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelly O'Day</title>
		<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/#comment-41539</link>
		<dc:creator>Kelly O'Day</dc:creator>
		<pubDate>Tue, 30 Mar 2010 20:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://flowingdata.com/?p=6479#comment-41539</guid>
		<description>I have a problem with the trend line. Looking at the monthly values, I notice a substantial rise after 2008, consistent with news reports of our economy.

Your trend line does not respond to the increase in unemployment starting around 2008, rather it continues a decline.

I have reproduced your chart, however, my loess trend line shows the appropriate increase after 2008. 

Not sure why the discrepancy.</description>
		<content:encoded><![CDATA[<p>I have a problem with the trend line. Looking at the monthly values, I notice a substantial rise after 2008, consistent with news reports of our economy.</p>
<p>Your trend line does not respond to the increase in unemployment starting around 2008, rather it continues a decline.</p>
<p>I have reproduced your chart, however, my loess trend line shows the appropriate increase after 2008. </p>
<p>Not sure why the discrepancy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark James Adams</title>
		<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/#comment-41510</link>
		<dc:creator>Mark James Adams</dc:creator>
		<pubDate>Tue, 30 Mar 2010 08:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://flowingdata.com/?p=6479#comment-41510</guid>
		<description>A nice post would one that starts a discussion about when you need to break into Illustrator/Inkscape to make your point. I&#039;m with John that you can get pretty far in R for making your graph publication ready, so when do you need that extra bit of polish that a drawing tools will provide? (didn&#039;t Tufte say something about needing one tool that can count and one tools that can see).</description>
		<content:encoded><![CDATA[<p>A nice post would one that starts a discussion about when you need to break into Illustrator/Inkscape to make your point. I&#8217;m with John that you can get pretty far in R for making your graph publication ready, so when do you need that extra bit of polish that a drawing tools will provide? (didn&#8217;t Tufte say something about needing one tool that can count and one tools that can see).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Christie</title>
		<link>http://flowingdata.com/2010/03/29/how-to-make-a-scatterplot-with-a-smooth-fitted-line/#comment-41507</link>
		<dc:creator>John Christie</dc:creator>
		<pubDate>Tue, 30 Mar 2010 03:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://flowingdata.com/?p=6479#comment-41507</guid>
		<description>thanks... that second one was what I had planned to paste but I picked up the wrong thing</description>
		<content:encoded><![CDATA[<p>thanks&#8230; that second one was what I had planned to paste but I picked up the wrong thing</p>
]]></content:encoded>
	</item>
</channel>
</rss>

