<?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>Peltier Tech Blog &#187; Statistics</title>
	<atom:link href="http://peltiertech.com/WordPress/category/statistics/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Tue, 31 Aug 2010 07:00:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Main Effects and Interaction Plots</title>
		<link>http://peltiertech.com/WordPress/main-effects-and-interaction-plots/</link>
		<comments>http://peltiertech.com/WordPress/main-effects-and-interaction-plots/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 07:00:23 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Interactions]]></category>
		<category><![CDATA[Main Effects]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=3084</guid>
		<description><![CDATA[In Dating Site Photo Effectiveness I proposed dot plots to show how different topics of profile pictures lead to different success rates of  attracting attention from potential dates. The original analysis in The 4 Big Myths of Profile Pictures used bar charts which were potentially confusing because the origin of the bars was not [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://peltiertech.com/WordPress/dating-site-photo-effectiveness/"title="Dating Site Photo Effectiveness » Peltier Tech Blog" >Dating Site Photo Effectiveness</a> I proposed dot plots to show how different topics of profile pictures lead to different success rates of  attracting attention from potential dates. The original analysis in <a href="http://blog.okcupid.com/index.php/2010/01/20/the-4-big-myths-of-profile-pictures/" rel="nofollow" title="The 4 Big Myths of Profile Pictures" >The 4 Big Myths of Profile Pictures</a> used bar charts which were potentially confusing because the origin of the bars was not zero, but instead was the average of all the data. Since my earlier post, Nathan wrote <a href="http://flowingdata.com/2010/02/10/get-a-date-with-your-online-profile-pic-myths-debunked/" rel="nofollow" title="Get a Date With Your Online Profile Pic – Myths Debunked | FlowingData" >Get a Date With Your Online Profile Pic – Myths Debunked</a> in his <strong>Flowing Data</strong> blog, and I was inspired to write about some simple graphical statistical tools.</p>
<p>The original analysis showed also the effects of facial expressions and eye contact on photo effectiveness. Profile pictures of women making eye contact are more effective than those without eye contact, for all of the facial expressions. Flirty-face pictures with eye contact are the most effective, while flirty-face pictures without eye contact are least effective.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2010-02/women_smiling.png" alt="Women's Photo Effectiveness Factors - Original Bar Chart" /></p>
<p><span id="more-3084"></span>Bar charts show the data reasonably well. When the bars overlap, they may lead to conclusion, because the front bars partially obscure the back bars, and the back bars may appear smaller than they actually are because of this obstruction. It&#8217;s also not as easy to see the relative effects.</p>
<h2>Main Effects Plots</h2>
<p>When performing a statistical analysis, one of the simplest graphical tools at our disposal is a <strong>Main Effects Plot</strong>. This plot shows the average outcome for each value of each variable, combining the effects of the other variables as iff all variables were independent. In the chart below, we see that the averages for smiling (with and without eye contact) is highest, the average for not smiling is lowest, and flirty-face lies in between. The average for eye contact is greater than for no eye contact (for all facial expressions combined). We could have estimated these effects from the bar chart above, but it&#8217;s helpful to take the time to plot these effects.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2010-02/women-main.png" alt="Women's Photo Effectiveness Factors - Main Effects Plot" /></p>
<p>The data is shown below, with ranges shaded to match the color of the plotted points. The two columns to the left of the data are used to produce the two-level category axes in the charts. There is no need to label the series, since the series identification is simplified by these dual axis labels.</p>
<p><em><strong>Note:</strong> I&#8217;ve used simple averages from the data in the original article&#8217;s charts, but in a real analysis you would have to weight the averages by the proportion of individuals using each level of each factor.</em></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2010-02/women-main-table.png" alt="Women's Photo Effectiveness Factors - Main Effects Plot Data" /></p>
<p>The main effects plot is simple and does not provide a great deal of information. Showing just the main effects of each factor level without accounting for the levels of other factors is simplistic and misleading.</p>
<p>For example, we might assume that the best success would come from smiling and making eye contact, and the worst from not smiling and not making eye contact. In fact, the flirty-face picture accounts for the best success (with eye contact) and the worst (without eye contact).</p>
<h2>Interaction Plots 1</h2>
<p>Another graphic statistical tools at our disposal is called an <strong>Interaction Plot</strong>. This type of chart illustrates the effects between variables which are not independent. Such a plot looks like the charts here. There are two versions, to illustrate better the effects of eye contact and of facial expression.</p>
<p>In fact, the original bar chart above shows interactions between factors, but it is more effective to use markers with connecting lines to display the data.</p>
<p style="text-align: center;"><img src="http://peltiertech.com/images/2010-02/women-effects-2x3.png" alt="Women's Photo Effectiveness Factors - Interaction Plot" /> <img src="http://peltiertech.com/images/2010-02/women-effects-3x2.png" alt="Women's Photo Effectiveness Factors - Interaction Plot" /></p>
<p>The two charts show the effect of expression for the two eye contact categories (left) and the effect of eye contact for the three expressions (right). The charts can be made easily using data with the appropriate arrangement. The chart on the right shows that the flirty-face expression is most effective, with eye contact. Without eye contact, this expression is a loser.</p>
<p style="text-align: center;"><img src="http://peltiertech.com/images/2010-02/women-effects-2x3-table.png" alt="Women's Photo Effectiveness Factors - Interaction Plot Data" /> <span style="color: #ffffff;">- &#8211; -</span> <img src="http://peltiertech.com/images/2010-02/women-effects-3x2-table.png" alt="Women's Photo Effectiveness Factors - Interaction Plot Data" /></p>
<p>The two charts need independent data ranges. The two columns to the left of the data are used to produce the two-level category axes in the charts. There is no need to label the series, since the series identification is simplified by these dual axis labels.</p>
<h2>Interaction Plots 2</h2>
<p>An alternative and perhaps more common layout for interaction charts is shown below. As above, the two versions emphasize the effects of facial expression and of eye contact.</p>
<p style="text-align: center;"><img src="http://peltiertech.com/images/2010-02/women-interact-2x3.png" alt="Women's Photo Effectiveness Factors - Interaction Plot" /> <img src="http://peltiertech.com/images/2010-02/women-interact-3x2.png" alt="Women's Photo Effectiveness Factors - Interaction Plot" /></p>
<p>The series use the same single tier of category labels, and the lower tier of labels has been replaced by data labels on the series themselves. This alternative has the possibility of becoming more cluttered, but it also shows interaction effects more clearly.</p>
<p>For example, the nearly parallel smiling and not smiling lines in the right chart above indicate only a very weak interaction between eye contact and smiling, but the much steeper flirty-face line shows a stronger effect (or an interaction) of eye contact when the facial expression is a flirty face. The nearly parallel segments in the left hand chart show the same weak interaction between smiling and eye contact, while the huge difference between the two flirty-face data points show a strong interaction.</p>
<p style="text-align: center;"><img src="http://peltiertech.com/images/2010-02/women-interact-2x3-table.png" alt="Women's Photo Effectiveness Factors - Interaction Plot Data" /> <span style="color: #ffffff;">- &#8211; -</span> <img src="http://peltiertech.com/images/2010-02/women-interact-3x2-table.png" alt="Women's Photo Effectiveness Factors - Interaction Plot Data" /></p>
<p>These two charts can use the same data range, using either columns or rows for the series data. Using series names as data labels adjacent to data points effectively identify the data.</p>
<h2>Extension</h2>
<p>The same approach above provides insights into the photo effectivemess for male subjects.</p>
<p>Here is the original bar chart.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2010-02/men_smiling.png" alt="Men's Photo Effectiveness Factors - Original Bar Chart" /></p>
<p>Main effects plot.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://peltiertech.com/images/2010-02/men-main.png" alt="Men's Photo Effectiveness Factors - Main Effects Plot" /></p>
<p>Interactions plots, both variations.</p>
<p style="text-align: center;"><img src="http://peltiertech.com/images/2010-02/men-effects-2x3.png" alt="Men's Photo Effectiveness Factors - Interaction Plot" /> <img src="http://peltiertech.com/images/2010-02/men-effects-3x2.png" alt="Men's Photo Effectiveness Factors - Interaction Plot" /></p>
<p style="text-align: center;"><img src="http://peltiertech.com/images/2010-02/men-interact-2x3.png" alt="Men's Photo Effectiveness Factors - Interaction Plot" /> <span style="color: #ffffff;">- -</span> <img src="http://peltiertech.com/images/2010-02/men-interact-3x2.png" alt="Men's Photo Effectiveness Factors - Interaction Plot" /></p>
<p>Peltier Technical Services, Inc., Copyright © 2010.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://www.exceluser.com/cmd.asp?Clk=2474005" rel="nofollow" ><IMG SRC="http://www.exceluser.com/images/info/pub/pnp468_01.jpg" ALT="Create Excel dashboards quickly with Plug-N-Play reports." WIDTH="468" HEIGHT="60" border=0></a><br />
<br /><img src="http://www.exceluser.com/cmd.asp?Imp=2474005" width="0" height="0" border="0"></p>



Bookmark and share this entry:


	<a rel="nofollow"  href="http://twitter.com/home?status=Main%20Effects%20and%20Interaction%20Plots%20-%20http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F" title="Twitter"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F&amp;title=Main%20Effects%20and%20Interaction%20Plots&amp;bodytext=In%20Dating%20Site%20Photo%20Effectiveness%20I%20proposed%20dot%20plots%20to%20show%20how%20different%20topics%20of%20profile%20pictures%20lead%20to%20different%20success%20rates%20of%20%20attracting%20attention%20from%20potential%20dates.%20The%20original%20analysis%20in%20The%204%20Big%20Myths%20of%20Profile%20Pictures%20used%20" title="Digg"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F&amp;t=Main%20Effects%20and%20Interaction%20Plots" title="Facebook"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F&amp;title=Main%20Effects%20and%20Interaction%20Plots&amp;source=Peltier+Tech+Blog+Peltier+Tech+Excel+Charts+and+Programming+Blog&amp;summary=In%20Dating%20Site%20Photo%20Effectiveness%20I%20proposed%20dot%20plots%20to%20show%20how%20different%20topics%20of%20profile%20pictures%20lead%20to%20different%20success%20rates%20of%20%20attracting%20attention%20from%20potential%20dates.%20The%20original%20analysis%20in%20The%204%20Big%20Myths%20of%20Profile%20Pictures%20used%20" title="LinkedIn"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F&amp;title=Main%20Effects%20and%20Interaction%20Plots&amp;notes=In%20Dating%20Site%20Photo%20Effectiveness%20I%20proposed%20dot%20plots%20to%20show%20how%20different%20topics%20of%20profile%20pictures%20lead%20to%20different%20success%20rates%20of%20%20attracting%20attention%20from%20potential%20dates.%20The%20original%20analysis%20in%20The%204%20Big%20Myths%20of%20Profile%20Pictures%20used%20" title="del.icio.us"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F" title="Technorati"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F&amp;title=Main%20Effects%20and%20Interaction%20Plots" title="StumbleUpon"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F&amp;title=Main%20Effects%20and%20Interaction%20Plots&amp;annotation=In%20Dating%20Site%20Photo%20Effectiveness%20I%20proposed%20dot%20plots%20to%20show%20how%20different%20topics%20of%20profile%20pictures%20lead%20to%20different%20success%20rates%20of%20%20attracting%20attention%20from%20potential%20dates.%20The%20original%20analysis%20in%20The%204%20Big%20Myths%20of%20Profile%20Pictures%20used%20" title="Google Bookmarks"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F&amp;title=Main%20Effects%20and%20Interaction%20Plots" title="Reddit"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F&amp;t=Main%20Effects%20and%20Interaction%20Plots" title="MySpace"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Main%20Effects%20and%20Interaction%20Plots&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F" title="Slashdot"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F&amp;submitHeadline=Main%20Effects%20and%20Interaction%20Plots&amp;submitSummary=In%20Dating%20Site%20Photo%20Effectiveness%20I%20proposed%20dot%20plots%20to%20show%20how%20different%20topics%20of%20profile%20pictures%20lead%20to%20different%20success%20rates%20of%20%20attracting%20attention%20from%20potential%20dates.%20The%20original%20analysis%20in%20The%204%20Big%20Myths%20of%20Profile%20Pictures%20used%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmain-effects-and-interaction-plots%2F&amp;t=Main%20Effects%20and%20Interaction%20Plots&amp;s=In%20Dating%20Site%20Photo%20Effectiveness%20I%20proposed%20dot%20plots%20to%20show%20how%20different%20topics%20of%20profile%20pictures%20lead%20to%20different%20success%20rates%20of%20%20attracting%20attention%20from%20potential%20dates.%20The%20original%20analysis%20in%20The%204%20Big%20Myths%20of%20Profile%20Pictures%20used%20" title="Tumblr"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/main-effects-and-interaction-plots/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Preliminary Data Exploration with Excel Pivot Tables</title>
		<link>http://peltiertech.com/WordPress/preliminary-data-exploration-with-excel-pivot-tables/</link>
		<comments>http://peltiertech.com/WordPress/preliminary-data-exploration-with-excel-pivot-tables/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 06:00:58 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Pivot Tables]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2318</guid>
		<description><![CDATA[In Preliminary Data Exploration in Excel I showed how to start the process of analyzing a table of data. The data I started with was a flat table, one row per observation, but it wasn&#8217;t normalized. That is, each input parameter had its own field. A more flexible arrangement is to replace the several fields [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://peltiertech.com/WordPress/preliminary-data-exploration-in-excel/"title="Preliminary Data Exploration in Excel | PTS Blog" >Preliminary Data Exploration in Excel</a> I showed how to start the process of analyzing a table of data. The data I started with was a flat table, one row per observation, but it wasn&#8217;t normalized. That is, each input parameter had its own field. A more flexible arrangement is to replace the several fields for each factor with two fields: one for factor name and one for factor value. This means each observation needs as many records (rows) as it has factors.</p>
<p>This is what the top section of the data looks like when normalized in this way. I&#8217;ve converted the range to a list for all the usual reasons.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_flatdata1.png" alt="list of data" /></p>
<p><span id="more-2318"></span><strong>Marginal Means Plots</strong></p>
<p>Instead of constructing a table of formulas to analyze the data, I can instead create a simple pivot table. The data area contains Average of Result, while Factor and Level are stacked in the rows area, with Level inside Factor. The empty rows come from checking the Empty Rows Between Items for the Factor field.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_table1.png" alt="simple pivot table" /></p>
<p>I could make a pivot chart, but I dislike pivot charts. The plot area cannot be resized, and the pivot fields and buttons clutter them up.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_pivotchart1.png" alt="simple pivot chart" /></p>
<p>You can hide the fields and buttons, but you still have limited formatting capability. What&#8217;s worse, the blank spaces in the data range are ignored by the pivot chart, so point for one factor are connected to points from the next factor.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_pivotchart1a.png" alt="cleaned up pivot chart" /></p>
<p>Instead I&#8217;ll make a regular chart.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_chart1.png" alt="simple regular chart" /></p>
<p>This is almost like the first chart from the previous article, except that the factor names aren&#8217;t centered under the factor values. This is fixed by changing the layout a bit, by showing data in the Factor field in outline form, not table form, and retaining the space after each item.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_table1a.png" alt="enhanced pivot table" /></p>
<p>Now the labels are centered. The chart based on a grid of formulas has less space between groups of labels, but we&#8217;ll accept this in exchange for how easy pivot tables make our work.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_chart1a.png" alt="cleaned up chart" /></p>
<p>The second set of formulas in the previous example allowed for separate series for each factor. To get this with a pivot table, we need a duplicate Factor field. When added to the list containing the data, Excel renames it Factor2.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_flatdata2.png" alt="enhanced data table" /></p>
<p>Now we place Factor2 in the columns area, and this splits the table into six columns, one for each factor.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_table2.png" alt="multiple column pivot table" /></p>
<p>These six columns become six separately formatted series in the chart.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_chart2.png" alt="multiple series chart" /></p>
<p><strong>Interaction Plots</strong></p>
<p>In order to work interactions into the pivot table, you need to reintroduce the original columns for the factors and their values. Since we&#8217;ve already changed the table so that one observation requires six rows, we need to add six times the original data. If someone knows more about pivots than I do. please explain to me how to do this without using scads of data.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_flatdata3.png" alt="massive data table" /></p>
<p>Anyway, here is a pivot table, one of the six needed to display all of the interactions. You can only neatly show one separate factor in the columns area. It&#8217; easy enough to change the pivot table, of course: drag one factor off the table and drag another on.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_table3a.png" alt="first of six interaction pivot tables" /></p>
<p>Here&#8217;s pivot table two of six. Pivot tables three through six are not shown here.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_table3b.png" alt="second of six interaction pivot tables" /></p>
<p>An interaction plot can be built from each of these pivot tables. These are essentially the same as those in the earlier analysis, and the same conclusions can be drawn from them.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-08/pt_chart3a.png" alt="interaction chart for mixer" /><br />
 <img src="http://peltiertech.com/images/2009-08/pt_chart3b.png" alt="interaction chart for amount" /><br />
 <img src="http://peltiertech.com/images/2009-08/pt_chart3c.png" alt="interaction chart for mutt" /><br />
 <img src="http://peltiertech.com/images/2009-08/pt_chart3d.png" alt="interaction chart for pctg" /><br />
 <img src="http://peltiertech.com/images/2009-08/pt_chart3e.png" alt="interaction chart for form" /><br />
 <img src="http://peltiertech.com/images/2009-08/pt_chart3f.png" alt="interaction chart for add" /></p>
<p>Even though some data preparation was required, and for some of the analysis a lot of data had to be duplicated, but creating an analysis using pivot tables can be easier, faster, and much more interactive than one using formulas.</p>
<p><strong>The Data</strong></p>
<p>If anyone would like to use this data and try to add to this preliminary analysis, the data is available in the following two CSV files: <a href="http://peltiertech.com/images/2009-08/Table1.csv" rel="nofollow" >Table1.csv</a> and <a href="http://peltiertech.com/images/2009-08/Table2.csv" rel="nofollow" >Table2.csv</a>.</p>
<p>Peltier Technical Services, Inc., Copyright © 2010.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://www.exceluser.com/cmd.asp?Clk=2474005" rel="nofollow" ><IMG SRC="http://www.exceluser.com/images/info/pub/pnp468_01.jpg" ALT="Create Excel dashboards quickly with Plug-N-Play reports." WIDTH="468" HEIGHT="60" border=0></a><br />
<br /><img src="http://www.exceluser.com/cmd.asp?Imp=2474005" width="0" height="0" border="0"></p>



Bookmark and share this entry:


	<a rel="nofollow"  href="http://twitter.com/home?status=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables%20-%20http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F" title="Twitter"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F&amp;title=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables&amp;bodytext=In%20Preliminary%20Data%20Exploration%20in%20Excel%20I%20showed%20how%20to%20start%20the%20process%20of%20analyzing%20a%20table%20of%20data.%20The%20data%20I%20started%20with%20was%20a%20flat%20table%2C%20one%20row%20per%20observation%2C%20but%20it%20wasn%27t%20normalized.%20That%20is%2C%20each%20input%20parameter%20had%20its%20own%20field.%20A%20m" title="Digg"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F&amp;t=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables" title="Facebook"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F&amp;title=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables&amp;source=Peltier+Tech+Blog+Peltier+Tech+Excel+Charts+and+Programming+Blog&amp;summary=In%20Preliminary%20Data%20Exploration%20in%20Excel%20I%20showed%20how%20to%20start%20the%20process%20of%20analyzing%20a%20table%20of%20data.%20The%20data%20I%20started%20with%20was%20a%20flat%20table%2C%20one%20row%20per%20observation%2C%20but%20it%20wasn%27t%20normalized.%20That%20is%2C%20each%20input%20parameter%20had%20its%20own%20field.%20A%20m" title="LinkedIn"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F&amp;title=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables&amp;notes=In%20Preliminary%20Data%20Exploration%20in%20Excel%20I%20showed%20how%20to%20start%20the%20process%20of%20analyzing%20a%20table%20of%20data.%20The%20data%20I%20started%20with%20was%20a%20flat%20table%2C%20one%20row%20per%20observation%2C%20but%20it%20wasn%27t%20normalized.%20That%20is%2C%20each%20input%20parameter%20had%20its%20own%20field.%20A%20m" title="del.icio.us"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F" title="Technorati"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F&amp;title=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables" title="StumbleUpon"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F&amp;title=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables&amp;annotation=In%20Preliminary%20Data%20Exploration%20in%20Excel%20I%20showed%20how%20to%20start%20the%20process%20of%20analyzing%20a%20table%20of%20data.%20The%20data%20I%20started%20with%20was%20a%20flat%20table%2C%20one%20row%20per%20observation%2C%20but%20it%20wasn%27t%20normalized.%20That%20is%2C%20each%20input%20parameter%20had%20its%20own%20field.%20A%20m" title="Google Bookmarks"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F&amp;title=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables" title="Reddit"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F&amp;t=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables" title="MySpace"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F" title="Slashdot"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F&amp;submitHeadline=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables&amp;submitSummary=In%20Preliminary%20Data%20Exploration%20in%20Excel%20I%20showed%20how%20to%20start%20the%20process%20of%20analyzing%20a%20table%20of%20data.%20The%20data%20I%20started%20with%20was%20a%20flat%20table%2C%20one%20row%20per%20observation%2C%20but%20it%20wasn%27t%20normalized.%20That%20is%2C%20each%20input%20parameter%20had%20its%20own%20field.%20A%20m&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-with-excel-pivot-tables%2F&amp;t=Preliminary%20Data%20Exploration%20with%20Excel%20Pivot%20Tables&amp;s=In%20Preliminary%20Data%20Exploration%20in%20Excel%20I%20showed%20how%20to%20start%20the%20process%20of%20analyzing%20a%20table%20of%20data.%20The%20data%20I%20started%20with%20was%20a%20flat%20table%2C%20one%20row%20per%20observation%2C%20but%20it%20wasn%27t%20normalized.%20That%20is%2C%20each%20input%20parameter%20had%20its%20own%20field.%20A%20m" title="Tumblr"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/preliminary-data-exploration-with-excel-pivot-tables/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Preliminary Data Exploration in Excel</title>
		<link>http://peltiertech.com/WordPress/preliminary-data-exploration-in-excel/</link>
		<comments>http://peltiertech.com/WordPress/preliminary-data-exploration-in-excel/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 06:00:37 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2294</guid>
		<description><![CDATA[A few well-designed charts, based on carefully manipulated data, can bring a lot of understanding to a set of data. This is an example taken from a manufacturing facility; the data has been obfuscated to protect any trade secrets, but then, I&#8217;ve been out of manufacturing for over five years.
The data consists of 71 mixtures; [...]]]></description>
			<content:encoded><![CDATA[<p>A few well-designed charts, based on carefully manipulated data, can bring a lot of understanding to a set of data. This is an example taken from a manufacturing facility; the data has been obfuscated to protect any trade secrets, but then, I&#8217;ve been out of manufacturing for over five years.</p>
<p>The data consists of 71 mixtures; here is a subset of the data. There are six factors, each with multiple levels, and one result from each. For this process, it is desirable to have as small a result value as possible. Like most industrial experiments, this one has a large matrix, and it is only partially filled in. Perhaps the missing data represents such poor performance that the mixtures were discarded without being analyzed. Perhaps the experimental project ran out of time, or materials, or budget. The missing data makes it difficult to perform your typical statistical analysis, but we can borrow statistical methods and still gain some valuable insight.</p>
<p>In this example, we&#8217;ll look at Marginal Means plots and Interaction Plots.</p>
<p align="center"><span id="more-2294"></span><img src="http://peltiertech.com/images/2009-07/datalist.png" alt="A peek at the data" /></p>
<p><strong>Marginal Means Plots</strong></p>
<p>Here is a simple looking table used to calculate marginal means, which are the means for each level of a factor, averaged over all levels of all other factors. For example, of all the mixtures, the average for all mixtures that involve Mixer A is 1.603. As described, this is not a statistically rigorous marginal means analysis because of the unfilled nodes in the experimental design matrix. Regardless, it can provide useful insights into the manufacturing process.</p>
<p>The shaded cells will be used as the source data of a marginal means plot. Green shaded cells must be empty. Tan cells should contain a space character, which doesn&#8217;t show but makes the category axis labels line up. Yellow cells are the rest of the source data.</p>
<p>The formula in cell M44, shown below, is copied into the non-blank cells in M44:M66.</p>
<p><tt class="tt">=SUMIF(OFFSET($A$2:$A$72,0,$J44),$L44,$H$2:$H$72)/<br />
 COUNTIF(OFFSET($A$2:$A$72,0,$J44),$L44)</tt></p>
<p>A2:A72 is the first column of data, showing the mixture number. Here&#8217;s how it works:</p>
<ul style="margin-left: 24px;">
<li>Offset finds the column for the given factor, which is offset from A2:A72 (the mixture number column) by the value in column J. The Mixer data is one column right of the Mixture Numbers.</li>
<li>Sumif compares this factor column to the appropriate factor level in column L, and if it matches, includes in the total the value in the results column, H2:H72.</li>
<li>Countif makes the same comparison, but only counts one for each match, without adding the results value.</li>
<li>Sumif divided by Countif produces the average.</li>
</ul>
<p align="center"><img src="http://peltiertech.com/images/2009-07/marginalmeanstablesmall.png" alt="Simple Marginal Means table" /></p>
<p>A line chart is produced from the shaded cells. The empty cells (green) provide the gaps between the connected points of each factor.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/marginalmeansplotsingle.png" alt="Simple Marginal Means plot" />.</p>
<p>A marginal means plot resembles a <a href="http://peltiertech.com/WordPress/statistics-main-effects-plot/"title="Main Effects Plot | PTS Blog" >Main Effects Plot</a></p>
<p>An alternative arrangement of worksheet formulas produces one column of calculations per factor, and therefore one series per factor, allowing for easy formatting of different factor averages. The color scheme is the same as above: shaded cells are the chart&#8217;s source data range, and green cells must be empty. I&#8217;ve used conditional formatting to de-emphasize but not completely hide the #N/A values.</p>
<p>The formula in cell m5, which is copied into the entire range M5:R22, is</p>
<p><tt class="tt">=IF($J5=M$3,SUMIF(OFFSET($A$2:$A$72,0,$J5),$L5,$H$2:$H$72)/<br />
 COUNTIF(OFFSET($A$2:$A$72,0,$J5),$L5),NA())</tt></p>
<p>The Sumif and Countif are the same as above, but the calculation is only performed if the index in column J matches the number in row 3. Otherwise the formula returns NA(), or #N/A, which will not be plotted in our line chart. The resulting table has values along the diagonal.<br class="spacer_" /></p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/marginalmeanstablelarge.png" alt="Extended Marginal Means table" /></p>
<p>The shaded area is used to create an alternate marginal means plot. No breaks in the line is needed, because the breaks already occur between different series.<br class="spacer_" /></p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/marginalmeansplotmulti.png" alt="Enhanced Marginal Means plot" /></p>
<p>What does the marginal means plot tell us? Recalling that smaller result values are better, we see that Mixer B produces the best results, higher values of Amount are bad. Carp beats Slug, results improve steadily as Pctg values increase, as are larger Add values. The Gap form is a bit better than Ant, and both are far superior to None.</p>
<p>This is a good first cut of the data. We can eliminate None in the Form factor and lower Pctg values. But the plant manager needs to evaluate the data more closely, because he has two nonnegotiable constraints:</p>
<ul style="margin-left: 24px;">
<li>The result must be less than 1, and preferably less than 0.5.</li>
<li>An acceptable result must be achieved using any of the Mixers.</li>
</ul>
<p><strong>Interaction Plots</strong></p>
<p>We now need to look at interactions between the different factors. As with the marginal means analysis, missing values in the experimental matrix make a rigorous statistical analysis impossible. But we can still gain insights from such an analysis.</p>
<p>The interactions table is pretty complicated. The color scheme is the same: shaded indicates chart data, green are cells that have to remain empty, and tan should contain a space character.</p>
<p>Whereas our extended marginal means table had data on the diagonal, the interactions table has no plottable data along the diagonals, because the interaction of a factor with itself in undefined.</p>
<p>The formula in W6, which is copied into all of the non-blank cells of the table, is</p>
<p><tt class="tt">=IF($T6=W$3,NA(),<br />
 IF(SUMPRODUCT(--(OFFSET($A$2:$A$72,0,$T6)=$V6),--(OFFSET($A$2:$A$72,0,W$3)=W$5))=0,NA(),<br />
 SUMPRODUCT(--(OFFSET($A$2:$A$72,0,$T6)=$V6),--(OFFSET($A$2:$A$72,0,W$3)=W$5),$H$2:$H$72)/<br />
 SUMPRODUCT(--(OFFSET($A$2:$A$72,0,$T6)=$V6),--(OFFSET($A$2:$A$72,0,W$3)=W$5))))</tt></p>
<p>Here&#8217;s how the formula works:</p>
<ul style="margin-left: 24px;">
<li>If the index in column T matches that in row 3, it returns a non-plotting #N/A error.</li>
<li>The first Sumproduct counts how many mixtures match the indicated level of one factor with that of another factor. If this value is zero, we return the #N/A error. Otherwise we&#8217;d get a #DIV/0! error, which plots as if it were a zero value.</li>
<li>The second Sumproduct adds up the results values for each mixture that is counted in the first Sumproduct.</li>
<li>The third Sumproduct is the same as the first, and it counts the matching mixtures.</li>
<li>The results total divided by the number of results is the average.</li>
</ul>
<p align="center"><img src="http://peltiertech.com/images/2009-07/interactionstable.png" alt="Interactions table" /></p>
<p>We could plot this entire table, but the chart would be crowded and impossible to decipher.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/interactionmess.png" alt="Interactions spaghetti plot" /></p>
<p>It makes more sense to break this into six different plots, one per factor.</p>
<p>Looking at the first one gives insight into what factor levels would produce acceptable results for all mixers. 0% Amount, Carp, 4.0% Pctg, Gap or Ant (but probably Ant), and Add 2 or 4 (probably 4). Follow-up mixtures should be evaluated to test these conditions and to determine how tight the limits should be. For example , can we get away with Add of 1, especially if this is an expensive Add. Or, can we really use either Gap or Ant Form, since having a choice provides flexibility in the process.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/interactionsplotA.png" alt="Interactions plot (1 of 6)" /></p>
<p>The other interaction plots support the observations made above.</p>
<p>The next two plots give rise to another observation. When Amount is 0%, Mult is Carp. When Amount is 35% or 50%, Mult is Slug. The plant manager confirms that Slug is added to pure Carp to bring the amount from 0% to 35% and 50%. This means we can remove the factor Mult from the analysis to clean things up a bit.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/interactionsplotB.png" alt="Interactions plot (2 of 6)" /><br />
 <img src="http://peltiertech.com/images/2009-07/interactionsplotC.png" alt="Interactions plot (3 of 6)" /></p>
<p>If we pore over the other interaction plots we may come up with additional simplifications, or perhaps other higher-order interactions to investigate.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/interactionsplotD.png" alt="Interactions plot (4 of 6)" /><br />
 <img src="http://peltiertech.com/images/2009-07/interactionsplotE.png" alt="Interactions plot (5 of 6)" /><br />
 <img src="http://peltiertech.com/images/2009-07/interactionsplotF.png" alt="Interactions plot (6 of 6)" /></p>
<p><strong>Summary</strong></p>
<p>There are a large number of standardized statistical methods which can help us gain insight into the important processes around us. Even if we lack the required data for a rigorous statistical treatment, we can still make useful observations using these methods. And we often find that, instead of answering questions, such analyses merely show us what other questions we should ask.</p>
<p><strong>Follow Up</strong></p>
<p>In <a href="http://peltiertech.com/WordPress/preliminary-data-exploration-with-excel-pivot-tables/"title="Preliminary Data Exploration with Excel Pivot Tables | PTS Blog" >Preliminary Data Exploration with Excel Pivot Tables</a> I show how to carry out this analysis using pivot tables and a somewhat tweaked data source, rather than cumbersome formulas.</p>
<p>Peltier Technical Services, Inc., Copyright © 2010.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://www.exceluser.com/cmd.asp?Clk=2474005" rel="nofollow" ><IMG SRC="http://www.exceluser.com/images/info/pub/pnp468_01.jpg" ALT="Create Excel dashboards quickly with Plug-N-Play reports." WIDTH="468" HEIGHT="60" border=0></a><br />
<br /><img src="http://www.exceluser.com/cmd.asp?Imp=2474005" width="0" height="0" border="0"></p>



Bookmark and share this entry:


	<a rel="nofollow"  href="http://twitter.com/home?status=Preliminary%20Data%20Exploration%20in%20Excel%20-%20http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F" title="Twitter"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F&amp;title=Preliminary%20Data%20Exploration%20in%20Excel&amp;bodytext=A%20few%20well-designed%20charts%2C%20based%20on%20carefully%20manipulated%20data%2C%20can%20bring%20a%20lot%20of%20understanding%20to%20a%20set%20of%20data.%20This%20is%20an%20example%20taken%20from%20a%20manufacturing%20facility%3B%20the%20data%20has%20been%20obfuscated%20to%20protect%20any%20trade%20secrets%2C%20but%20then%2C%20I%27ve%20been" title="Digg"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F&amp;t=Preliminary%20Data%20Exploration%20in%20Excel" title="Facebook"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F&amp;title=Preliminary%20Data%20Exploration%20in%20Excel&amp;source=Peltier+Tech+Blog+Peltier+Tech+Excel+Charts+and+Programming+Blog&amp;summary=A%20few%20well-designed%20charts%2C%20based%20on%20carefully%20manipulated%20data%2C%20can%20bring%20a%20lot%20of%20understanding%20to%20a%20set%20of%20data.%20This%20is%20an%20example%20taken%20from%20a%20manufacturing%20facility%3B%20the%20data%20has%20been%20obfuscated%20to%20protect%20any%20trade%20secrets%2C%20but%20then%2C%20I%27ve%20been" title="LinkedIn"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F&amp;title=Preliminary%20Data%20Exploration%20in%20Excel&amp;notes=A%20few%20well-designed%20charts%2C%20based%20on%20carefully%20manipulated%20data%2C%20can%20bring%20a%20lot%20of%20understanding%20to%20a%20set%20of%20data.%20This%20is%20an%20example%20taken%20from%20a%20manufacturing%20facility%3B%20the%20data%20has%20been%20obfuscated%20to%20protect%20any%20trade%20secrets%2C%20but%20then%2C%20I%27ve%20been" title="del.icio.us"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F" title="Technorati"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F&amp;title=Preliminary%20Data%20Exploration%20in%20Excel" title="StumbleUpon"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F&amp;title=Preliminary%20Data%20Exploration%20in%20Excel&amp;annotation=A%20few%20well-designed%20charts%2C%20based%20on%20carefully%20manipulated%20data%2C%20can%20bring%20a%20lot%20of%20understanding%20to%20a%20set%20of%20data.%20This%20is%20an%20example%20taken%20from%20a%20manufacturing%20facility%3B%20the%20data%20has%20been%20obfuscated%20to%20protect%20any%20trade%20secrets%2C%20but%20then%2C%20I%27ve%20been" title="Google Bookmarks"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F&amp;title=Preliminary%20Data%20Exploration%20in%20Excel" title="Reddit"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F&amp;t=Preliminary%20Data%20Exploration%20in%20Excel" title="MySpace"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Preliminary%20Data%20Exploration%20in%20Excel&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F" title="Slashdot"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F&amp;submitHeadline=Preliminary%20Data%20Exploration%20in%20Excel&amp;submitSummary=A%20few%20well-designed%20charts%2C%20based%20on%20carefully%20manipulated%20data%2C%20can%20bring%20a%20lot%20of%20understanding%20to%20a%20set%20of%20data.%20This%20is%20an%20example%20taken%20from%20a%20manufacturing%20facility%3B%20the%20data%20has%20been%20obfuscated%20to%20protect%20any%20trade%20secrets%2C%20but%20then%2C%20I%27ve%20been&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpreliminary-data-exploration-in-excel%2F&amp;t=Preliminary%20Data%20Exploration%20in%20Excel&amp;s=A%20few%20well-designed%20charts%2C%20based%20on%20carefully%20manipulated%20data%2C%20can%20bring%20a%20lot%20of%20understanding%20to%20a%20set%20of%20data.%20This%20is%20an%20example%20taken%20from%20a%20manufacturing%20facility%3B%20the%20data%20has%20been%20obfuscated%20to%20protect%20any%20trade%20secrets%2C%20but%20then%2C%20I%27ve%20been" title="Tumblr"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/preliminary-data-exploration-in-excel/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>More Web Stats Madness</title>
		<link>http://peltiertech.com/WordPress/more-web-stats-madness/</link>
		<comments>http://peltiertech.com/WordPress/more-web-stats-madness/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 14:10:08 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Alexa]]></category>
		<category><![CDATA[site statistics]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2203</guid>
		<description><![CDATA[Yesterday we were treated to discussions about the visitor stats of several Excel bloggers:
Chandoo: June was Pointy Haired Dilbert Blog&#8217;s Best month ever
 J-Walk&#8217;s Spreadsheet Page Blog: June Visitor Stats
 Daily Dose of Excel&#8217;s June Stats
 PTS Blog&#8217;s Web Stats – June 2009
 Debra&#8217;s Contextures 200906 Site Stats
I thought it would be interesting to compare [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday we were treated to discussions about the visitor stats of several Excel bloggers:</p>
<p>Chandoo: June was Pointy Haired Dilbert Blog&#8217;s <a href="http://chandoo.org/wp/2009/07/01/best-month-ever/" rel="nofollow" >Best month ever</a><br />
 J-Walk&#8217;s Spreadsheet Page Blog: June <a href="http://spreadsheetpage.com/index.php/comments/visitor_stats/" rel="nofollow" >Visitor Stats</a><br />
 Daily Dose of Excel&#8217;s <a href="http://www.dailydoseofexcel.com/archives/2009/07/01/june-stats/" rel="nofollow" >June Stats</a><br />
 PTS Blog&#8217;s <a href="http://peltiertech.com/WordPress/web-stats-june-2009/">Web Stats – June 2009</a><br />
 Debra&#8217;s Contextures <a href="http://blog.contextures.com/archives/2009/07/02/200906-site-stats/" rel="nofollow" >200906 Site Stats</a></p>
<p>I thought it would be interesting to compare some of my favorite blogs and web sites. Unless you have access to the data for each site, it&#8217;s not so easy. One service that lets you make comparisons is <a href="http://alexa.com/" rel="nofollow" title="Alexa.com" >Alexa</a>. Using Alexa you can compare up to five sites in a number of categories. I usually look at Reach, Pageviews, and Traffic Rank, which are defined by Alexa as follows:</p>
<p><span id="more-2203"></span><strong>Reach </strong>measures the number of users. Reach is typically expressed as the percentage of all Internet users who visit a given site.</p>
<p><strong>Pageviews </strong>measure the number of pages viewed by site visitors. Multiple page views of the same page made by the same user on the same day are counted only once.</p>
<p><strong>Traffic rank </strong>is based on three months of aggregated historical traffic data from millions of Alexa Toolbar users and data obtained from other, diverse traffic data sources, and is a combined measure of page views and users (reach).</p>
<p>I plotted a few groups of data, since Alexa only allows five curves on a chart. Since this is my blog, I plotted the Peltier Tech data on all charts, as a benchmark. In the first group I plotted Daily Dose and Spreadsheet Page. Then I wondered whether John Walkenbach&#8217;s old site, J-Walk.com, is still getting traffic, taking away from Spreadsheet Page. Finally I added old pal Tushar Mehta&#8217;s site, since he&#8217;s been around a long time (after j-walk.com but before peltiertech.com).</p>
<p>I&#8217;m pulling a slightly larger audience than the other sites, according to the Reach figures. I don&#8217;t know what the spike is in early May: it doesn&#8217;t show up in any other website analytics service I follow.</p>
<p>Daily Dose and Spreadsheet Page are close to each other, and it looks like j-walk.com still has a significant presence. John could do some .htaccess magic to transfer the link juice to his newer site.</p>
<p>It would be nice to be able to rescale the Y axis, maybe 0 to 0.007%, to provide a little resolution at the low end. Or maybe use a log scale.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/reach-pts-jw-sspg-ddoe-tm.png" alt="Reach: PTS Blog, J-Walk, Spreadsheet Page, Daily Dose of Excel, and Tushar-Mehta" /></p>
<p>Pageviews is a hard chart to analyze. Again, stretching the Y axis to scale from 0 to 0.0002% or using a log scale would spread out the low-end values.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/views-pts-jw-sspg-ddoe-tm.png" alt="Pageviews: PTS Blog, J-Walk, Spreadsheet Page, Daily Dose of Excel, and Tushar-Mehta" /></p>
<p>Traffic Rank is shown on a logarithmic scale. I don&#8217;t know what kind of algorithm Alexa uses to get Rank from Pageviews and Reach, but it must be somehow multiplicative. A slight advantage in both measures of Peltier Tech over the others means Peltier Tech is visible near the bottom (actually, alternating above and below the X axis), while  the others are apparently below the axis.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/rank-pts-jw-sspg-ddoe-tm.png" alt="Traffic Rank: PTS Blog, J-Walk, Spreadsheet Page, Daily Dose of Excel, and Tushar-Mehta" /></p>
<p>In my next group, I included The Spreadsheet Page (again), and I added Chandoo&#8217;s Pointy Hairde Dilbert, since he started this whole discussion. I&#8217;ve also included Debra Dalgleish&#8217;s popular Contextures web site, and also Chip Pearson&#8217;s encyclopedic site.</p>
<p>Chip pretty much owns the rest of us in terms of Reach, except for my early May spike, and Chandoo&#8217;s Lifehacker spike in mid-June. Debra&#8217;s site is consistently close to Chip&#8217;s and a bit higher than mine. PHD and Spreadsheet Page track each other fairly closely, except for Chandoo&#8217;s spike in June.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/reach-pts-chan-sspg-chip-deb.png" alt="Reach: PTS Blog, Pointy Haired Dilbert, Spreadsheet Page, Chip Pearson, and Contextures" /></p>
<p>As before, the inflexible Y axis scale makes Pageviews simply a reminder to mow the lawn.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/views-pts-chan-sspg-chip-deb.png" alt="Pageviews: PTS Blog, Pointy Haired Dilbert, Spreadsheet Page, Chip Pearson, and Contextures" /></p>
<p>Traffic Rank shows all of us venturing into visible territory, with the relative placements similar to those shown in the Reach chart.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/rank-pts-chan-sspg-chip-deb.png" alt="Traffic Rank: PTS Blog, Pointy Haired Dilbert, Spreadsheet Page, Chip Pearson, and Contexturesa" /></p>
<p>To put this all into perspective, I decided to compare my site to a few larger ones, namely Amazon, Microsoft, and Google. These sites are a little more popular, so Alexa&#8217;s Y axes expand upwards to accommodate them (and push my data ever lower in the charts).</p>
<p>If you look closely at the Reach chart you can see Peltier Tech: it&#8217;s the blue line obscuring the X axis. Compared to Google, Microsoft and Amazon are near the bottom. On a log scale, they&#8217;d be much closer to Google than to Peltier Tech.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/reach-pts-amz-ms-goog.png" alt="Reach: PTS Blog, Amazon, Microsoft, and Google" /></p>
<p>Again, Peltier Tech is coloring the X axis blue in the Pageviews chart. Again, Google&#8217;s numbers dwarf Amazon&#8217;s and Microsoft&#8217;s.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/views-pts-amz-ms-goog.png" alt="Pageviews: PTS Blog, Amazon, Microsoft, and Google" /></p>
<p>At least the Peltier Tech site shows a little texture in Traffic Rank. Good thing that&#8217;s a logarithmic scale! Google&#8217;s rank serves as the gridline for Y=1. The log scale also helps MS and AMZ stay near the top of the chart, with ranks around 15 and 30.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-07/rank-pts-amz-ms-goog.png" alt="Traffic Rank: PTS Blog, Amazon, Microsoft, and Google" /></p>
<p>So what does all of this mean? I don&#8217;t know, but it&#8217;s a fun way to kill a little time. I guess I can rest assured that the Peltier Tech web site is in the middle of the pack of the popular Excel sites. But if all of you readers tell your friends, and twitter all about my site, and your friends all post on FaceBook about Peltier Tech, and I don&#8217;t know, we throw in a little MySpace and Digg and Technorati and other funny sounding words, and the momentum grows, I&#8217;ll probably still be firmly lodged in the middle of the pack.</p>
<p><br class="spacer_" /></p>
<p>Peltier Technical Services, Inc., Copyright © 2010.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://www.exceluser.com/cmd.asp?Clk=2474005" rel="nofollow" ><IMG SRC="http://www.exceluser.com/images/info/pub/pnp468_01.jpg" ALT="Create Excel dashboards quickly with Plug-N-Play reports." WIDTH="468" HEIGHT="60" border=0></a><br />
<br /><img src="http://www.exceluser.com/cmd.asp?Imp=2474005" width="0" height="0" border="0"></p>



Bookmark and share this entry:


	<a rel="nofollow"  href="http://twitter.com/home?status=More%20Web%20Stats%20Madness%20-%20http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F" title="Twitter"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F&amp;title=More%20Web%20Stats%20Madness&amp;bodytext=Yesterday%20we%20were%20treated%20to%20discussions%20about%20the%20visitor%20stats%20of%20several%20Excel%20bloggers%3A%0D%0A%0D%0AChandoo%3A%20June%20was%20Pointy%20Haired%20Dilbert%20Blog%27s%20Best%20month%20ever%0D%0A%20J-Walk%27s%20Spreadsheet%20Page%20Blog%3A%20June%20Visitor%20Stats%0D%0A%20Daily%20Dose%20of%20Excel%27s%20June%20Stats%0D%0A%20PT" title="Digg"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F&amp;t=More%20Web%20Stats%20Madness" title="Facebook"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F&amp;title=More%20Web%20Stats%20Madness&amp;source=Peltier+Tech+Blog+Peltier+Tech+Excel+Charts+and+Programming+Blog&amp;summary=Yesterday%20we%20were%20treated%20to%20discussions%20about%20the%20visitor%20stats%20of%20several%20Excel%20bloggers%3A%0D%0A%0D%0AChandoo%3A%20June%20was%20Pointy%20Haired%20Dilbert%20Blog%27s%20Best%20month%20ever%0D%0A%20J-Walk%27s%20Spreadsheet%20Page%20Blog%3A%20June%20Visitor%20Stats%0D%0A%20Daily%20Dose%20of%20Excel%27s%20June%20Stats%0D%0A%20PT" title="LinkedIn"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F&amp;title=More%20Web%20Stats%20Madness&amp;notes=Yesterday%20we%20were%20treated%20to%20discussions%20about%20the%20visitor%20stats%20of%20several%20Excel%20bloggers%3A%0D%0A%0D%0AChandoo%3A%20June%20was%20Pointy%20Haired%20Dilbert%20Blog%27s%20Best%20month%20ever%0D%0A%20J-Walk%27s%20Spreadsheet%20Page%20Blog%3A%20June%20Visitor%20Stats%0D%0A%20Daily%20Dose%20of%20Excel%27s%20June%20Stats%0D%0A%20PT" title="del.icio.us"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F" title="Technorati"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F&amp;title=More%20Web%20Stats%20Madness" title="StumbleUpon"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F&amp;title=More%20Web%20Stats%20Madness&amp;annotation=Yesterday%20we%20were%20treated%20to%20discussions%20about%20the%20visitor%20stats%20of%20several%20Excel%20bloggers%3A%0D%0A%0D%0AChandoo%3A%20June%20was%20Pointy%20Haired%20Dilbert%20Blog%27s%20Best%20month%20ever%0D%0A%20J-Walk%27s%20Spreadsheet%20Page%20Blog%3A%20June%20Visitor%20Stats%0D%0A%20Daily%20Dose%20of%20Excel%27s%20June%20Stats%0D%0A%20PT" title="Google Bookmarks"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F&amp;title=More%20Web%20Stats%20Madness" title="Reddit"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F&amp;t=More%20Web%20Stats%20Madness" title="MySpace"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=More%20Web%20Stats%20Madness&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F" title="Slashdot"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F&amp;submitHeadline=More%20Web%20Stats%20Madness&amp;submitSummary=Yesterday%20we%20were%20treated%20to%20discussions%20about%20the%20visitor%20stats%20of%20several%20Excel%20bloggers%3A%0D%0A%0D%0AChandoo%3A%20June%20was%20Pointy%20Haired%20Dilbert%20Blog%27s%20Best%20month%20ever%0D%0A%20J-Walk%27s%20Spreadsheet%20Page%20Blog%3A%20June%20Visitor%20Stats%0D%0A%20Daily%20Dose%20of%20Excel%27s%20June%20Stats%0D%0A%20PT&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmore-web-stats-madness%2F&amp;t=More%20Web%20Stats%20Madness&amp;s=Yesterday%20we%20were%20treated%20to%20discussions%20about%20the%20visitor%20stats%20of%20several%20Excel%20bloggers%3A%0D%0A%0D%0AChandoo%3A%20June%20was%20Pointy%20Haired%20Dilbert%20Blog%27s%20Best%20month%20ever%0D%0A%20J-Walk%27s%20Spreadsheet%20Page%20Blog%3A%20June%20Visitor%20Stats%0D%0A%20Daily%20Dose%20of%20Excel%27s%20June%20Stats%0D%0A%20PT" title="Tumblr"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/more-web-stats-madness/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Web Stats &#8211; June 2009</title>
		<link>http://peltiertech.com/WordPress/web-stats-june-2009/</link>
		<comments>http://peltiertech.com/WordPress/web-stats-june-2009/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 19:17:00 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2197</guid>
		<description><![CDATA[Chandoo&#8217;s Pointy Haired Dilbert blog had its best month ever in June, and he posted some stats to prove it. Congratulations, Chandoo!

Pointy Haired Dilbert statistics for June 2009
John Walkenbach responded with his own visitor stats.

The Spreadsheet Page statistics for June 2009
John asked, so here are my June stats, first for the entire Peltier Tech website [...]]]></description>
			<content:encoded><![CDATA[<p>Chandoo&#8217;s Pointy Haired Dilbert blog had its <a href="http://chandoo.org/wp/2009/07/01/best-month-ever/" rel="nofollow" title="Best Month Ever - Pointy Haired Dilbert" >best month ever</a> in June, and he posted some stats to prove it. Congratulations, Chandoo!</p>
<p align="center"><img src="http://peltiertech.com/images/2009-06/stats_phd_200906.png" alt="June 2009 Stats for Pointy Haired Dilbert" /></p>
<p align="center"><strong><em>Pointy Haired Dilbert statistics for June 2009</em></strong></p>
<p><span id="more-2197"></span>John Walkenbach responded with his own <a href="http://spreadsheetpage.com/index.php/blog/visitor_stats/" rel="nofollow" title="Visitor Stats - The Spreadsheet Page" >visitor stats</a>.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-06/stats_jwalk_200906.png" alt="June 2009 Stats for The Spreadsheet Page" /></p>
<p align="center"><em><strong>The Spreadsheet Page statistics for June 2009</strong></em></p>
<p>John asked, so here are my June stats, first for the entire Peltier Tech website (which includes the blog), then for the PTS Blog.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-06/stats_site_200906.png" alt="June 2009 Stats for Peltier Tech Web Site" /></p>
<p align="center"><strong><em>PeltierTech website statistics for June 2009</em></strong></p>
<p align="center"><img src="http://peltiertech.com/images/2009-06/stats_blog_200906.png" alt="June 2009 Stats for PTS Blog" /></p>
<p align="center"><em><strong>PTS Blog statistics for June 2009</strong></em></p>
<p>This was almost the best month for the web site, but March (below) was slightly better (February and April were in between March and June).</p>
<p align="center"><img src="http://peltiertech.com/images/2009-06/stats_site_200903.png" alt="March 2009 Stats for Peltier Tech Web Site" /></p>
<p align="center"><strong><em>PeltierTech website statistics for March 2009</em></strong></p>
<p>June was the highest month for visits and visitors on the blog, but April had more pageviews.</p>
<p align="center"><img src="http://peltiertech.com/images/2009-06/stats_blog_200904.png" alt="April 2009 Stats for PTS Blog" /></p>
<p align="center"><em><strong>PTS Blog statistics for April 2009</strong></em></p>
<p>My stats show &#8220;typical&#8221; daily variation, with high weekday and low weekend, for visits, visitors, and pages, while the other measures are flat. John has the same daily variation in visits, visitors, and pages, while hispages per visit and time per visit are higher on weekends. I think this means that people spend more time on his site on weekends, when they have more time to poke around.</p>
<p>Chandoo&#8217;s stats in the second week of June are crazy, higher and less regular than the rest of the month, which may show a regular variation except for the distraction of the second week. The peak in Chandoo&#8217;s numbers probably corresponds to the June 12 announcement of the new <a href="http://chandoo.org/wp/2009/06/12/introducing-chart-doctor/" rel="nofollow" title="Bring out your bad charts, the ChartBusters are here… " >Chart Busters</a> feature he and I are working together. This announcement led to some controversy, as it at first used the name Chart Doctor, which is also the name of a  feature on Kelly O&#8217;Day&#8217;s <a href="http://processtrends.com/"title="Process Trends" rel="nofollow" >Process Trends</a> web site.<br class="spacer_" /></p>
<p>Peltier Technical Services, Inc., Copyright © 2010.<br /> <br /><span style="font: 80% Verdana,Tahoma,Arial,sans-serif;">Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" rel="license" >Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>.<br /> <br />
<a href="http://www.exceluser.com/cmd.asp?Clk=2474005" rel="nofollow" ><IMG SRC="http://www.exceluser.com/images/info/pub/pnp468_01.jpg" ALT="Create Excel dashboards quickly with Plug-N-Play reports." WIDTH="468" HEIGHT="60" border=0></a><br />
<br /><img src="http://www.exceluser.com/cmd.asp?Imp=2474005" width="0" height="0" border="0"></p>



Bookmark and share this entry:


	<a rel="nofollow"  href="http://twitter.com/home?status=Web%20Stats%20-%20June%202009%20-%20http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F" title="Twitter"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F&amp;title=Web%20Stats%20-%20June%202009&amp;bodytext=Chandoo%27s%20Pointy%20Haired%20Dilbert%20blog%20had%20its%20best%20month%20ever%20in%20June%2C%20and%20he%20posted%20some%20stats%20to%20prove%20it.%20Congratulations%2C%20Chandoo%21%0D%0A%0D%0A%0D%0A%0D%0APointy%20Haired%20Dilbert%20statistics%20for%20June%202009%0D%0A%0D%0AJohn%20Walkenbach%20responded%20with%20his%20own%20visitor%20stats.%0D%0A%0D%0A%0D%0A" title="Digg"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F&amp;t=Web%20Stats%20-%20June%202009" title="Facebook"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F&amp;title=Web%20Stats%20-%20June%202009&amp;source=Peltier+Tech+Blog+Peltier+Tech+Excel+Charts+and+Programming+Blog&amp;summary=Chandoo%27s%20Pointy%20Haired%20Dilbert%20blog%20had%20its%20best%20month%20ever%20in%20June%2C%20and%20he%20posted%20some%20stats%20to%20prove%20it.%20Congratulations%2C%20Chandoo%21%0D%0A%0D%0A%0D%0A%0D%0APointy%20Haired%20Dilbert%20statistics%20for%20June%202009%0D%0A%0D%0AJohn%20Walkenbach%20responded%20with%20his%20own%20visitor%20stats.%0D%0A%0D%0A%0D%0A" title="LinkedIn"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F&amp;title=Web%20Stats%20-%20June%202009&amp;notes=Chandoo%27s%20Pointy%20Haired%20Dilbert%20blog%20had%20its%20best%20month%20ever%20in%20June%2C%20and%20he%20posted%20some%20stats%20to%20prove%20it.%20Congratulations%2C%20Chandoo%21%0D%0A%0D%0A%0D%0A%0D%0APointy%20Haired%20Dilbert%20statistics%20for%20June%202009%0D%0A%0D%0AJohn%20Walkenbach%20responded%20with%20his%20own%20visitor%20stats.%0D%0A%0D%0A%0D%0A" title="del.icio.us"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F" title="Technorati"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F&amp;title=Web%20Stats%20-%20June%202009" title="StumbleUpon"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F&amp;title=Web%20Stats%20-%20June%202009&amp;annotation=Chandoo%27s%20Pointy%20Haired%20Dilbert%20blog%20had%20its%20best%20month%20ever%20in%20June%2C%20and%20he%20posted%20some%20stats%20to%20prove%20it.%20Congratulations%2C%20Chandoo%21%0D%0A%0D%0A%0D%0A%0D%0APointy%20Haired%20Dilbert%20statistics%20for%20June%202009%0D%0A%0D%0AJohn%20Walkenbach%20responded%20with%20his%20own%20visitor%20stats.%0D%0A%0D%0A%0D%0A" title="Google Bookmarks"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F&amp;title=Web%20Stats%20-%20June%202009" title="Reddit"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F&amp;t=Web%20Stats%20-%20June%202009" title="MySpace"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Web%20Stats%20-%20June%202009&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F" title="Slashdot"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F&amp;submitHeadline=Web%20Stats%20-%20June%202009&amp;submitSummary=Chandoo%27s%20Pointy%20Haired%20Dilbert%20blog%20had%20its%20best%20month%20ever%20in%20June%2C%20and%20he%20posted%20some%20stats%20to%20prove%20it.%20Congratulations%2C%20Chandoo%21%0D%0A%0D%0A%0D%0A%0D%0APointy%20Haired%20Dilbert%20statistics%20for%20June%202009%0D%0A%0D%0AJohn%20Walkenbach%20responded%20with%20his%20own%20visitor%20stats.%0D%0A%0D%0A%0D%0A&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fweb-stats-june-2009%2F&amp;t=Web%20Stats%20-%20June%202009&amp;s=Chandoo%27s%20Pointy%20Haired%20Dilbert%20blog%20had%20its%20best%20month%20ever%20in%20June%2C%20and%20he%20posted%20some%20stats%20to%20prove%20it.%20Congratulations%2C%20Chandoo%21%0D%0A%0D%0A%0D%0A%0D%0APointy%20Haired%20Dilbert%20statistics%20for%20June%202009%0D%0A%0D%0AJohn%20Walkenbach%20responded%20with%20his%20own%20visitor%20stats.%0D%0A%0D%0A%0D%0A" title="Tumblr"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/web-stats-june-2009/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Polynomial Fit vs. Statistical Process Control</title>
		<link>http://peltiertech.com/WordPress/polynomial-fit-vs-statistical-process-control/</link>
		<comments>http://peltiertech.com/WordPress/polynomial-fit-vs-statistical-process-control/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 03:15:37 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[control chart]]></category>
		<category><![CDATA[Formatting]]></category>
		<category><![CDATA[Run Chart]]></category>
		<category><![CDATA[Statistical Process Control]]></category>
		<category><![CDATA[Trendlines]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=574</guid>
		<description><![CDATA[I&#8217;ve written a bit about regression and curve fitting; see Regression Approach to a Simple Physics Problem, Choosing a Trendline Type, and Trendline Fitting Errors. A blog reader asked for help with some sample data that he couldn&#8217;t fit. Here is the data.

I plotted the data and gave it the hairy eyeball. Not a linear [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written a bit about regression and curve fitting; see <a href="http://peltiertech.com/WordPress/2008/09/10/regression-approach-to-a-simple-physics-problem/"title="Regression Approach to a Simple Physics Problem" >Regression Approach to a Simple Physics Problem</a>, <a href="http://peltiertech.com/WordPress/2008/09/09/choosing-a-trendline-type/"title="Choosing a Trendline Type" >Choosing a Trendline Type</a>, and <a href="http://peltiertech.com/WordPress/2008/09/05/trendline-fitting-errors/"class="simple_alink" title="Trendline Fitting Errors" >Trendline Fitting Errors</a>. A blog reader asked for help with some sample data that he couldn&#8217;t fit. Here is the data.</p>
<p align="center"><img title="Table" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroTable.png" alt="Table" /></p>
<p>I plotted the data and gave it the hairy eyeball. Not a linear trend, maybe something quadratic.</p>
<p align="center"><img title="Data" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroData.png" alt="Data" /></p>
<p><span id="more-574"></span><strong>Attempted Regression</strong></p>
<p>The blog reader had fitted a 6th order polynomial trendline, and was having trouble using it to predict values. My fit is shown below, and I had no such problems with predictions matching the trendline. I suspect the user had insufficient precision in his coefficients, which is covered in <a href="http://peltiertech.com/WordPress/2008/09/05/trendline-fitting-errors/"class="simple_alink" title="Trendline Fitting Errors" >Trendline Fitting Errors</a>.</p>
<p align="center"><img title="Poly Fit" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroPolyFit.png" alt="Poly Fit" /></p>
<p>The 6th order fit isn&#8217;t really all that great. I decided it really isn&#8217;t much better than the quadratic fit I had initially suspected.</p>
<p align="center"><img title="Poly Fit" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroPolyFit2.png" alt="Poly Fit" /></p>
<p>Then I thought the data almost fit two line segments over different ranges of data. I&#8217;ve plotted these below.</p>
<p align="center"><img title="Bi-Linear Fit" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroBiLinear.png" alt="Bi-Linear Fit" /></p>
<p>I replied to the user with this suggestion, and he said that wouldn&#8217;t work, because the data would have to be fitted with many line segments, because the data he gave me was only part of a much larger sequence of values.</p>
<p><strong>Run Charts</strong></p>
<p>I thought a moment and realized that with many weeks of repeated data, what the user needed was an approach based on <a href="http://peltiertech.com/WordPress/2008/04/30/statistical-process-control/"title="Statistical Process Control" >Statistical Process Control</a>. I wrote about Control charts in <a href="http://peltiertech.com/WordPress/2008/05/01/introducing-control-charts-run-charts/"title="Introducing Control Charts" >Introducing Control Charts (Run Charts)</a>. This is an opportunity to illustrate another set of run charts. In this example, I relied on techniques from  a small, 136-page book called <a href="http://www.amazon.com/gp/product/0945320531?ie=UTF8&amp;amp;amp;amp;tag=peltiertechni-20&amp;amp;amp;amp;linkCode=as2&amp;amp;amp;amp;camp=1789&amp;amp;amp;amp;creative=9325&amp;amp;amp;amp;creativeASIN=0945320531" rel="nofollow" >Understanding Variation<img style="border: none ; margin: 0px ;" src="http://www.assoc-amazon.com/e/ir?t=peltiertechni-20&amp;amp;amp;amp;l=as2&amp;amp;amp;amp;o=1&amp;amp;amp;amp;a=0945320531" border="0" alt="" width="1" height="1" /></a>.</p>
<p style="text-align: center;"><a href="http://www.amazon.com/gp/product/0945320531?ie=UTF8&amp;amp;amp;tag=peltiertechni-20&amp;amp;amp;linkCode=as2&amp;amp;amp;=1789&amp;amp;amp;creative=9325&amp;amp;amp;creativeASIN=0945320531" rel="nofollow" ><img src="http://peltiertech.com/WordPress/wp-content/img200804/41V5P1K8Y2L._SL160_.jpg" border="0" alt="" /></a><img style="border: medium none  ! important; margin: 0px ! important;" src="http://www.assoc-amazon.com/e/ir?t=peltiertechni-20&amp;amp;amp;l=as2&amp;amp;amp;o=1&amp;amp;amp;a=0945320531" border="0" alt="" width="1" height="1" /></p>
<p style="text-align: center;"><a href="http://www.amazon.com/gp/product/0945320531?ie=UTF8&amp;amp;amp;tag=peltiertechni-20&amp;amp;amp;linkCode=as2&amp;amp;amp;camp=1789&amp;amp;amp;creative=9325&amp;amp;amp;creativeASIN=0945320531">Understanding Variation: The Key to Managing Chaos<br />
 Donald J. Wheeler</a><img style="border: none; margin: 0px;" src="http://www.assoc-amazon.com/e/ir?t=peltiertechni-20&amp;amp;amp;l=as2&amp;amp;amp;o=1&amp;amp;amp;a=0945320531" border="0" alt="" width="1" height="1" /></p>
<p>I added a column to my table to calculate the Moving Range, which is simply the absolute value of the difference between the current value and the previous value. This is an easier measure of variation to compute than the standard deviation, though with modern computer hardware and software that&#8217;s not an important consideration.</p>
<p align="center"><img title="Table" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroTable2.png" alt="Table" /></p>
<p><a href="http://peltiertech.com/WordPress/2008/04/30/statistical-process-control/"title="Statistical Process Control" ></a></p>
<p>In any case, I plotted the weekly values data and the moving range data.</p>
<p align="center"><img title="Values" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroValues.png" alt="Values" /><br />
 <img title="Moving Range" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroMvgRng.png" alt="Moving Range" /></p>
<p>I computed the averages of the values data and of the moving ranges. I added horizontal lines to indicate the averages (see <a href="http://peltiertech.com/Excel/Charts/RunChtLines.html" rel="nofollow" >Run Chart with Mean and Standard Deviation Lines</a> for detailed instructions).</p>
<p align="center"><img title="Values with Average" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroValuesAvg.png" alt="Values with Average" /><br />
 <img title="Moving Range with Average" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroMvgRngAvg.png" alt="Moving Range with Average" /></p>
<p>Then I used simple factors to determine upper and lower control limits for these quantities, and I added the limits to the charts.&nbsp; For the values, the control limits are given by:</p>
<pre class="vba">Limit = Average Value ± 2.66 * Average Moving Range
&nbsp;</pre>
<p>For the moving range, the lower control limit is zero and the upper control limit is given by:</p>
<pre class="vba">Limit = 3.27 * Average Moving Range
 </pre>
<p align="center"><img title="Values with Limits" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroValuesLimits.png" alt="Values with Limits" /><br />
 <img title="Moving Range with Limits" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroMvgRngLimits.png" alt="Data" /></p>
<p>What this tells me is that the values and the moving ranges fall within limits, so the variability is given not by anything we can fit a curve to, but simply by normal variation within the process. Closer examination of some of the data would probably point to an out-of-control process (for example, the last five values show continuing decline). Let&#8217;s just worry about violations of the control limits.</p>
<p>I calculated 70 more values with the same mean and standard deviation as the original 10 values, to simulate an ongoing process (because the blog reader did not provide more data). I plotted these values on the same chart with the original ten values, using the limits calculated based on the original ten values.</p>
<p align="center"><img title="Extended Values" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroValuesExtended.png" alt="Extended Values" /><br />
 <img title="Extended Moving Range" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroMvgRngExtended.png" alt="Extended Moving Range" /></p>
<p>The values look pretty good, all within the limit except for a single point, which should be examined for any special causes of variation. All of the moving range points fall within the upper control limit. I recalculated the averages and limits using the entire data set and replotted the data.</p>
<p align="center"><img title="All Values" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroValuesAll.png" alt="All Values" /><br />
 <img title="All Moving Range" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroMvgRngAll.png" alt="All Moving Range" /></p>
<p>There was little difference; the limits were slightly more generous. The value that exceeded the control limit in the first chart of all the data still is out of control, and still deserves a closer look.</p>
<p>One final note: The polynomial regression breaks down completely in a process like this which is successfully modeled using SPC. A linear fit may be useful to detect a possible trend of the average over time.</p>
<p align="center"><img title="SPC vs Trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroSPCPolyFit.png" alt="SPC vs Trendline" /></p>
<p align="center"><img title="SPC vs Trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/PedroSPCLinearFit.png" alt="SPC vs Trendline" /></p>
<p><strong>Further Reading about Statistical Process Control<br />
 </strong></p>
<p style="padding-left: 30px;"><a href="http://www.iso9001help.co.uk/Introduction_to_SPC.htm" rel="nofollow" >ISO 9001 &#8211; Introduction to SPC</a></p>
<p style="padding-left: 30px;"><a href="http://en.wikipedia.org/wiki/Control_chart" rel="nofollow" >Control Charts on Wikipedia</a></p>
<p style="padding-left: 30px;"><a href="http://www.spcforexcel.com/ezine/april%202004.htm" rel="nofollow" >Interpreting Control Charts</a></p>
<p style="padding-left: 30px;"><a href="http://www.spcforexcel.com/ezine/April2006/april_2006.htm" rel="nofollow" >Selecting the Right Control Chart</a></p>



Bookmark and share this entry:


	<a rel="nofollow"  href="http://twitter.com/home?status=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control%20-%20http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F" title="Twitter"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F&amp;title=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control&amp;bodytext=I%27ve%20written%20a%20bit%20about%20regression%20and%20curve%20fitting%3B%20see%20Regression%20Approach%20to%20a%20Simple%20Physics%20Problem%2C%20Choosing%20a%20Trendline%20Type%2C%20and%20Trendline%20Fitting%20Errors.%20A%20blog%20reader%20asked%20for%20help%20with%20some%20sample%20data%20that%20he%20couldn%27t%20fit.%20Here%20is%20the%20" title="Digg"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F&amp;t=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control" title="Facebook"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F&amp;title=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control&amp;source=Peltier+Tech+Blog+Peltier+Tech+Excel+Charts+and+Programming+Blog&amp;summary=I%27ve%20written%20a%20bit%20about%20regression%20and%20curve%20fitting%3B%20see%20Regression%20Approach%20to%20a%20Simple%20Physics%20Problem%2C%20Choosing%20a%20Trendline%20Type%2C%20and%20Trendline%20Fitting%20Errors.%20A%20blog%20reader%20asked%20for%20help%20with%20some%20sample%20data%20that%20he%20couldn%27t%20fit.%20Here%20is%20the%20" title="LinkedIn"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F&amp;title=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control&amp;notes=I%27ve%20written%20a%20bit%20about%20regression%20and%20curve%20fitting%3B%20see%20Regression%20Approach%20to%20a%20Simple%20Physics%20Problem%2C%20Choosing%20a%20Trendline%20Type%2C%20and%20Trendline%20Fitting%20Errors.%20A%20blog%20reader%20asked%20for%20help%20with%20some%20sample%20data%20that%20he%20couldn%27t%20fit.%20Here%20is%20the%20" title="del.icio.us"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F" title="Technorati"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F&amp;title=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control" title="StumbleUpon"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F&amp;title=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control&amp;annotation=I%27ve%20written%20a%20bit%20about%20regression%20and%20curve%20fitting%3B%20see%20Regression%20Approach%20to%20a%20Simple%20Physics%20Problem%2C%20Choosing%20a%20Trendline%20Type%2C%20and%20Trendline%20Fitting%20Errors.%20A%20blog%20reader%20asked%20for%20help%20with%20some%20sample%20data%20that%20he%20couldn%27t%20fit.%20Here%20is%20the%20" title="Google Bookmarks"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F&amp;title=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control" title="Reddit"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F&amp;t=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control" title="MySpace"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F" title="Slashdot"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F&amp;submitHeadline=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control&amp;submitSummary=I%27ve%20written%20a%20bit%20about%20regression%20and%20curve%20fitting%3B%20see%20Regression%20Approach%20to%20a%20Simple%20Physics%20Problem%2C%20Choosing%20a%20Trendline%20Type%2C%20and%20Trendline%20Fitting%20Errors.%20A%20blog%20reader%20asked%20for%20help%20with%20some%20sample%20data%20that%20he%20couldn%27t%20fit.%20Here%20is%20the%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fpolynomial-fit-vs-statistical-process-control%2F&amp;t=Polynomial%20Fit%20vs.%20Statistical%20Process%20Control&amp;s=I%27ve%20written%20a%20bit%20about%20regression%20and%20curve%20fitting%3B%20see%20Regression%20Approach%20to%20a%20Simple%20Physics%20Problem%2C%20Choosing%20a%20Trendline%20Type%2C%20and%20Trendline%20Fitting%20Errors.%20A%20blog%20reader%20asked%20for%20help%20with%20some%20sample%20data%20that%20he%20couldn%27t%20fit.%20Here%20is%20the%20" title="Tumblr"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/polynomial-fit-vs-statistical-process-control/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Macs vs. PCs</title>
		<link>http://peltiertech.com/WordPress/macs-vs-pcs/</link>
		<comments>http://peltiertech.com/WordPress/macs-vs-pcs/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 04:43:26 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Chandoo]]></category>
		<category><![CDATA[Macs and PCs]]></category>
		<category><![CDATA[Trendlines]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=562</guid>
		<description><![CDATA[Chandoo has posted the new Microsoft Ads in Microsoft says ‘I am PC’ and it is brilliant. Contrary to my expectations, especially after the abortive Bill and Jerry spots, I enjoyed these ads. Microsoft finally has countered those insipid Mac vs. PC ads (see review in Slate), in a tasteful and clever way. Hey, I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://chandoo.org/wp/" rel="nofollow" >Chandoo</a> has posted the new <strong>Microsoft</strong> Ads in <a href="http://chandoo.org/wp/2008/09/19/microsoft-i-am-pc-ads/" rel="nofollow" title="Permanent Link: Microsoft says ‘I am PC’ and it is brilliant" >Microsoft says ‘I am PC’ and it is brilliant</a>. Contrary to my expectations, especially after the abortive Bill and Jerry spots, I enjoyed these ads. Microsoft finally has countered those insipid Mac vs. PC ads (see <a href="http://www.slate.com/id/2143810" rel="nofollow" title="Mac Attack - Apple's mean-spirited new ad campaign" >review in Slate</a>), in a tasteful and clever way. Hey, I am PC too.</p>
<p>I thought I&#8217;d see just how PC my readers are. I checked my FeedBurner stats for the last 30 days, ending 9/21/2008, and here is the breakdown of operating systems.</p>
<p align="center"><img title="PC vs Mac Blog Visitors" src="http://peltiertech.com/WordPress/wp-content/img200809/BlogVisitorsMacPC.png" alt="PC vs Mac Blog Visitors" /></p>
<p><span id="more-562"></span>This fits pretty closely with my overall web site stats, too, which totals around ten times the traffic, but in FeedBurner it&#8217;s easier to get a quick list of numbers, and FeedBurner lists the versions of each OS.</p>
<p>So what&#8217;s all the buzz about Macs lately? Macs make up around 4% of my visitors. For every Mac visitor, I get more than 26 Windows visitors.</p>
<p>What&#8217;s all the buzz about Linux? Linux counts for 1% of my traffic if I round up.</p>
<p>Windows includes 95% of my traffic if I round down, and over 80% of that is XP. I guess the significant buzz is that under 20% of my Windows hits are from Vista.</p>
<p>I decided to compare the past month with the same month last year, which meant Google Analytics, since FeedBurner only goes back to March when I launched the blog. When I plotted the two months, the raw visits showed only that Windows and Mac visitors both increased, but there seemed to be a gain in percentage of visitors using Mac at the expense of percentage of visitors using Windows. (I neglected all the minor operating systems, but I will note that during each of these months I got two hits on Nintendo Wii.)</p>
<p align="center"><img title="PC vs Mac Blog Visitors" src="http://peltiertech.com/WordPress/wp-content/img200809/BlogVisitorsMacPC0708.png" alt="PC vs Mac Blog Visitors" /></p>
<p align="center"><img title="PC vs Mac Blog Visitors" src="http://peltiertech.com/WordPress/wp-content/img200809/BlogPctgMacPC0708.png" alt="PC vs Mac Blog Visitors" /></p>
<p>This needed further investigation, so I collected data for the months in between. Raw visits showed a general up trend in Windows users, while Mac and Linux were lost in the weeds.</p>
<p align="center"><img title="PC vs Mac Blog Visitors" src="http://peltiertech.com/WordPress/wp-content/img200809/SiteVisitorsMacPC.png" alt="PC vs Mac Blog Visitors" /></p>
<p>On a percentage basis, Windows was up in the mid 90s, with a hint of a downward trend, and a gain, Mac and Linux were too low to resolve.</p>
<p align="center"><img title="PC vs Mac Blog Visitors" src="http://peltiertech.com/WordPress/wp-content/img200809/SitePctgMacPC.png" alt="PC vs Mac Blog Visitors" /></p>
<p>Putting the data on a log scale flattened any trend in the Windows line, while it made Mac and Linus easier to see. There is possibly an upward trend in Mac and a downward trend in Linux. It&#8217;s sough to call, given the fluctuation in both lines.</p>
<p align="center"><img title="PC vs Mac Blog Visitors" src="http://peltiertech.com/WordPress/wp-content/img200809/SiteLogPctgMacPC.png" alt="PC vs Mac Blog Visitors" /></p>
<p>To evaluate the trends, I added <a href="http://peltiertech.com/WordPress/2008/09/09/choosing-a-trendline-type/"title="Choosing a Trendline Type" >trendlines</a>. These do in fact show slight slopes in the directions indicated above. The slopes are very small, and correspond to changes on the order of a fraction of a percent per year. The R² values are also pretty low, indicating rather poor correlations.</p>
<p align="center"><img title="PC vs Mac Blog Visitors" src="http://peltiertech.com/WordPress/wp-content/img200809/SiteLogPctgTrendMacPC.png" alt="PC vs Mac Blog Visitors" /></p>
<p>My conclusion is that Linux and Mac make up a very small fraction of my readership, averaging 1.3% and 3.5% respectively over the past year. Sorry, guys. No offense, but this supports my decision to concentrate on Windows versions of my utilities. My utilities are built in Excel 2000 and VBA 6, and so are compatible with Excel 2002, 2003, and even 2007. However, they are incompatible with the older VBA 5 found in Excel 97 and Mac Excel. In fact, Mac Excel 2008 doesn&#8217;t even support VBA at all.</p>



Bookmark and share this entry:


	<a rel="nofollow"  href="http://twitter.com/home?status=Macs%20vs.%20PCs%20-%20http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F" title="Twitter"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F&amp;title=Macs%20vs.%20PCs&amp;bodytext=Chandoo%20has%20posted%20the%20new%20Microsoft%20Ads%20in%20Microsoft%20says%20%E2%80%98I%20am%20PC%E2%80%99%20and%20it%20is%20brilliant.%20Contrary%20to%20my%20expectations%2C%20especially%20after%20the%20abortive%20Bill%20and%20Jerry%20spots%2C%20I%20enjoyed%20these%20ads.%20Microsoft%20finally%20has%20countered%20those%20insipid%20Mac%20vs.%20" title="Digg"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F&amp;t=Macs%20vs.%20PCs" title="Facebook"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F&amp;title=Macs%20vs.%20PCs&amp;source=Peltier+Tech+Blog+Peltier+Tech+Excel+Charts+and+Programming+Blog&amp;summary=Chandoo%20has%20posted%20the%20new%20Microsoft%20Ads%20in%20Microsoft%20says%20%E2%80%98I%20am%20PC%E2%80%99%20and%20it%20is%20brilliant.%20Contrary%20to%20my%20expectations%2C%20especially%20after%20the%20abortive%20Bill%20and%20Jerry%20spots%2C%20I%20enjoyed%20these%20ads.%20Microsoft%20finally%20has%20countered%20those%20insipid%20Mac%20vs.%20" title="LinkedIn"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F&amp;title=Macs%20vs.%20PCs&amp;notes=Chandoo%20has%20posted%20the%20new%20Microsoft%20Ads%20in%20Microsoft%20says%20%E2%80%98I%20am%20PC%E2%80%99%20and%20it%20is%20brilliant.%20Contrary%20to%20my%20expectations%2C%20especially%20after%20the%20abortive%20Bill%20and%20Jerry%20spots%2C%20I%20enjoyed%20these%20ads.%20Microsoft%20finally%20has%20countered%20those%20insipid%20Mac%20vs.%20" title="del.icio.us"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F" title="Technorati"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F&amp;title=Macs%20vs.%20PCs" title="StumbleUpon"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F&amp;title=Macs%20vs.%20PCs&amp;annotation=Chandoo%20has%20posted%20the%20new%20Microsoft%20Ads%20in%20Microsoft%20says%20%E2%80%98I%20am%20PC%E2%80%99%20and%20it%20is%20brilliant.%20Contrary%20to%20my%20expectations%2C%20especially%20after%20the%20abortive%20Bill%20and%20Jerry%20spots%2C%20I%20enjoyed%20these%20ads.%20Microsoft%20finally%20has%20countered%20those%20insipid%20Mac%20vs.%20" title="Google Bookmarks"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F&amp;title=Macs%20vs.%20PCs" title="Reddit"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F&amp;t=Macs%20vs.%20PCs" title="MySpace"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Macs%20vs.%20PCs&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F" title="Slashdot"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F&amp;submitHeadline=Macs%20vs.%20PCs&amp;submitSummary=Chandoo%20has%20posted%20the%20new%20Microsoft%20Ads%20in%20Microsoft%20says%20%E2%80%98I%20am%20PC%E2%80%99%20and%20it%20is%20brilliant.%20Contrary%20to%20my%20expectations%2C%20especially%20after%20the%20abortive%20Bill%20and%20Jerry%20spots%2C%20I%20enjoyed%20these%20ads.%20Microsoft%20finally%20has%20countered%20those%20insipid%20Mac%20vs.%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fmacs-vs-pcs%2F&amp;t=Macs%20vs.%20PCs&amp;s=Chandoo%20has%20posted%20the%20new%20Microsoft%20Ads%20in%20Microsoft%20says%20%E2%80%98I%20am%20PC%E2%80%99%20and%20it%20is%20brilliant.%20Contrary%20to%20my%20expectations%2C%20especially%20after%20the%20abortive%20Bill%20and%20Jerry%20spots%2C%20I%20enjoyed%20these%20ads.%20Microsoft%20finally%20has%20countered%20those%20insipid%20Mac%20vs.%20" title="Tumblr"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/macs-vs-pcs/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Choosing a Trendline Type</title>
		<link>http://peltiertech.com/WordPress/choosing-a-trendline-type/</link>
		<comments>http://peltiertech.com/WordPress/choosing-a-trendline-type/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 11:32:34 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Science & Engineering]]></category>
		<category><![CDATA[Trendlines]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=478</guid>
		<description><![CDATA[In Graphical Approach to a Simple Physics Problem I discussed my daughter&#8217;s physics homework. The problem was to determine the relationships between how long it takes water to drain from a hole in the bottom of a bucket, the diameter of this hole, and the initial height of water in the bucket. The data is [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://peltiertech.com/WordPress/2008/09/08/graphical-approach-to-a-simple-physics-problem/"title="Graphical Approach to a Simple Physics Problem" >Graphical Approach to a Simple Physics Problem</a> I discussed my daughter&#8217;s physics homework. The problem was to determine the relationships between how long it takes water to drain from a hole in the bottom of a bucket, the diameter of this hole, and the initial height of water in the bucket. The data is shown in this table.</p>
<p align="center"><img title="physics problem data" src="http://peltiertech.com/WordPress/wp-content/img200809/physdata1.png" alt="physics problem data" /></p>
<p>The first step is to plot the data using XY charts. The charts below show time to drain vs height for various hole sizes and time to drain vs hole size for various diameters. We will investigate various trendline formulas using these plots.<span id="more-478"></span></p>
<p align="center"><img title="physics problem chart" src="http://peltiertech.com/WordPress/wp-content/img200809/phys1a.png" alt="physics problem chart" /><img title="physics problem chart" src="http://peltiertech.com/WordPress/wp-content/img200809/phys1b.png" alt="physics problem chart" /></p>
<p>In <a href="http://peltiertech.com/WordPress/2008/09/05/trendline-fitting-errors/"title="Trendline Fitting Errors" >Trendline Fitting Errors</a> I warned about picking an appropriate type of trendline relationship. In <a href="http://peltiertech.com/WordPress/2008/09/08/graphical-approach-to-a-simple-physics-problem/"title="Graphical Approach to a Simple Physics Problem" >Graphical Approach to a Simple Physics Problem</a> I automatically looked for a power law relationship. What if I didn&#8217;t have a scientific background? How might I go about fitting trendlines to the data. Let&#8217;s just look at the highest curve in each of the charts above, and apply a few trendlines.</p>
<p>Obviously the lines are not linear, but let&#8217;s start with linear trendlines. The original data are shown with points connected by dotted lines, and the trendlines by solid lines.</p>
<p align="center"><img title="physics problem trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/trend1a.png" alt="physics problem trendline" /><img title="physics problem trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/trend1b.png" alt="physics problem trendline" /></p>
<p>Since there is curvature in the data, we need a higher power of the X variable. These two charts show polynomial fits of order 2. The fits come close to fitting all of the points, but the curve for height seems to be approaching a maximum at a height of 30, implying that if we double the height, the time will decrease. The curve for diameter is even stranger, with a minimum just above 4; this implies that if we widen the hole further, the water will leak out more slowly. Both of these scenarios are rather unlikely.</p>
<p align="center"><img title="physics problem trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/trend2a.png" alt="physics problem trendline" /><img title="physics problem trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/trend2b.png" alt="physics problem trendline" /></p>
<p>To carry the polynomial fitting to an extreme, let&#8217;s look at third order fits. Fortunately with only four points, we will not be able to go beyond this. In the height relationship, the poly fit predicts a slowing of the increase of time with height, then after about 20 it accelerates. The diameter relationship actually changes direction twice. To smooth this out, we&#8217;d have to make another measurement at a height of 20 or a diameter of 4, then apply a higher order fit.</p>
<p align="center"><img title="physics problem trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/trend3a.png" alt="physics problem trendline" /><img title="physics problem trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/trend3b.png" alt="physics problem trendline" /></p>
<p>This turns into an exercise of <em>reductio ad absurdum</em>, and fortunately Excel doesn&#8217;t get more absurd than a polynomial fit of order 6. In my previous life as a scientist/engineer, there were very few physical relationships that theoretically followed polynomial relationships. Sometimes a poly fit was acceptable when interpolated values were required, but it&#8217;s generally better to find a simpler relationship. A simpler relationship is one with fewer fitting parameters, and which follows the form of any theoretical description of the phenomenon.</p>
<p>A great many physical phenomena follow power law relationships. The following show power law fits to the data.</p>
<p align="center"><img title="physics problem trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/trend4a.png" alt="physics problem trendline" /><img title="physics problem trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/trend4b.png" alt="physics problem trendline" /></p>
<p>Time to drain the bucket follows the reciprocal of diameter to the second power. This fits nicely since the volume of water passing through the hole is proportional to the area of the hole, which is proportional to the diameter squared. It&#8217;s an inverse relationship, because the larger the hole, the more water can flow, and the shorter time it will take.</p>
<p>I&#8217;m less certain of the height relationship. The time is obviously additive as more water is added to the initial height. Also, the added water should push harder on the water beneath, forcing it out faster. An equal increment of water height will produce a decreasing increment of time. If I weren&#8217;t too lazy to dig my old calculus book out of the basement, I&#8217;d find the similar example and determine the exact form of the drainage curve.</p>
<p>Below is another view of the power law fits on a double logarithmic scale (on which a power law fit traces a straight line). The visual goodness of fit lets me assert that the power law fits are appropriate.</p>
<p align="center"><img title="physics problem trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/trend5a.png" alt="physics problem trendline" /><img title="physics problem trendline" src="http://peltiertech.com/WordPress/wp-content/img200809/trend5b.png" alt="physics problem trendline" /></p>



Bookmark and share this entry:


	<a rel="nofollow"  href="http://twitter.com/home?status=Choosing%20a%20Trendline%20Type%20-%20http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F" title="Twitter"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F&amp;title=Choosing%20a%20Trendline%20Type&amp;bodytext=In%20Graphical%20Approach%20to%20a%20Simple%20Physics%20Problem%20I%20discussed%20my%20daughter%27s%20physics%20homework.%20The%20problem%20was%20to%20determine%20the%20relationships%20between%20how%20long%20it%20takes%20water%20to%20drain%20from%20a%20hole%20in%20the%20bottom%20of%20a%20bucket%2C%20the%20diameter%20of%20this%20hole%2C%20an" title="Digg"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F&amp;t=Choosing%20a%20Trendline%20Type" title="Facebook"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F&amp;title=Choosing%20a%20Trendline%20Type&amp;source=Peltier+Tech+Blog+Peltier+Tech+Excel+Charts+and+Programming+Blog&amp;summary=In%20Graphical%20Approach%20to%20a%20Simple%20Physics%20Problem%20I%20discussed%20my%20daughter%27s%20physics%20homework.%20The%20problem%20was%20to%20determine%20the%20relationships%20between%20how%20long%20it%20takes%20water%20to%20drain%20from%20a%20hole%20in%20the%20bottom%20of%20a%20bucket%2C%20the%20diameter%20of%20this%20hole%2C%20an" title="LinkedIn"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F&amp;title=Choosing%20a%20Trendline%20Type&amp;notes=In%20Graphical%20Approach%20to%20a%20Simple%20Physics%20Problem%20I%20discussed%20my%20daughter%27s%20physics%20homework.%20The%20problem%20was%20to%20determine%20the%20relationships%20between%20how%20long%20it%20takes%20water%20to%20drain%20from%20a%20hole%20in%20the%20bottom%20of%20a%20bucket%2C%20the%20diameter%20of%20this%20hole%2C%20an" title="del.icio.us"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F" title="Technorati"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F&amp;title=Choosing%20a%20Trendline%20Type" title="StumbleUpon"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F&amp;title=Choosing%20a%20Trendline%20Type&amp;annotation=In%20Graphical%20Approach%20to%20a%20Simple%20Physics%20Problem%20I%20discussed%20my%20daughter%27s%20physics%20homework.%20The%20problem%20was%20to%20determine%20the%20relationships%20between%20how%20long%20it%20takes%20water%20to%20drain%20from%20a%20hole%20in%20the%20bottom%20of%20a%20bucket%2C%20the%20diameter%20of%20this%20hole%2C%20an" title="Google Bookmarks"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F&amp;title=Choosing%20a%20Trendline%20Type" title="Reddit"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F&amp;t=Choosing%20a%20Trendline%20Type" title="MySpace"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Choosing%20a%20Trendline%20Type&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F" title="Slashdot"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F&amp;submitHeadline=Choosing%20a%20Trendline%20Type&amp;submitSummary=In%20Graphical%20Approach%20to%20a%20Simple%20Physics%20Problem%20I%20discussed%20my%20daughter%27s%20physics%20homework.%20The%20problem%20was%20to%20determine%20the%20relationships%20between%20how%20long%20it%20takes%20water%20to%20drain%20from%20a%20hole%20in%20the%20bottom%20of%20a%20bucket%2C%20the%20diameter%20of%20this%20hole%2C%20an&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fchoosing-a-trendline-type%2F&amp;t=Choosing%20a%20Trendline%20Type&amp;s=In%20Graphical%20Approach%20to%20a%20Simple%20Physics%20Problem%20I%20discussed%20my%20daughter%27s%20physics%20homework.%20The%20problem%20was%20to%20determine%20the%20relationships%20between%20how%20long%20it%20takes%20water%20to%20drain%20from%20a%20hole%20in%20the%20bottom%20of%20a%20bucket%2C%20the%20diameter%20of%20this%20hole%2C%20an" title="Tumblr"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/choosing-a-trendline-type/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Trendline Fitting Errors</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/</link>
		<comments>http://peltiertech.com/WordPress/trendline-fitting-errors/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 12:38:14 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Trendlines]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364</guid>
		<description><![CDATA[Several years ago I helped someone who was having trouble with a fitted trendline in an Excel chart. I saved the example, because I knew I&#8217;d have a blog someday, and I&#8217;d need a topic. I will use this example to describe a number of errors people encounter when fitting data. The errors are listed [...]]]></description>
			<content:encoded><![CDATA[<p>Several years ago I helped someone who was having trouble with a fitted trendline in an Excel chart. I saved the example, because I knew I&#8217;d have a blog someday, and I&#8217;d need a topic. I will use this example to describe a number of errors people encounter when fitting data. The errors are listed in the order they are likely to be realized, not in the order of severity.</p>
<p>The person had a motor, and had measured horsepower (HP) at particular rotational speeds, in RPM (revolutions per minute).&nbsp; The data is charted and tabulated below:</p>
<p><img style="vertical-align: middle" title="trendline plot" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_02.png" alt="trendline plot" /> <img style="vertical-align: middle" title="trendline data" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_01a.png" alt="trendline data" /><span id="more-364"></span></p>
<p><strong>Note:</strong> Some versions of Excel have problems performing statistics on some data sets. For the most part, Excel is adequate for this purpose, particularly if the data aren&#8217;t &#8220;extreme&#8221; (a statistical term) and if the data is not overfitted.</p>
<p><strong>Applying a Trendline</strong></p>
<p>Adding a trendline is straightforward. The easiest way is to right click on a series, and choose Add Trendline from the context menu.</p>
<p align="center"><img title="add a trendline" src="http://peltiertech.com/WordPress/wp-content/img200808/add_trendline.png" alt="add a trendline" /></p>
<p>This pops up a dialog from which you can select a type of trendline to fit to the series, as well as choose options for the trendline. This dialog also appears when you right-click on an existing trendline and choose Format from the context menu, with an additional tab for patterns (to format the line). The specifics of this dialog are a topic for a different discussion.</p>
<p align="center"><img title="trendline type dialog" src="http://peltiertech.com/WordPress/wp-content/img200808/add_trendline_type.png" alt="trendline type dialog" /></p>
<p align="center"><img title="trendline options dialog" src="http://peltiertech.com/WordPress/wp-content/img200808/add_trendline_options.png" alt="trendline options dialog" /></p>
<p>The added trendline is dumped onto the chart, obliterating details in its vicinity.</p>
<p align="center"><img title="trendline" src="http://peltiertech.com/WordPress/wp-content/img200808/added_trendline.png" alt="trendline" /></p>
<p>You can right click the trendline, choose Format, and make it much more presentable. Below I&#8217;ve formatted the trendline and trendline formula to match the line series, and changed the line series to display markers only.</p>
<p align="center"><img title="trendline" src="http://peltiertech.com/WordPress/wp-content/img200808/formatted_trendline.png" alt="trendline" /></p>
<p>Trendlines are really valid only for charts with a numerical category axis, such as an XY chart, or a line chart with a date-scale axis.</p>
<p>You <em>can</em> add trendlines to a line chart; Excel makes no value judgments here. Note that the categories are not numerical, and a trend between discrete categories may be meaningless (e.g., Cat, Dog, Ferret, Goldfish). I discuss use of trendlines on the wrong chart types in the next section.</p>
<p align="center"><img title="lines with trendline" src="http://peltiertech.com/WordPress/wp-content/img200808/line_trend.png" alt="lines with trendline" /></p>
<p>You can also add trendlines to a clustered column chart. Note that the trendlines don&#8217;t necessarily match up with their corresponding columns, but with the center of the cluster (centered over the category labels). This adds to the confusion of non-numeric categories.</p>
<p align="center"><img title="columns with trendline" src="http://peltiertech.com/WordPress/wp-content/img200808/column_trend.png" alt="columns with trendline" /></p>
<p>You can even add trendlines to a horizontal bar chart, but their usefulness is even less than that of trendlines in a line or column chart.</p>
<p align="center"><img title="bars with trendline" src="http://peltiertech.com/WordPress/wp-content/img200808/bar_trend.png" alt="bars with trendline" /></p>
<p>You cannot add trendlines to a stacked series: the command is disabled.</p>
<p align="center"><img title="stacked columns - trendline disabled" src="http://peltiertech.com/WordPress/wp-content/img200808/stackcol_disabled.png" alt="stacked columns - trendline disabled" /></p>
<p>For qualitative purposes of illustration, I&#8217;ll show how to add trendlines to this type of chart. You must promise never to use them for evil purposes. Note that each trendline captures the variability of not only its respective series, but all other series stacked beneath it.</p>
<p>In the sheet, calculate the sums of the first series, then the first and second, then the first, second, and third series, etc., and add them to the chart as line chart series, formatted below as markers without lines.</p>
<p align="center"><img title="stacked columns with lines" src="http://peltiertech.com/WordPress/wp-content/img200808/stackcol_line.png" alt="stacked columns with lines" /></p>
<p>Apply trendlines to the unstacked line series, format the trendlines, format the line series to display no markers, and remove all the unneeded entries from the legend.</p>
<p align="center"><img title="stacked columns and lines with trendline" src="http://peltiertech.com/WordPress/wp-content/img200808/stackcol_line_trend.png" alt="stacked columns and lines with trendline" /></p>
<p>You cannot add trendlines to a 3D chart: the command is disabled. This is Yet Another Reason not to use 3D charts, when will you ever learn?</p>
<p align="center"><img title="3D charts - trendline disabled" src="http://peltiertech.com/WordPress/wp-content/img200808/3d_disabled.png" alt="3D charts - trendline disabled" /></p>
<p><strong>Error 1: Wrong Chart Type</strong></p>
<p>The first problem that many people encounter when fitting a trendline is caused by using the wrong chart type. The person who asked about fitting this data didn&#8217;t make this mistake, but this is a fine place to illustrate it.</p>
<p>In <a href="http://peltiertech.com/WordPress/2008/07/10/line-charts-vs-xy-charts/"class="simple_alink" title="Line Charts vs. XY Charts" >Line Charts vs. XY Charts</a> I described differences between XY and Line charts. For our purposes here, suffice to say that XY charts treat both X and Y data as continuously variable numerical data, while line charts treat the X values as non-numerical text labels, and if necessary, treats them using the counting numbers 1, 2, 3, etc.</p>
<p>The first mistake people make while fitting trendlines to charts is when they start with a line chart. Notice the X values: The axis doesn&#8217;t start at zero, and although the differences between adjacent numbers are not all the same (some differ by 1000, others by 500), the spacing between labels is constant.</p>
<p><img style="vertical-align: middle" title="trendline plot" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_03.png" alt="trendline plot" /></p>
<p>In this chart I have applied a fourth order trendline to the data, removed the lines between the points, and formatted the curved trendline to match the series. The fit doesn&#8217;t look too bad, but as I pointed out, the X values are not appropriate for the fit.</p>
<p><img style="vertical-align: middle" title="trendline plot" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_04.png" alt="trendline plot" /></p>
<p>When the coefficients and actual X values are plugged into the trendline formula, we get the following actual HP values and fitted values (&#8220;Line&#8221;).</p>
<p align="center"><img style="vertical-align: middle" title="trendline data" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_01b.png" alt="trendline data" /></p>
<p>The calculated values are way too high: 5.1E+10 is 51 <em>billion</em>. The RPM values (1000 through 5000) were plugged into the formula, but it was calculated by Excel using the counting numbers 1 through 5. The fitted data matches the actual pretty well.</p>
<p><img style="vertical-align: middle" title="trendline plot" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_05.png" alt="trendline plot" /> <img style="vertical-align: middle" title="trendline data" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_01c.png" alt="trendline data" /></p>
<p>I discussed trendlines on other improper chart types (clustered and stacked column and bar charts) in the preceding section.</p>
<p><strong>Error 2: Wrong Precision</strong></p>
<p>The following shows the trendline for the same data in an XY chart. It fits the points pretty well, with a little curvature even over the lower few points, which seem like they should fit a straight line.</p>
<p><img style="vertical-align: middle" title="trendline plot" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_06.png" alt="trendline plot" /></p>
<p>When we plug the RPM data and the fitting coefficients into the trendline equation, we get the following horrendous match.</p>
<p><img style="vertical-align: middle" title="trendline plot" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_07.png" alt="trendline plot" /> <img style="vertical-align: middle" title="trendline data" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_01d.png" alt="trendline data" /></p>
<p>This illustrates the second mistake people make. They accept the trendline formula from the chart without thinking about the coefficients. Notice the second through fourth order coefficients above (-1E-5, 3E-9, and -3E-13): these are shown with only <em>one</em> significant digit. That&#8217;s a miscalculation waiting to happen. Select the trendline formula, and apply a scientific number format with lots of digits, and you&#8217;ll plainly see the source of the error.</p>
<p><img style="vertical-align: middle" title="trendline plot" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_08.png" alt="trendline plot" /></p>
<p>Here are the actual and fitted data points: much better.</p>
<p><img style="vertical-align: middle" title="trendline plot" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_09.png" alt="trendline plot" /> <img style="vertical-align: middle" title="trendline data" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_01e.png" alt="trendline data" /></p>
<p><strong>Error 3: Manually Transcribing Coefficients</strong></p>
<p>If you want to use the trendline coefficients in the worksheet, there&#8217;s a better approach than manually transcribing data from the trendline formula to cells. Excel has a function called LINEST which performs linear regression calculations. Select a range 5 rows tall and N+1 columns wide, where N is the order of the regression, type this formula in the top left cell, and array-enter it by holding Ctrl+Shift while pressing Enter:</p>
<pre class="vba">=LINEST(B2:B7,A2:A7^{1,2,3,4},,TRUE)
 </pre>
<p>If you&#8217;ve entered the formula correctly, Excel signifies that it is an array formula by enclosing it in curly braces (typing them yourself will only produce an error):</p>
<pre class="vba">{=LINEST(B2:B7,A2:A7^{1,2,3,4},,TRUE)}
 </pre>
<p>B2:B7 is the range of Y values, A2:A7 is the range of X values, A2:A7^{1,2,3,4} signifies that the X values are to be raised to the first through fourth powers for the regression. For more details on the formula and the results (below), refer to the help files.</p>
<p>The first row of the resulting range contains the coefficients, from fourth power to constant. The first cell in the third row contains the fitted R². These are identical to the coefficients in the XY chart&#8217;s trendline formula.</p>
<p align="center"><img style="vertical-align: middle" title="trendline data" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_01g.png" alt="trendline data" /></p>
<p><strong>Error 4: Overfitting</strong></p>
<p>I noted earlier how the first several points look like a straight line fit. Below I&#8217;ve computed the straight line fits for the first 5 points (blue dottedline) and the first 4 points (dashed red line). These lines fit all but the last point nearly perfectly.</p>
<p><img style="vertical-align: middle" title="trendline plot" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_10.png" alt="trendline plot" /> <img style="vertical-align: middle" title="trendline data" src="http://peltiertech.com/WordPress/wp-content/img200808/rpm_hp_01f.png" alt="trendline data" /></p>
<p>This illustrates another error people make when fitting trendlines: overfitting. A 4th order polynomial fit has no <em>physical</em> significance in any model I&#8217;ve ever heard of.&nbsp; It makes a &#8220;nice&#8221; curve, but is valid for interpolation only, for purposes of looking up intermediate values along smooth curves.&nbsp; First and even second order fitting may have some reasonable theoretical basis, but if the data curves systematically, you should consider applying logarithmic, exponential, or trigonometric transformations to your data prior to calculating a trendline.</p>
<p><strong>Error 5: Ignoring the Physics of the Problem</strong></p>
<p>This leads to my third point. One should not blindly apply statistics without first using one&#8217;s own trained eyeball. Yes, your eye may see patterns that are not there, but your eye can be better than statistical techniques at analyzing results.&nbsp; The high correlation of the 4th order fit (0.9998) might lead one to believe that the HP is truly proportional to RPM to the 4th power. A quick glance led me to look at the first part of the data, up to 4000 or 4500 RPM, which looked linear.&nbsp; It felt good in my gut that horsepower increases linearly with RPM.&nbsp; Then as RPM exceeds some threshold value, something breaks down. I don&#8217;t know what it may be, but I know where I would look. I would take multiple measurements in the 4500-5500 rpm range, to see whether I get a smooth curve, perhaps approaching some maximum HP asymptotically.&nbsp; Perhaps there is some slipping in the linkage, or some thermal effect from friction, or some deformation in the mechanism.&nbsp; The point is, don&#8217;t let a seemingly nice statistical fit prevent you from noticing what your eye is seeing, and always consider some real physical mechanism underlying the data.</p>
<p><strong>Summary</strong></p>
<p>To avoid errors in the use of trendlines, one should follow this approach:</p>
<ol style="margin-left: 24px">
<li><em><strong>Consider the system under analysis.</strong></em> Does it lend itself to a curve fit? Do you know anything about the system that suggests a particular physical relationship? </li>
<li><em><strong>Consider the type of fit and the purpose for the fit.</strong></em> Is the fit used to make the chart &#8220;look nice&#8221;? A poly fit is probably fine. Are you using the relationship to interpolate between known values? A poly fit is probably fine, unless you know the relationship is logarithmic, exponential, or power law. Will you try to interpolate beyond the existing&nbsp; data? Not generally wise, especially using a polynomial fit. </li>
<li><em><strong>Use LINEST to get coefficients into the worksheet.</strong></em> This is easier and generally more reliable (subject to certain caveats) than manually transcribing coefficients from the trendline formula label in the chart. </li>
<li><em><strong>Use an appropriate chart type.</strong></em> This almost always means use an XY chart. You can get away with using a line chart (particularly with a date-scale axis), so long as you understand what the categories mean. </li>
<li><em><strong>Apply a suitable number format to the trendline formula.</strong></em> Generally a scientific format with lots of digits (14 or 15 digits) will provide sufficient resolution. </li>
</ol>



Bookmark and share this entry:


	<a rel="nofollow"  href="http://twitter.com/home?status=Trendline%20Fitting%20Errors%20-%20http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F" title="Twitter"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F&amp;title=Trendline%20Fitting%20Errors&amp;bodytext=Several%20years%20ago%20I%20helped%20someone%20who%20was%20having%20trouble%20with%20a%20fitted%20trendline%20in%20an%20Excel%20chart.%20I%20saved%20the%20example%2C%20because%20I%20knew%20I%27d%20have%20a%20blog%20someday%2C%20and%20I%27d%20need%20a%20topic.%20I%20will%20use%20this%20example%20to%20describe%20a%20number%20of%20errors%20people%20enco" title="Digg"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F&amp;t=Trendline%20Fitting%20Errors" title="Facebook"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F&amp;title=Trendline%20Fitting%20Errors&amp;source=Peltier+Tech+Blog+Peltier+Tech+Excel+Charts+and+Programming+Blog&amp;summary=Several%20years%20ago%20I%20helped%20someone%20who%20was%20having%20trouble%20with%20a%20fitted%20trendline%20in%20an%20Excel%20chart.%20I%20saved%20the%20example%2C%20because%20I%20knew%20I%27d%20have%20a%20blog%20someday%2C%20and%20I%27d%20need%20a%20topic.%20I%20will%20use%20this%20example%20to%20describe%20a%20number%20of%20errors%20people%20enco" title="LinkedIn"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F&amp;title=Trendline%20Fitting%20Errors&amp;notes=Several%20years%20ago%20I%20helped%20someone%20who%20was%20having%20trouble%20with%20a%20fitted%20trendline%20in%20an%20Excel%20chart.%20I%20saved%20the%20example%2C%20because%20I%20knew%20I%27d%20have%20a%20blog%20someday%2C%20and%20I%27d%20need%20a%20topic.%20I%20will%20use%20this%20example%20to%20describe%20a%20number%20of%20errors%20people%20enco" title="del.icio.us"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F" title="Technorati"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F&amp;title=Trendline%20Fitting%20Errors" title="StumbleUpon"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F&amp;title=Trendline%20Fitting%20Errors&amp;annotation=Several%20years%20ago%20I%20helped%20someone%20who%20was%20having%20trouble%20with%20a%20fitted%20trendline%20in%20an%20Excel%20chart.%20I%20saved%20the%20example%2C%20because%20I%20knew%20I%27d%20have%20a%20blog%20someday%2C%20and%20I%27d%20need%20a%20topic.%20I%20will%20use%20this%20example%20to%20describe%20a%20number%20of%20errors%20people%20enco" title="Google Bookmarks"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F&amp;title=Trendline%20Fitting%20Errors" title="Reddit"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F&amp;t=Trendline%20Fitting%20Errors" title="MySpace"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Trendline%20Fitting%20Errors&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F" title="Slashdot"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F&amp;submitHeadline=Trendline%20Fitting%20Errors&amp;submitSummary=Several%20years%20ago%20I%20helped%20someone%20who%20was%20having%20trouble%20with%20a%20fitted%20trendline%20in%20an%20Excel%20chart.%20I%20saved%20the%20example%2C%20because%20I%20knew%20I%27d%20have%20a%20blog%20someday%2C%20and%20I%27d%20need%20a%20topic.%20I%20will%20use%20this%20example%20to%20describe%20a%20number%20of%20errors%20people%20enco&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Ftrendline-fitting-errors%2F&amp;t=Trendline%20Fitting%20Errors&amp;s=Several%20years%20ago%20I%20helped%20someone%20who%20was%20having%20trouble%20with%20a%20fitted%20trendline%20in%20an%20Excel%20chart.%20I%20saved%20the%20example%2C%20because%20I%20knew%20I%27d%20have%20a%20blog%20someday%2C%20and%20I%27d%20need%20a%20topic.%20I%20will%20use%20this%20example%20to%20describe%20a%20number%20of%20errors%20people%20enco" title="Tumblr"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/trendline-fitting-errors/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Suicide Rates in Japan</title>
		<link>http://peltiertech.com/WordPress/suicide-rates-in-japan/</link>
		<comments>http://peltiertech.com/WordPress/suicide-rates-in-japan/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 15:08:37 +0000</pubDate>
		<dc:creator>Jon Peltier</dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Chart Types]]></category>
		<category><![CDATA[FlowingData]]></category>

		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=196</guid>
		<description><![CDATA[In Can You Improve this Graph Showing Suicide Rates in Japan?, Nathan of FlowingData shows a chart of long-term unemployment rates and suicide rates in Japan. The chart comes from  Suicide Epidemic in Japan.

What&#8217;s wrong with this chart (which I&#8217;ve reproduced below)?

Axis label is faulty. &#8220;Japan and Suicide Rate&#8221; should be &#8220;Japan Long Term [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://flowingdata.com/2008/07/30/can-you-improve-this-graph-showing-suicide-rates-in-japan/" rel="nofollow" >Can You Improve this Graph Showing Suicide Rates in Japan?</a>, <strong>Nathan</strong> of <a href="http://flowingdata.com/" rel="nofollow" >FlowingData</a> shows a chart of long-term unemployment rates and suicide rates in Japan. The chart comes from  <a href="http://www.swivel.com/graphs/show/28847825" rel="nofollow" >Suicide Epidemic in Japan</a>.</p>
<p align="center"><img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan00.png" alt="" /></p>
<p>What&#8217;s wrong with this chart (which I&#8217;ve reproduced below)?</p>
<ul style="margin-left : 36px">
<li>Axis label is faulty. &#8220;Japan and Suicide Rate&#8221; should be &#8220;Japan Long Term Unemployment and Suicide Rates&#8221;.</li>
<li>Rates are not defined. Suicide Rate is number of suicides per 100,000 population. Long Term Unemployment Rate is percentage of total unemployed who have been unemployed for over twelve months.</li>
<li>Frequency of data is different. Using markers as in my version, it is clear that suicide rates are reported with much less frequency than long term unemployment. At least they didn&#8217;t use smoothed lines*.</li>
<li>Such unrelated rates should not be plotted on the same axis. This chart makes it look like the rates were about the same in 1980, then unemployment dropped below suicides, then it rose above suicides, then both remained the same from about 1992 through 2000.<span id="more-196"></span> </li>
</ul>
<p align="center"><img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan01.png" alt="" /></p>
<p>*Formatting the chart with smoothed lines and no markers gives the reader no indication that the data is reported on a different time scale, and may make it look as though the correlation is even closer.</p>
<p align="center"><img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan21.png" alt="" /></p>
<p>The first step is to address the overlapping scales. The chart above using one scale is misleading. I can add a secondary axis, and adjust the relative scales of the two series to mislead the reader in any way I want.</p>
<p align="center"><img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan11.png" alt="" /> <img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan12.png" alt="" /></p>
<p align="center"><img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan13.png" alt="" /> <img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan14.png" alt="" /></p>
<p>The only way to make the scales free from confusion is to plot he series on completely different, non-overlapping scales. I&#8217;ve split the chart into two panels to show the series separately on their own scales. It actually looks like the rise in suicides is leading the rise in long term unemployment. If I thought higher unemployment led to increased suicides, I&#8217;d expect unemployment to lead.</p>
<p align="center"><img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan02.png" alt="" /></p>
<p>If we&#8217;re looking for a relationship between the two variables, we should plot them on an XY chart. I&#8217;ve labeled the points with year, so that one can trace the evolution of the relationship. If I do the math, I get a correlation (R²) of 0.60, not a very strong relationship. By eye, I can see two regions in the chart.</p>
<ul style="margin-left : 36px">
<li>Up to 1995, when both suicides and unemployment was low, there is a very good negative relationship between suicides and unemployment. Are the number of suicides great enough to reduce the number of long term unemployed? </li>
<li>From 2000 onward, there seems to be a constant suicide rate despite the large increase in long-term unemployment.</li>
</ul>
<p align="center"><img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan03.png" alt="" /></p>
<p>Six data points isn&#8217;t much to base a hypothesis on, so I made a (probably invalid) attempt to rectify this, by interpolating suicide rates for the in-between years with no data. The chart looks very much like the one above; I&#8217;ve used filled markers to denote actual data, and unfilled for interpolated points.</p>
<p align="center"><img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan04.png" alt="" /></p>
<p>The correlation plot looks pretty much the same, a bit more convoluted. I did not bother calculating correlation coefficients, as that would stretch the validity of this exercise beyond my comfort zone.</p>
<p align="center"><img src="http://peltiertech.com/WordPress/wp-content/img200807/Japan05.png" alt="" /></p>



Bookmark and share this entry:


	<a rel="nofollow"  href="http://twitter.com/home?status=Suicide%20Rates%20in%20Japan%20-%20http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F" title="Twitter"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F&amp;title=Suicide%20Rates%20in%20Japan&amp;bodytext=In%20Can%20You%20Improve%20this%20Graph%20Showing%20Suicide%20Rates%20in%20Japan%3F%2C%20Nathan%20of%20FlowingData%20shows%20a%20chart%20of%20long-term%20unemployment%20rates%20and%20suicide%20rates%20in%20Japan.%20The%20chart%20comes%20from%20%20Suicide%20Epidemic%20in%20Japan.%0D%0A%0D%0A%0D%0A%0D%0AWhat%27s%20wrong%20with%20this%20chart%20%28which" title="Digg"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F&amp;t=Suicide%20Rates%20in%20Japan" title="Facebook"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F&amp;title=Suicide%20Rates%20in%20Japan&amp;source=Peltier+Tech+Blog+Peltier+Tech+Excel+Charts+and+Programming+Blog&amp;summary=In%20Can%20You%20Improve%20this%20Graph%20Showing%20Suicide%20Rates%20in%20Japan%3F%2C%20Nathan%20of%20FlowingData%20shows%20a%20chart%20of%20long-term%20unemployment%20rates%20and%20suicide%20rates%20in%20Japan.%20The%20chart%20comes%20from%20%20Suicide%20Epidemic%20in%20Japan.%0D%0A%0D%0A%0D%0A%0D%0AWhat%27s%20wrong%20with%20this%20chart%20%28which" title="LinkedIn"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F&amp;title=Suicide%20Rates%20in%20Japan&amp;notes=In%20Can%20You%20Improve%20this%20Graph%20Showing%20Suicide%20Rates%20in%20Japan%3F%2C%20Nathan%20of%20FlowingData%20shows%20a%20chart%20of%20long-term%20unemployment%20rates%20and%20suicide%20rates%20in%20Japan.%20The%20chart%20comes%20from%20%20Suicide%20Epidemic%20in%20Japan.%0D%0A%0D%0A%0D%0A%0D%0AWhat%27s%20wrong%20with%20this%20chart%20%28which" title="del.icio.us"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F" title="Technorati"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F&amp;title=Suicide%20Rates%20in%20Japan" title="StumbleUpon"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F&amp;title=Suicide%20Rates%20in%20Japan&amp;annotation=In%20Can%20You%20Improve%20this%20Graph%20Showing%20Suicide%20Rates%20in%20Japan%3F%2C%20Nathan%20of%20FlowingData%20shows%20a%20chart%20of%20long-term%20unemployment%20rates%20and%20suicide%20rates%20in%20Japan.%20The%20chart%20comes%20from%20%20Suicide%20Epidemic%20in%20Japan.%0D%0A%0D%0A%0D%0A%0D%0AWhat%27s%20wrong%20with%20this%20chart%20%28which" title="Google Bookmarks"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F&amp;title=Suicide%20Rates%20in%20Japan" title="Reddit"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F&amp;t=Suicide%20Rates%20in%20Japan" title="MySpace"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Suicide%20Rates%20in%20Japan&amp;url=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F" title="Slashdot"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F&amp;submitHeadline=Suicide%20Rates%20in%20Japan&amp;submitSummary=In%20Can%20You%20Improve%20this%20Graph%20Showing%20Suicide%20Rates%20in%20Japan%3F%2C%20Nathan%20of%20FlowingData%20shows%20a%20chart%20of%20long-term%20unemployment%20rates%20and%20suicide%20rates%20in%20Japan.%20The%20chart%20comes%20from%20%20Suicide%20Epidemic%20in%20Japan.%0D%0A%0D%0A%0D%0A%0D%0AWhat%27s%20wrong%20with%20this%20chart%20%28which&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fpeltiertech.com%2FWordPress%2Fsuicide-rates-in-japan%2F&amp;t=Suicide%20Rates%20in%20Japan&amp;s=In%20Can%20You%20Improve%20this%20Graph%20Showing%20Suicide%20Rates%20in%20Japan%3F%2C%20Nathan%20of%20FlowingData%20shows%20a%20chart%20of%20long-term%20unemployment%20rates%20and%20suicide%20rates%20in%20Japan.%20The%20chart%20comes%20from%20%20Suicide%20Epidemic%20in%20Japan.%0D%0A%0D%0A%0D%0A%0D%0AWhat%27s%20wrong%20with%20this%20chart%20%28which" title="Tumblr"><img src="http://peltiertech.com/WordPress/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://peltiertech.com/WordPress/suicide-rates-in-japan/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
