How to Calculate Uncertainty in Polynomial Fit Parameters Using Excel?

Click For Summary
To calculate uncertainty in polynomial fit parameters using Excel, one can utilize the R^2 correlation coefficient, which indicates the accuracy of the fit. The "INSERT TRENDLINE" dialog box in Excel allows users to display the equation and R^2 value on the chart. It's important to adjust the number of decimal places in the displayed equation for better correlation with the data. For non-linear fits, users may need to explore additional software or numerical methods resources. Understanding these tools can enhance the accuracy of polynomial fitting and uncertainty estimation.
JamesJames
Messages
204
Reaction score
0
I performed a fit, using EXCEL, to data and the fit gave me a polynomial. How do I get the uncertainty in the resulting parameters. For example the least squares fit gives y = Ax+B and there are equations to give the uncertainties in A and B. IS there a program that does this for non linear fits?

James
 
Computer science news on Phys.org
You'll want to output the R^2 correlation coefficient. The closer R^2 is to 1, the more accurate the equation is. I know excel can output it, but I'm not sure exactly how since I haven't used excel in a long time.
 
In the "INSERT TRENDLINE" dialog box, there is a tab for options. At the bottom of the dialog box you will see three check boxes. "SET INTERCEPT TO 0," "DISPLAY EQUATION ON CHART" and "DISPLAY R^2 ON CHART." Select the ones you want.

Word of warning, if you check the equation output, you may have to increase the number of decimal places shown in the equation to get better correlation between your regression and the data.
 
How about performing a fit to data that should obey [csc(theta/2)]^4. Would this be out of a numerical methods book or something?

James
 
I’ve spent nearly my entire life online, and witnessed AI become integrated into our lives. It’s clear that AI is apart of us now whether we like it or not, unless your a anti tech cabin lover. AI has some form of control over your life. But what I’ve seen very recently is that people are loosing their ingenuity and deciding to use AI. I feel as if it’ll bleed into STEM which is kinda has already and, every idea or thought could become fully reliant on AI. Yeah AI makes life easier but at a...

Similar threads

  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
1K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
8
Views
2K