[Libreoffice-bugs] [Bug 142993] New: Sampling with replacement should still allow "keep order"
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 23 01:03:08 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=142993
Bug ID: 142993
Summary: Sampling with replacement should still allow "keep
order"
Product: LibreOffice
Version: 7.0.6.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: stephane.guillou at member.fsf.org
Description:
When using the Sampling tool, the options "With replacement" and "Keep order"
are exclusive. Ticking one unticks the other one.
The user should be able to create a sample with replacement while still
conserving the order they appear in.
The UX would also improve as the two choices currently use tickboxes that make
it look like both can be ticked at the same time.
Steps to Reproduce:
1. Open Calc
2. Create a range of values, for example the sequence 1 to 10 in the range
A1:A10
3. Select said range
4. Open the sampling dialogue: Data > Statistics > Sampling...
5. Input range should be the selected range
6. Results to: B1
7. Sample size: any value above 1
8. Sampling method: Random
9. Tick "With replacement" and "Keep order"
Actual Results:
The two option are exclusive. Ticking one unticks the other.
Expected Results:
The two options don't need to be exclusive: one might want sampling to happen
with replacement, but still keeping the values in the original order.
For example:
- Sample the sequence: 1, 3, 2, 4
- Use "With replacement" and "Keep order" and a sample size of 6
- Get an output like: 1, 1, 1, 2, 4, 4
Reproducible: Always
User Profile Reset: No
Additional Info:
Tested on:
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
and:
Version: 7.0.6.2
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
--
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/20210623/896bf2f2/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list