<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Libreoffice Calc Trendline R^2 value calculation goes wrong when trendline is forced through 0"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=127517">bug 127517</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>jumbo4444@yahoo.fr
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Libreoffice Calc Trendline R^2 value calculation goes wrong when trendline is forced through 0"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=127517#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Libreoffice Calc Trendline R^2 value calculation goes wrong when trendline is forced through 0"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=127517">bug 127517</a>
from <span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span></b>
<pre>(In reply to Leyan from <a href="show_bug.cgi?id=127517#c5">comment #5</a>)
<span class="quote">> I had a look in the code, this is deliberate. A specific computation was
> introduced to reproduce the behavior of the LINEST function, by replacing
> the difference to the average by the difference to the constant to intercept:
>
> * The original bug is here:
> <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - EDITING: R^2 calculation of trendline with forced intercept is not correct"
href="show_bug.cgi?id=73374">https://bugs.documentfoundation.org/show_bug.cgi?id=73374</a>
> * The commit made to solve it is here:
> <a href="https://github.com/LibreOffice/core/commit/">https://github.com/LibreOffice/core/commit/</a>
> 9e67015be6e9e53e19466117d692de17c18463da
>
> The LINEST function also gives R2=0.985148.
>
> In Excel (Office365), the LINEST function answers 0.985148 and the chart R2
> is 0.9373.</span >
Laurent: can you comment on this?</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>