<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - LibreOffice Calc power regression coefficients error"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=142643#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - LibreOffice Calc power regression coefficients error"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=142643">bug 142643</a>
from <span class="vcard"><a class="email" href="mailto:uwe@franke-auer.de" title="Uwe Auer <uwe@franke-auer.de>"> <span class="fn">Uwe Auer</span></a>
</span></b>
<pre>Just to make clear, how I calculate and understand the regression:
f(x) = a * x^b
-> ln (f(x)) = ln (a*x^b) = ln(a) + ln(x^b) = ln(a) + b*ln(x)
Now you use function() LINEST on natural logarithm of both axis an you get two
coefficients:
[1] Slope - which is b
[2] Intercept - which is ln(a)
Hence you need to exp(ln(a)) to get a.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>