[Libreoffice-bugs] [Bug 142986] In "Data - Statistics - Sampling" options, not possible to use a sampling size greater than 100

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 22 22:24:10 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=142986

stragu <stephane.guillou at member.fsf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Problem with Data -         |In "Data - Statistics -
                   |Statistics - Sampling       |Sampling" options, not
                   |option                      |possible to use a sampling
                   |                            |size greater than 100
             Blocks|                            |111310

--- Comment #3 from stragu <stephane.guillou at member.fsf.org> ---
Whatever settings are used (as long as there are enough values to pick from
according to settings), if the sample size is bigger than 100, it switches back
to a maximum of 100.

Minimal reproducible steps from scratch:

1. Open Calc
2. Fill a range with numbers (for example the sequence 1 to 10 in range A1:A10)
3. Select range with numbers
4. Menu: Data > Statistics > Sampling...
5. The "Input range" should be the one previously selected
6. Results to: B1
7. Sampling method: Random
8. Tick "With replacement" (so numbers in the sample can be reused)
9. Input a Sample size greater than 100 (for example 105)
10. Click out of the Size field (by clicking into another field, or clicking
OK) 

Actual results:
The sample size is reset to a maximum of 100.

Expected results:
Any number is kept, as "With replacement" is ticked and therefore the sample
size is not limited.

Confirmed with:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: e3086b58eb5427d520b86c185f9d911bb6f7a3a0
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64 at 86-TDF, Branch:master, Time:
2021-06-21_15:37:11
Calc: threaded

And:

Version: 7.2.0.0.beta1 / LibreOffice Community
Build ID: c6974f7afec4cd5195617ae48c6ef9aacfe85ddd
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=111310
[Bug 111310] [META] Data statistics bugs and enhancements
-- 
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/20210622/7ec73ac9/attachment.htm>


More information about the Libreoffice-bugs mailing list