LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Tushar Mehta
 
Posts: n/a
Default

Why not let XL do the work for you?
Trendline coefficients
http://www.tushar-mehta.com/excel/ti...efficients.htm

If you must do it yourself, suppose you have the x and y values in cols.
A and B starting with row 2. Designate some cells as the coefficient
cells. How many will depend on the kind of equation you are trying to
fit. Then, for each x value, compute f(x) using the coefficient cells.
Suppose these values are in column C. Then, in, say, column D,
calculate the square of the difference between the Y value and the f(x)
computed value. Finally, calculate the sum of the values in column D.

Now, minimize the sum of square-of-differences cell using Solver. The
'by changing cells' will be the coefficient cells. The objective will
be to minimize the sum-of-squares cell.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Multi-disciplinary business expertise
+ Technology skills
= Optimal solution to your business problem
Recipient Microsoft MVP award 2000-2005

In article ,
says...
I need to do a curve fit of scatter data in excel. What do I put in the
so.ver fields?

 
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
Excel solver sensitivity report has empty shadow prices column? Lela Excel Discussion (Misc queries) 0 March 29th 05 02:55 PM
Excel Files Acting Weird Anat Excel Discussion (Misc queries) 0 March 29th 05 03:07 AM
Excel Solver background in forecasting modeling RL Excel Worksheet Functions 3 March 25th 05 09:11 PM
I get a program error when I download an excel template Ladybug Excel Discussion (Misc queries) 3 March 4th 05 12:02 AM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 08:35 AM.

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

About Us

"It's about Microsoft Excel"