Trendline

Copper Contributor

I have always wondered, how do I replace the following formula to get the value of y?

Like what is the formula in Excel for this so that if I replace x=23 I get y for example?

 

12 Replies
Replace each x with the cell address containing the value for y, e.g. A2 then to get the power, replace the numbers with ^ followed by that number. Also, in Excel a formula starts with the equal sign:

=-0.0008*A2^6+0.0605*A2^5+ ......

@Jan Karel Pieterse Thank you, yes I have done that but the result is a number completely out of the curve, it does not make any sense.

@Juan Pablo Gallardo 

Click on Format Trendline (or box with the formula) and in formatting assign 17 decimal places, not 4 as you have now. Try formula again with updated parameters.

@Sergei Baklan no difference at all.

@Juan Pablo Gallardo 

How trendline formula looks after you changed the number of decimals?

@Sergei Baklan  the numbers have more decimals, but they are decimals, negligent enough to make a change on the final value.

@Juan Pablo Gallardo 

Yes, they are decimals, but decimals which significantly affect calculation result.

You are quite correct. This also means that you have to be careful in taking the fitted line seriously, small inaccuracies in the fit have huge effect on the outcome of predictions. This asks for careful statistical analysis.

@Jan Karel Pieterse 

What's interesting, during the week there were 5 or so questions about trendline formula accuracy. And no one for years before, at least not in my memory.

Must be people trying to make sense from Corona data :)
My son pointed me to this xkcd which is illustrative for this discussion.
https://xkcd.com/2048/

@Jan Karel Pieterse 

Thanks to your son!