In the field of stratified sampling design, this package offers an approach for the determination of the best stratification of a sampling frame, the one that ensures the minimum sample cost under the condition to satisfy precision constraints in a multivariate and multidomain case. This approach is based on the use of the genetic algorithm: each solution (i.e. a particular partition in strata of the sampling frame) is considered as an individual in a population; the fitness of all individuals is evaluated applying the Bethel-Chromy algorithm to calculate the sampling size satisfying precision constraints on the target estimates. Functions in the package allows to: (a) analyse the obtained results of the optimisation step; (b) assign the new strata labels to the sampling frame; (c) select a sample from the new frame accordingly to the best allocation. Functions for the execution of the genetic algorithm are a modified version of the functions in the 'genalg' package. M.Ballin, G.Barcaroli (2020) <arXiv:2004.09366> "R package SamplingStrata: new developments and extension to Spatial Sampling".
Version: | 1.5-2 |
Depends: | R (≥ 3.5.0), memoise, doParallel, pbapply, SamplingBigData, glue |
Suggests: | knitr, rmarkdown, formattable |
Published: | 2022-01-07 |
Author: | Giulio Barcaroli, Marco Ballin, Hanjo Odendaal, Daniela Pagliuca, Egon Willighagen, Diego Zardetto |
Maintainer: | Giulio Barcaroli <gbarcaroli at gmail.com> |
BugReports: | https://github.com/barcaroli/SamplingStrata/issues |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
URL: | https://barcaroli.github.io/SamplingStrata/, https://github.com/barcaroli/SamplingStrata/ |
NeedsCompilation: | no |
Citation: | SamplingStrata citation info |
Materials: | NEWS |
In views: | OfficialStatistics |
CRAN checks: | SamplingStrata results |
Reference manual: | SamplingStrata.pdf |
Vignettes: |
Optimization of sampling strata with the SamplingStrata package Use of models in SamplingStrata Spatial sampling with SamplingStrata |
Package source: | SamplingStrata_1.5-2.tar.gz |
Windows binaries: | r-devel: SamplingStrata_1.5-2.zip, r-release: SamplingStrata_1.5-2.zip, r-oldrel: SamplingStrata_1.5-2.zip |
macOS binaries: | r-release (arm64): SamplingStrata_1.5-2.tgz, r-oldrel (arm64): SamplingStrata_1.5-2.tgz, r-release (x86_64): SamplingStrata_1.5-2.tgz, r-oldrel (x86_64): SamplingStrata_1.5-2.tgz |
Old sources: | SamplingStrata archive |
Please use the canonical form https://CRAN.R-project.org/package=SamplingStrata to link to this page.