[Libreoffice-bugs] [Bug 142643] LibreOffice Calc power regression coefficients error
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 4 11:47:52 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=142643
--- Comment #9 from Uwe Auer <uwe at franke-auer.de> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210604/5f181c67/attachment.htm>
More information about the Libreoffice-bugs
mailing list