The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

SamplingStrata: Optimal Stratification of Sampling Frames for Multipurpose Sampling Surveys

Tools for the optimization of stratified sampling design. It determines a stratification of a sampling frame that minimizes sample cost while satisfying precision constraints in a multivariate and multidomain context. The approach relies on a genetic algorithm; each candidate partition of the frame is an individual whose fitness is evaluated via the Bethel-Chromy allocation to meet target precisions. Functions support analysis of optimization results, labeling of the frame with new strata, and drawing a sample according to the optimal allocation. Algorithmic components adapt code from the 'genalg' package. See M. Ballin and G. Barcaroli (2020) "R package SamplingStrata: new developments and extension to Spatial Sampling" <doi:10.48550/arXiv.2004.09366>.

Version: 1.5-5
Depends: R (≥ 3.5.0)
Imports: memoise, doParallel, pbapply, SamplingBigData, glue, methods
Suggests: knitr, rmarkdown, formattable
Published: 2025-10-08
DOI: 10.32614/CRAN.package.SamplingStrata
Author: Giulio Barcaroli [aut, cre], Marco Ballin [aut], Hanjo Odendaal [aut], Daniela Pagliuca [aut], Egon Willighagen [aut], Diego Zardetto [aut]
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

Documentation:

Reference manual: SamplingStrata.html , SamplingStrata.pdf
Vignettes: Optimization of sampling strata with the SamplingStrata package (source, R code)
Use of models in SamplingStrata (source, R code)
Spatial sampling with SamplingStrata (source, R code)

Downloads:

Package source: SamplingStrata_1.5-5.tar.gz
Windows binaries: r-devel: SamplingStrata_1.5-5.zip, r-release: SamplingStrata_1.5-4.zip, r-oldrel: SamplingStrata_1.5-4.zip
macOS binaries: r-release (arm64): SamplingStrata_1.5-5.tgz, r-oldrel (arm64): SamplingStrata_1.5-5.tgz, r-release (x86_64): SamplingStrata_1.5-5.tgz, r-oldrel (x86_64): SamplingStrata_1.5-5.tgz
Old sources: SamplingStrata archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=SamplingStrata to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.