| Summary: | Different Results Calculating Logarithmic Regression with two methods of Calc | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | jrodriguez1717 |
| Component: | Calc | Assignee: | Dennis Francis <dennisfrancis.in> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | normal | CC: | dennisfrancis.in, ilmari.lauhakangas, raal |
| Priority: | medium | ||
| Version: | 6.0.0.1 rc | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | Different Results Calculating Log Regression | ||
|
Description
jrodriguez1717
2018-01-03 17:01:57 UTC
Created attachment 138859 [details]
Different Results Calculating Log Regression
raal: can you confirm this? I'm not good at this science. I can confirm the differences in results between LOGEST() and that via statistics menu's regression option. I can confirm that the LOGEST function is computing the right answers (compared with Excel online). The formulas generated by the statistics regression tool for logarithmic regression seems to have mixed up the roles of X and Y variables for computing slope, intercept and standard error. I need to compare the results of statistics tool box of Excel desktop (not the free online version as it does not seem to have toolboxes), to decide on what the acceptable behaviour should be. Actually LOGEST(Y, X) solves the exponential model y = b*m^x, and gives you the values of b, m, and other statistics, but the regression tool "logarithmic regression" solves a logarithmic model given by "y = a*ln(x) + b" and provides you the slope(a) and intercept(b). So naturally they are different. Note that coefficient of determination (R^2) between ln(y) and x in the exponential model given by LOGEST() will match that of the R^2 given by logarithmic regression tool if you swap the roles of x and y, but not the other results. See the differences and relationship between these two models of regression here :- https://help.libreoffice.org/Chart/Trend_Lines So this is not a bug, but I agree that there needs to be statistics tool for exponential regression as well. I'll try to add that soon. |