How can I fix round-off errors in Excel when using trendline equations?

  • Thread starter Thread starter wjp1982
  • Start date Start date
  • Tags Tags
    Excel Graphing
Click For Summary
When fitting a curve in Excel using the trendline function, discrepancies between the calculated values and the original data can arise due to round-off errors. The trendline's displayed coefficients often show limited significant digits, which can lead to inaccuracies when used in formulas. To resolve this, increase the number of displayed digits in the trendline label by formatting the data labels to show at least three significant digits. This adjustment will provide more precise coefficients for use in calculations, ensuring that the values align more closely with the original data.
wjp1982
Messages
1
Reaction score
0
Hi, I am attempting to find an equation to fit a curve that I have plotted in Excel. I use the trendline function and get an equation but when i place that formula in excel and with the values they are different. I have attached the spreadsheet to show you. The yellow columns are my original data. The blue columns are the numbers i get from the trendline equation. My R-squared value is 1.0 for both too. Any help is beneficial thanks.
 

Attachments

Computer science news on Phys.org
You are most likely suffering from round-off errors. You are using the displayed coefficients in your formula, however, those displayed coefficients are only showing one significant digit.

Increase the number of displayed digits in the trendline label (right click label, select "format data labels", set Number tab, select Scientific, select number of digits - use at least three).

The displayed coefficients will reveal themselves with more precision. Use these coefficients in your formula.
 
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 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
7
Views
3K
Replies
42
Views
9K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K