SamplingStrata: Optimal Stratification of Sampling Frames for Multipurpose Sampling Surveys

Share:

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.

Author
Giulio Barcaroli, Daniela Pagliuca, Egon Willighagen, Diego Zardetto
Date of publication
2016-01-13 13:54:05
Maintainer
Giulio Barcaroli <barcarol@istat.it>
License
GPL (>= 2)
Version
1.1

View on CRAN

Man pages

bethel
Multivariate optimal allocation
buildStrataDF
Builds the "strata" dataframe containing information on...
checkInput
Checks the inputs to the package: dataframes "errors",...
errors
Precision constraints (maximum CVs) as input for Bethel...
evalSolution
Allows to evaluate the solution produced by the function...
optimizeStrata
Best stratification of a sampling frame for multipurpose...
plotSamprate
Plotting sampling rates in the different strata for each...
selectSample
Selection of a stratified sample from the frame with srswor...
strata
Dataframe containing information on strata in the frame
swisserrors
Precision constraints (maximum CVs) as input for Bethel...
swissframe
Dataframe containing information on all units in the...
swissmunicipalities
The Swiss municipalities population
swissstrata
Dataframe containing information on strata in the swiss...
tuneParameters
Execution and compared evaluation of optimization runs
updateFrame
Updates the initial frame on the basis of the optimized...
updateStrata
Assigns new labels to atomic strata on the basis of the...
var.bin
Allows to transform a continuous variable into a categorical...

Files in this package

SamplingStrata
SamplingStrata/inst
SamplingStrata/inst/CITATION
SamplingStrata/inst/doc
SamplingStrata/inst/doc/SamplingStrataVignette.R
SamplingStrata/inst/doc/SamplingStrataVignette.pdf
SamplingStrata/inst/doc/SamplingStrataVignette.Rnw
SamplingStrata/inst/doc/tuneParameters.pdf
SamplingStrata/NAMESPACE
SamplingStrata/NEWS
SamplingStrata/data
SamplingStrata/data/swissframe.rda
SamplingStrata/data/errors.rda
SamplingStrata/data/strata.rda
SamplingStrata/data/swissmunicipalities.rda
SamplingStrata/data/swissstrata.rda
SamplingStrata/data/swisserrors.rda
SamplingStrata/R
SamplingStrata/R/optimizeStrata.R
SamplingStrata/R/plotSamprate.R
SamplingStrata/R/selectSample.R
SamplingStrata/R/updateStrata.r
SamplingStrata/R/var.bin.R
SamplingStrata/R/summary.rbga.R
SamplingStrata/R/recode.R
SamplingStrata/R/updateFrame.R
SamplingStrata/R/tuneParameters.r
SamplingStrata/R/buildStrataDF.R
SamplingStrata/R/strataGenalg.R
SamplingStrata/R/checkInput.R
SamplingStrata/R/evalSolution.r
SamplingStrata/R/plot.rbga.R
SamplingStrata/R/Bethel.r
SamplingStrata/R/aggrStrata.r
SamplingStrata/R/rbgaV2.R
SamplingStrata/vignettes
SamplingStrata/vignettes/SamplingStrata.bib
SamplingStrata/vignettes/SamplingStrataVignette.Rnw
SamplingStrata/MD5
SamplingStrata/build
SamplingStrata/build/vignette.rds
SamplingStrata/DESCRIPTION
SamplingStrata/man
SamplingStrata/man/selectSample.Rd
SamplingStrata/man/swissmunicipalities.Rd
SamplingStrata/man/errors.Rd
SamplingStrata/man/optimizeStrata.Rd
SamplingStrata/man/var.bin.Rd
SamplingStrata/man/strata.Rd
SamplingStrata/man/checkInput.Rd
SamplingStrata/man/buildStrataDF.Rd
SamplingStrata/man/updateStrata.Rd
SamplingStrata/man/swisserrors.Rd
SamplingStrata/man/tuneParameters.Rd
SamplingStrata/man/updateFrame.Rd
SamplingStrata/man/evalSolution.Rd
SamplingStrata/man/plotSamprate.Rd
SamplingStrata/man/swissframe.Rd
SamplingStrata/man/swissstrata.Rd
SamplingStrata/man/bethel.Rd