bethel |
Multivariate optimal allocation |
buildStrataDF |
Building the "strata" dataframe containing information on target variables Y's distributions in the different strata, starting from sample data or from a frame |
checkInput |
Check of the inputs to the package: dataframes "errors", "strata" and "sampling frame" |
errors |
Precision constraints (maximum CVs) as input for Bethel allocation |
errors.chk |
Precision constraints to be used after strata optimisation for checking results |
optimizeStrata |
Best stratification of a sampling frame for multipurpose surveys |
selectSample |
Selection of a stratified sample from the frame with srswor method |
strata |
Dataframe containing information on strata in the frame |
swisserrors |
Precision constraints (maximum CVs) as input for Bethel allocation |
swisserrors.chk |
Precision constraints (maximum CVs) as input for Bethel allocation |
swissframe |
Dataframe containing information on all units in the population of reference that can be considered as the final sampling unit (this example is related to Swiss municipalities) |
swissstrata |
Dataframe containing information on strata in the swiss municipalities frame |
updateFrame |
Modification of the initial frame on the basis of optimised strata aggregation |
updateStrata |
Attribution of new labels to atomic strata on the basis of the optimised strata aggregation |
var.bin |
This function allows to transform a continuous variable into a categorical ordinal one by applying kmeans function in stats package. |
verify |
Analysis and control of stratification resulting by running optimizeStrata |