PC Review


Reply
Thread Tools Rate Thread

Adding new trendlines?

 
 
hog.badger@mbox.bol.bg
Guest
Posts: n/a
 
      1st Jun 2007
I'm fitting curve fitting to asymptiotic functions such as y = (ax +
b)/(cx + d) and would like to draw my fitted line through the
scattered data.

The problem is not with the curve fitting, it is with drawing the
trendline.
Excel 2000 only has six trendline curve types, and none of them match
my function.

Is there any way to add new trendlines to Excel 2000?

Failing that, any other way I could add my fitted curve to the scatter-
plot?

Thanks,
Paddy

PS. Apologies if this is repeating ... i get "server error" on
posting.

 
Reply With Quote
 
 
 
 
Shane Devenshire
Guest
Posts: n/a
 
      1st Jun 2007
You can't add trendline types to Excel's charting area.

What you can do is design your own formula, in the spreadsheet, that does
the trendline calculation you want and then plot that on the chart.

But you need to know the formula necessary to calculate the trendline.

Also, you can expand some of Excel's trendlines by using the appropriate
formulas in the spreadsheet and going beyond the limits set by the Chart.
For example, in the spreadsheet you can use LINEST to calculate a 16th order
polynomial trendline.

Cheers,
Shane

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm fitting curve fitting to asymptiotic functions such as y = (ax +
> b)/(cx + d) and would like to draw my fitted line through the
> scattered data.
>
> The problem is not with the curve fitting, it is with drawing the
> trendline.
> Excel 2000 only has six trendline curve types, and none of them match
> my function.
>
> Is there any way to add new trendlines to Excel 2000?
>
> Failing that, any other way I could add my fitted curve to the scatter-
> plot?
>
> Thanks,
> Paddy
>
> PS. Apologies if this is repeating ... i get "server error" on
> posting.
>


 
Reply With Quote
 
=?Utf-8?B?SmVycnkgVy4gTGV3aXM=?=
Guest
Posts: n/a
 
      7th Jun 2007
Your equation has no unique solution. If (a,b,c,d) is a solution, then so is
(a*e,b*e,c*e,d*e) for any non-zero value e. Set one of the four parameters
to an arbitrary constant of your choosing (I tend to set d=1), and linearize
to y*(c*x+d)=(a*x+b) which is linear in the unknowns and can therefore be
re-arranged for solution using LINEST.

Jerry

"(E-Mail Removed)" wrote:

> I'm fitting curve fitting to asymptiotic functions such as y = (ax +
> b)/(cx + d) and would like to draw my fitted line through the
> scattered data.
>
> The problem is not with the curve fitting, it is with drawing the
> trendline.
> Excel 2000 only has six trendline curve types, and none of them match
> my function.
>
> Is there any way to add new trendlines to Excel 2000?
>
> Failing that, any other way I could add my fitted curve to the scatter-
> plot?
>
> Thanks,
> Paddy
>
> PS. Apologies if this is repeating ... i get "server error" on
> posting.
>
>

 
Reply With Quote
 
=?Utf-8?B?SmVycnkgVy4gTGV3aXM=?=
Guest
Posts: n/a
 
      7th Jun 2007
While your suggestion is technically correct, I would be highly suspicious of
the numerical accuracy of even a 6th degree polynomial solution by LINEST in
Excel 2000, unless I knew that the design matrix was either orthogonol or
nearly so.

For example,
http://groups.google.com/group/micro...9a2bb33e6cdbb8
gives an example where pre-2003 LINEST gives no correct figures for any
coefficient of a 6th degree polynomial, where the chart trendline gets 9
correct figures.

In Excel 2003, LINEST is much more numerically accurate, but coefficients of
exactly zero are not to be trusted.
http://groups.google.com/group/micro...98be08e90c3cfa
LINEST in Excel 2007 resolves this problem, but the chart trendline in 2007
was "improved" such that it is no longer trustworthy.
http://groups.google.com/group/micro...353c068ee07b94

Jerry

"Shane Devenshire" wrote:

> You can't add trendline types to Excel's charting area.
>
> What you can do is design your own formula, in the spreadsheet, that does
> the trendline calculation you want and then plot that on the chart.
>
> But you need to know the formula necessary to calculate the trendline.
>
> Also, you can expand some of Excel's trendlines by using the appropriate
> formulas in the spreadsheet and going beyond the limits set by the Chart.
> For example, in the spreadsheet you can use LINEST to calculate a 16th order
> polynomial trendline.
>
> Cheers,
> Shane
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I'm fitting curve fitting to asymptiotic functions such as y = (ax +
> > b)/(cx + d) and would like to draw my fitted line through the
> > scattered data.
> >
> > The problem is not with the curve fitting, it is with drawing the
> > trendline.
> > Excel 2000 only has six trendline curve types, and none of them match
> > my function.
> >
> > Is there any way to add new trendlines to Excel 2000?
> >
> > Failing that, any other way I could add my fitted curve to the scatter-
> > plot?
> >
> > Thanks,
> > Paddy
> >
> > PS. Apologies if this is repeating ... i get "server error" on
> > posting.
> >

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trendlines =?Utf-8?B?Sm9zaA==?= Microsoft Excel Charting 10 20th Mar 2007 03:33 AM
trendlines =?Utf-8?B?YWdtb29yZQ==?= Microsoft Excel Charting 1 15th Jun 2006 09:55 PM
Trendlines =?Utf-8?B?Q2hyaXM=?= Microsoft Excel Charting 3 15th Feb 2005 06:51 AM
Trendlines =?Utf-8?B?Qm9iIEJhcm5lcw==?= Microsoft Excel Charting 2 24th Aug 2004 05:36 PM
Adding/Viewing Trendlines to Charts cruehle Microsoft Excel Charting 2 31st Dec 2003 02:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:05 AM.