diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /helpcontent2/source/text/scalc/01/statistics_sampling.xhp | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream/4%7.4.7.tar.xz libreoffice-upstream/4%7.4.7.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'helpcontent2/source/text/scalc/01/statistics_sampling.xhp')
-rw-r--r-- | helpcontent2/source/text/scalc/01/statistics_sampling.xhp | 242 |
1 files changed, 242 insertions, 0 deletions
diff --git a/helpcontent2/source/text/scalc/01/statistics_sampling.xhp b/helpcontent2/source/text/scalc/01/statistics_sampling.xhp new file mode 100644 index 000000000..753f70cb7 --- /dev/null +++ b/helpcontent2/source/text/scalc/01/statistics_sampling.xhp @@ -0,0 +1,242 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + --> + +<meta> +<topic id="datasampligtopic" indexer="include" status="PUBLISH"> +<title xml-lang="en-US" id="tit">Data Sampling in Calc</title> +<filename>/text/scalc/01/statistics_sampling.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id2764278"> +<bookmark_value>Analysis toolpack;sampling</bookmark_value> +<bookmark_value>sampling;Analysis toolpack</bookmark_value> +<bookmark_value>Data statistics;sampling</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/samplingdialog/SamplingDialog" id="bm_id2745673" localize="false"/> +<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/samplingdialog/@@nowidget@@" id="bm_id2745673" localize="false"/> +<section id="datasampling"> +<h1 id="hd_id1000020"><variable id="datasamplingh1"><link href="text/scalc/01/statistics_sampling.xhp" name="Sampling">Sampling</link></variable></h1> +<paragraph id="par_id1000030" role="paragraph" xml-lang="en-US"><ahelp hid="modules/scalc/ui/samplingdialog/SamplingDialog">Create a table with data sampled from another table.</ahelp></paragraph> +</section> +<section id="howtoget"> +<paragraph id="par_id1000040" role="paragraph" xml-lang="en-US"><variable id="sam01">Choose <menuitem>Data - Statistics - Sampling</menuitem></variable></paragraph> +</section> +<paragraph id="par_id1000050" role="paragraph" xml-lang="en-US">Sampling allows you to pick data from a <emph>source</emph> table (population) to fill a <emph>target</emph> table. The sampling can be random or in a periodic basis, as well as with or without sample replacement in the source table.</paragraph> +<note id="par_id1000060">Sampling is done row-wise. That means, the sampled data will pick the whole line of the source table and copy into a line of the target table.</note><embed href="text/scalc/01/stat_data.xhp#data"/> +<h2 id="hd_id1000030">Sampling Method</h2> +<h3 id="hd_id611623249550632">Random</h3> +<paragraph role="paragraph" id="par_id711623249563655">Picks exactly <emph>Sample Size</emph> lines of the source table in a random way.</paragraph> +<h3 id="hd_id431623249579089">Sample size</h3> +<paragraph role="paragraph" id="par_id461623249594879">Number of lines sampled from the source table. The Sample size is limited to the population size for all sampling methods without replacement.</paragraph> +<h3 id="hd_id931623249610097">With replacement</h3> +<paragraph role="paragraph" id="par_id191623249619384">When checked, put back samples in population (source table) after draw. A sample can be drawn more than once and therefore a larger sample size than population is possible. This option is mutually exclusive with <emph>Keep order</emph>. When unchecked, a sample drawn is not put back to the population and sample size is limited to population size.</paragraph> +<h3 id="hd_id791623249632175">Keep order</h3> +<paragraph role="paragraph" id="par_id741623249641180">When checked, samples are drawn in order of population data. Samples are not put back to the population (exclusive with <emph>With replacement</emph>). This option is automatically checked for <emph>Periodic</emph> sampling. When unchecked, samples are drawn in random order.</paragraph> +<h3 id="hd_id461623249656476">Periodic</h3> +<paragraph role="paragraph" id="par_id481623249667345">Picks lines in a pace defined by <emph>Period</emph>.</paragraph> +<h3 id="hd_id101623249682605">Period</h3> +<paragraph role="paragraph" id="par_id621623249692296">The number of lines to skip periodically when sampling. The <emph>Period</emph> is limited to the population size.</paragraph> +<embed href="text/scalc/01/common_func.xhp#sectionexample"/> +<paragraph id="par_id1000110" role="paragraph" xml-lang="en-US">The following data will be used as example of source data table for sampling:</paragraph> +<table id="Tabela1"> +<tablerow> +<tablecell> +</tablecell> +<tablecell> +<paragraph id="par_id1000120" role="tablehead" xml-lang="en-US" localize="false">A</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000130" role="tablehead" xml-lang="en-US" localize="false">B</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000140" role="tablehead" xml-lang="en-US" localize="false">C</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000150" role="tablehead" xml-lang="en-US" localize="false">1</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000160" role="tablecontent" xml-lang="en-US" localize="false">11</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000170" role="tablecontent" xml-lang="en-US" localize="false">21</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000180" role="tablecontent" xml-lang="en-US" localize="false">31</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000190" role="tablehead" xml-lang="en-US" localize="false">2</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000200" role="tablecontent" xml-lang="en-US" localize="false">12</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000210" role="tablecontent" xml-lang="en-US" localize="false">22</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000220" role="tablecontent" xml-lang="en-US" localize="false">32</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000230" role="tablehead" xml-lang="en-US" localize="false">3</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000240" role="tablecontent" xml-lang="en-US" localize="false">13</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000250" role="tablecontent" xml-lang="en-US" localize="false">23</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000260" role="tablecontent" xml-lang="en-US" localize="false">33</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000270" role="tablehead" xml-lang="en-US" localize="false">4</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000280" role="tablecontent" xml-lang="en-US" localize="false">14</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000290" role="tablecontent" xml-lang="en-US" localize="false">24</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000300" role="tablecontent" xml-lang="en-US" localize="false">34</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000310" role="tablehead" xml-lang="en-US" localize="false">5</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000320" role="tablecontent" xml-lang="en-US" localize="false">15</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000330" role="tablecontent" xml-lang="en-US" localize="false">25</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000340" role="tablecontent" xml-lang="en-US" localize="false">35</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000350" role="tablehead" xml-lang="en-US" localize="false">6</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000360" role="tablecontent" xml-lang="en-US" localize="false">16</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000370" role="tablecontent" xml-lang="en-US" localize="false">26</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000380" role="tablecontent" xml-lang="en-US" localize="false">36</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000390" role="tablehead" xml-lang="en-US" localize="false">7</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000400" role="tablecontent" xml-lang="en-US" localize="false">17</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000410" role="tablecontent" xml-lang="en-US" localize="false">27</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000420" role="tablecontent" xml-lang="en-US" localize="false">37</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000430" role="tablehead" xml-lang="en-US" localize="false">8</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000440" role="tablecontent" xml-lang="en-US" localize="false">18</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000450" role="tablecontent" xml-lang="en-US" localize="false">28</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000460" role="tablecontent" xml-lang="en-US" localize="false">38</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000470" role="tablehead" xml-lang="en-US" localize="false">9</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000480" role="tablecontent" xml-lang="en-US" localize="false">19</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000490" role="tablecontent" xml-lang="en-US" localize="false">29</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000500" role="tablecontent" xml-lang="en-US" localize="false">39</paragraph> +</tablecell> +</tablerow> +</table> + +<paragraph id="par_id1000510" role="paragraph" xml-lang="en-US">Sampling with a period of 2 will result in the following table:</paragraph> +<table id="Tabela2"> +<tablerow> +<tablecell> +<paragraph id="par_id1000520" role="tablecontent" xml-lang="en-US" localize="false">12</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000530" role="tablecontent" xml-lang="en-US" localize="false">22</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000540" role="tablecontent" xml-lang="en-US" localize="false">32</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000550" role="tablecontent" xml-lang="en-US" localize="false">14</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000560" role="tablecontent" xml-lang="en-US" localize="false">24</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000570" role="tablecontent" xml-lang="en-US" localize="false">34</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000580" role="tablecontent" xml-lang="en-US" localize="false">16</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000590" role="tablecontent" xml-lang="en-US" localize="false">26</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000600" role="tablecontent" xml-lang="en-US" localize="false">36</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph id="par_id1000610" role="tablecontent" xml-lang="en-US" localize="false">18</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000620" role="tablecontent" xml-lang="en-US" localize="false">28</paragraph> +</tablecell> +<tablecell> +<paragraph id="par_id1000630" role="tablecontent" xml-lang="en-US" localize="false">38</paragraph> +</tablecell> +</tablerow> +</table> +<section id="relatedtopics"> +<embed href="text/scalc/01/stat_data.xhp#otherstat"/> +</section> +</body> +</helpdocument> |