How to Calculate Uncertainty in Polynomial Fit Parameters Using Excel?

AI Thread 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
 
This week, I saw a documentary done by the French called Les sacrifiés de l'IA, which was presented by a Canadian show Enquête. If you understand French I recommend it. Very eye-opening. I found a similar documentary in English called The Human Cost of AI: Data workers in the Global South. There is also an interview with Milagros Miceli (appearing in both documentaries) on Youtube: I also found a powerpoint presentation by the economist Uma Rani (appearing in the French documentary), AI...
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
Back
Top