<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Trendline Fitting Errors</title>
	<atom:link href="http://peltiertech.com/WordPress/trendline-fitting-errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress/trendline-fitting-errors/</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Mon, 15 Mar 2010 17:19:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: chip</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/comment-page-1/#comment-27409</link>
		<dc:creator>chip</dc:creator>
		<pubDate>Tue, 23 Feb 2010 12:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364#comment-27409</guid>
		<description>Thanks, Jon. That&#039;s actually the problem. Once I changed to an XY it matched my LINEST calcs exactly.</description>
		<content:encoded><![CDATA[<p>Thanks, Jon. That&#8217;s actually the problem. Once I changed to an XY it matched my LINEST calcs exactly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/comment-page-1/#comment-27406</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 23 Feb 2010 12:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364#comment-27406</guid>
		<description>Chip -

Another important point is that the chart has to be an XY chart, not a line chart. Using the wrong chart type means the algorithm uses 1, 2, 3, etc. instead of the actual X values.</description>
		<content:encoded><![CDATA[<p>Chip -</p>
<p>Another important point is that the chart has to be an XY chart, not a line chart. Using the wrong chart type means the algorithm uses 1, 2, 3, etc. instead of the actual X values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chip</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/comment-page-1/#comment-27395</link>
		<dc:creator>chip</dc:creator>
		<pubDate>Tue, 23 Feb 2010 05:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364#comment-27395</guid>
		<description>Thanks, Jon. I used plenty of digits I think. The formula generated that supposedly represents the line is: 

y = 2677.2Ln(x) + 1820.4

Plugging my raw data back into this, it&#039;s way off. By a magnitude of at least 4. 

Using LINEST according to the formulas on John Walkenbach&#039;s spreadsheet page, I come up with: 

y = 1036.569Ln(x)+ (-1751.76)

Obviously a very different formula! When I plot the data plugged back into this formula, it matches the trendline drawn by Excel. 

I did not find any reference to this anywhere and I wonder if it&#039;s something in the 2003 with the 2007 compatibility pack that breaks it.  I did not intend to actually use the formulas written by the trendline anyway, but was pretty concerned that I was doing something very wrong.</description>
		<content:encoded><![CDATA[<p>Thanks, Jon. I used plenty of digits I think. The formula generated that supposedly represents the line is: </p>
<p>y = 2677.2Ln(x) + 1820.4</p>
<p>Plugging my raw data back into this, it&#8217;s way off. By a magnitude of at least 4. </p>
<p>Using LINEST according to the formulas on John Walkenbach&#8217;s spreadsheet page, I come up with: </p>
<p>y = 1036.569Ln(x)+ (-1751.76)</p>
<p>Obviously a very different formula! When I plot the data plugged back into this formula, it matches the trendline drawn by Excel. </p>
<p>I did not find any reference to this anywhere and I wonder if it&#8217;s something in the 2003 with the 2007 compatibility pack that breaks it.  I did not intend to actually use the formulas written by the trendline anyway, but was pretty concerned that I was doing something very wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/comment-page-1/#comment-27393</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 23 Feb 2010 05:14:01 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364#comment-27393</guid>
		<description>Chip -

I&#039;ve heard lots of complaints about accuracy of Excel&#039;s statistical computations, enough that I can&#039;t keep track of what&#039;s supposedly wrong in which version.

Did you allow for sufficient sig figs to reduce rounding errors in your calculations?</description>
		<content:encoded><![CDATA[<p>Chip -</p>
<p>I&#8217;ve heard lots of complaints about accuracy of Excel&#8217;s statistical computations, enough that I can&#8217;t keep track of what&#8217;s supposedly wrong in which version.</p>
<p>Did you allow for sufficient sig figs to reduce rounding errors in your calculations?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chip</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/comment-page-1/#comment-27392</link>
		<dc:creator>chip</dc:creator>
		<pubDate>Tue, 23 Feb 2010 05:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364#comment-27392</guid>
		<description>Jon, have you heard of issues with XL2003 displaying incorrect formulas for the logarithmic trendline? I haven&#039;t used these a lot. I plugged that formula reported by the Add Trendline option back against my data manually and it was nowhere close to what the trendline was showing. When I calculate the log trend using LINEST I can use the results to replicate the trendline Excel draws exactly. I have Excel 2003 loaded with the 2007 compatability pack.</description>
		<content:encoded><![CDATA[<p>Jon, have you heard of issues with XL2003 displaying incorrect formulas for the logarithmic trendline? I haven&#8217;t used these a lot. I plugged that formula reported by the Add Trendline option back against my data manually and it was nowhere close to what the trendline was showing. When I calculate the log trend using LINEST I can use the results to replicate the trendline Excel draws exactly. I have Excel 2003 loaded with the 2007 compatability pack.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John L</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/comment-page-1/#comment-25292</link>
		<dc:creator>John L</dc:creator>
		<pubDate>Mon, 11 Jan 2010 21:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364#comment-25292</guid>
		<description>Thanks very much!! In all the years I have been using the TRENDLINE function I have never run across this point; but it is the reason!</description>
		<content:encoded><![CDATA[<p>Thanks very much!! In all the years I have been using the TRENDLINE function I have never run across this point; but it is the reason!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/comment-page-1/#comment-25290</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Mon, 11 Jan 2010 21:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364#comment-25290</guid>
		<description>John -

This would not be present or absent on a workbook basis. Instead it depends on the data. If you have zero values in the series data, Excel does not allow some trendline types.</description>
		<content:encoded><![CDATA[<p>John -</p>
<p>This would not be present or absent on a workbook basis. Instead it depends on the data. If you have zero values in the series data, Excel does not allow some trendline types.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John L</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/comment-page-1/#comment-25278</link>
		<dc:creator>John L</dc:creator>
		<pubDate>Mon, 11 Jan 2010 17:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364#comment-25278</guid>
		<description>I have frequently used EXCEL TRENDLINE features. A recent new workbook does not show the TRENDLINE TYPE  -  POWER    EXPONENTIAL     or   LOGARITHMIC   . Any idea what has happened? Previous workbooks still display those options.</description>
		<content:encoded><![CDATA[<p>I have frequently used EXCEL TRENDLINE features. A recent new workbook does not show the TRENDLINE TYPE  &#8211;  POWER    EXPONENTIAL     or   LOGARITHMIC   . Any idea what has happened? Previous workbooks still display those options.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/comment-page-1/#comment-15589</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Fri, 26 Jun 2009 10:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364#comment-15589</guid>
		<description>Hi Bas -

In my understanding, Excel 2003 had finally worked out most of the statistics bugs. For years, the trendline formula was (believe it or not) considered a world-class techniue for calculating poly fits, but 2003 finally brought this capability to the worksheet functions.

Excel 2007 broke the trendline formula for many cases, inappropriately changing coefficients within a certain range to zero due to an overzealous rounding error correction algorithm. SP1 made a few improvements, SP2 has made more. We all hope and wish that Excel 2010 will clean up all of the problems (and not just with statistics!).</description>
		<content:encoded><![CDATA[<p>Hi Bas -</p>
<p>In my understanding, Excel 2003 had finally worked out most of the statistics bugs. For years, the trendline formula was (believe it or not) considered a world-class techniue for calculating poly fits, but 2003 finally brought this capability to the worksheet functions.</p>
<p>Excel 2007 broke the trendline formula for many cases, inappropriately changing coefficients within a certain range to zero due to an overzealous rounding error correction algorithm. SP1 made a few improvements, SP2 has made more. We all hope and wish that Excel 2010 will clean up all of the problems (and not just with statistics!).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bas V</title>
		<link>http://peltiertech.com/WordPress/trendline-fitting-errors/comment-page-1/#comment-15576</link>
		<dc:creator>Bas V</dc:creator>
		<pubDate>Thu, 25 Jun 2009 23:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=364#comment-15576</guid>
		<description>One of my associates has found an instance of Excel 2007 SP1 displaying incorrect fit coefficients for a third order polynomial fit with a forced zero intercept.  The value of the bad third order coefficient was not real small (same order as the other two) Moreover, the bad coefficient would not display at all in SP1 version once the document was saved and reopened.   The problem went away with an update to SP2.  SP1 users beware!</description>
		<content:encoded><![CDATA[<p>One of my associates has found an instance of Excel 2007 SP1 displaying incorrect fit coefficients for a third order polynomial fit with a forced zero intercept.  The value of the bad third order coefficient was not real small (same order as the other two) Moreover, the bad coefficient would not display at all in SP1 version once the document was saved and reopened.   The problem went away with an update to SP2.  SP1 users beware!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
