Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how does excel calculate curves of best fit?

I'm curious as to what methods excel uses when it calculates a polynomial
curve of best fit, i.e. if you graphed two sets of values and added a
trendline in the graph of the polynomial type, how does it determine the
constant coefficients of the function it produces?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 340
Default how does excel calculate curves of best fit?

For the equation y = a + bx + cx² + dx³ and a list of observations X
and Y it uses a multiple regression:

=LINEST(Y,X^{1,2,3})

To see the result array-enter (with ctrl+shift+enter) in a 4x1 range or
highlight the formula and press F9.

Jon H wrote:

I'm curious as to what methods excel uses when it calculates a polynomial
curve of best fit, i.e. if you graphed two sets of values and added a
trendline in the graph of the polynomial type, how does it determine the
constant coefficients of the function it produces?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 837
Default how does excel calculate curves of best fit?

The chart trendline and the worksheet functions LINEST, SLOPE, INTERCEPT, etc
all do least squares fitting

Jerry

"Jon H" wrote:

I'm curious as to what methods excel uses when it calculates a polynomial
curve of best fit, i.e. if you graphed two sets of values and added a
trendline in the graph of the polynomial type, how does it determine the
constant coefficients of the function it produces?

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
How do I calculate the root of a number using Excel? Arthur Yeager Excel Worksheet Functions 4 May 10th 07 08:35 AM
how to calculate the hours and minutes in excel Mital Excel Discussion (Misc queries) 3 February 14th 06 06:49 PM
how to calculate surface area in excel chart k Charts and Charting in Excel 1 January 18th 06 03:07 PM


All times are GMT +1. The time now is 05:59 PM.

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"