Hi,
I have bit of a problem with writing unit tests for the new FORECAST.ETS functions
(https://bugs.documentfoundation.org/show_bug.cgi?id=94635).
As the functions return forecasts and predicted confidence intervals, the returned values are not
mathematically exact.
Excel2016 returns slightly different values than Calc does, because of differences in the way
coefficients are calculated, internal thresholds for error levels and/or accuracy, etc.
So it seems that all I can do is to check handling of (in)correct argument values by checking if
the functions return an error or not.
I could add something like result should be x plus or minus y%, but that doesn't attract me.
I cannot use an xlsx document to test import as well because Excel only supports about half of the
new functions (and the results differ anyway).
Any suggestions on how to proceed here?
Winfried
Context
- adding unittest for Calc FORECAST.ETS functions · Winfried Donkers
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.