Curve Fitting a Function to known X & Y data

W

Walter

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!
 
M

Mike Middleton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top