#1   Report Post  
ed
 
Posts: n/a
Default Hyperbolic Trendline

Is it possible to create a hyperbolic best fit line, rather than using only
the options for type of trendline that excel has? If so, how would I do it?
  #2   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi Ed,

You can use the 'Solver' Add-in in Excel to fit any user-defined
function to {x,y} data. If the add-in is not already installed, go to
'Tools' -- 'Add-ins' -- select 'Solver Add-in'; Excel might require the
Excel or Office CD for installing the add-in. Once installed, the add-in can
be accessed by clicking 'Tools'.

Let's say you have your xdata and ydata in columns A and B. Create a
column (say Column C) for calculated y values (let's call them ycal) using
the hyperbolic function you want to fit to the data by invoking x values from
the xdata column, and the parameters for the function placed in some cells
(you have to enter some reasonable initial guess values for those parameters
- 1 might work). Now create another column (say Column D) which is
(ycal-ydata)^2. Place the sum of Column D in a cell (let us call that SSR)

Now invoke Solver (in Tools); the solver window pops up. Enter the
cell address for SSR in 'Target Cell', select the 'Minimize'-button, enter
the cell addresses of the parameters in 'By changing' bar, and click 'Solve'.
If everything goes well, the parameter cells should update to show optimized
values of the parameters. You can superimpose a plot of ycal vs xdata on a
plot of ydata vs xdata, to see the quality of the fit.

Sorry that my reply is looong and maybe confusing.

Regards,
B.R. Ramachandran

"ed" wrote:

Is it possible to create a hyperbolic best fit line, rather than using only
the options for type of trendline that excel has? If so, how would I do it?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperbolic trendline ed Charts and Charting in Excel 1 August 25th 05 07:33 PM
Trendline Extract Phil Hageman Charts and Charting in Excel 5 July 6th 05 02:27 AM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
How do I get the trendline equation from Excel to script? Mattias Charts and Charting in Excel 1 December 7th 04 12:21 PM
Trendline error??? Eugepticus Charts and Charting in Excel 3 November 30th 04 04:40 AM


All times are GMT +1. The time now is 03:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"