Polynomial Fit in EXCEL does not work as it should

Click For Summary
The discussion centers on difficulties extracting second-degree polynomial coefficients from a curve of best fit in Excel using the LINEST function. The user is experiencing errors or zero values for coefficients despite successfully applying the method previously. It is suggested that the issue may stem from incorrectly identifying which columns represent Y and X values, potentially leading to reversed data in the calculations. The user is encouraged to double-check their data arrangement to resolve the issue. Proper alignment of data columns is crucial for accurate polynomial fitting in Excel.
Woland
Messages
18
Reaction score
0
Hello all,

I am trying to extract the 2nd degree polynomial coefficients from a curve of best fit applied in EXCEL. I know how to do it (http://spreadsheetpage.com/index.php/tip/chart_trendline_formulas)

2nd Order Polynomial Trendline

Equation: y = (c2 * x^2) + (c1 * x ^1) + b
c2: =INDEX(LINEST(y,x^{1,2}),1)
C1: =INDEX(LINEST(y,x^{1,2}),1,2)
b = =INDEX(LINEST(y,x^{1,2}),1,3)


Iv done it before, but for some reason it is not working out for my particular data set. I keep getting errors or zero for my coefficients. If I do the regular best fit using the trendline option, it works.

I get: y = 2E+16x2 + 1E+11x + 3.033

I am attaching my data set.

Does anyone know if there is something wrong with my method? Perhaps I am forgetting something.

Thanks.
 

Attachments

Physics news on Phys.org
You should pay attention to of the two columns represent Y and which represents X. I think you are reversing them between the trendline and the LINEST function.
 
The standard _A " operator" maps a Null Hypothesis Ho into a decision set { Do not reject:=1 and reject :=0}. In this sense ( HA)_A , makes no sense. Since H0, HA aren't exhaustive, can we find an alternative operator, _A' , so that ( H_A)_A' makes sense? Isn't Pearson Neyman related to this? Hope I'm making sense. Edit: I was motivated by a superficial similarity of the idea with double transposition of matrices M, with ## (M^{T})^{T}=M##, and just wanted to see if it made sense to talk...

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
Replies
1
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K