Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Curve Fitting a Function to known X & Y data

Hi,

I would like to curve-fit the function

(y+d)^2= a+b*(x-c)/ln(x-c)

to X and Y data I have. I would like to know coefficients a,b,c,d,r^2 and
the maximum slope of the function. It is also important for me to see a graph
illustrating both the function and first derivative.

So far I have been doing this using "Tablecurve 2d", but I would like to
built this into a template in order to automate this process (I have over
5000 data files).

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 762
Default Curve Fitting a Function to known X & Y data

Walter -

To do the curve fit in Excel, you would probably have to use Excel's Solver
to search changing cells a, b, c, and d that minimize a target cell
containing a formula for sum of squared deviations. Then use formulas for
r^2 and estimates of the derivative. And plot the results using an XY
(Scatter) chart or two. And, it could all be automated using VBA.

But it might be easier to use code provided by Systat, and use a platform
other than Excel.

- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel



"Walter" wrote in message
...
Hi,

I would like to curve-fit the function

(y+d)^2= a+b*(x-c)/ln(x-c)

to X and Y data I have. I would like to know coefficients a,b,c,d,r^2 and
the maximum slope of the function. It is also important for me to see a
graph
illustrating both the function and first derivative.

So far I have been doing this using "Tablecurve 2d", but I would like to
built this into a template in order to automate this process (I have over
5000 data files).

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Curve Fitting a Function to known X & Y data

Thanks a lot for your help Mike. I'll try doing that.

"Mike Middleton" wrote:

Walter -

To do the curve fit in Excel, you would probably have to use Excel's Solver
to search changing cells a, b, c, and d that minimize a target cell
containing a formula for sum of squared deviations. Then use formulas for
r^2 and estimates of the derivative. And plot the results using an XY
(Scatter) chart or two. And, it could all be automated using VBA.

But it might be easier to use code provided by Systat, and use a platform
other than Excel.

- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel



"Walter" wrote in message
...
Hi,

I would like to curve-fit the function

(y+d)^2= a+b*(x-c)/ln(x-c)

to X and Y data I have. I would like to know coefficients a,b,c,d,r^2 and
the maximum slope of the function. It is also important for me to see a
graph
illustrating both the function and first derivative.

So far I have been doing this using "Tablecurve 2d", but I would like to
built this into a template in order to automate this process (I have over
5000 data files).

Thanks!




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
Curve fitting Z=f( X & Y) [email protected] Charts and Charting in Excel 2 October 29th 07 12:37 PM
Curve Fitting Tayseer Charts and Charting in Excel 1 October 7th 07 12:12 PM
curve fitting [email protected] Charts and Charting in Excel 1 June 3rd 06 07:06 PM
curve fitting a charging capacitor type curve mcgradys Excel Discussion (Misc queries) 4 November 15th 05 12:46 PM
curve fitting to a sine function Tenarife Charts and Charting in Excel 2 August 13th 05 08:23 PM


All times are GMT +1. The time now is 09:29 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"