# Multistage Sampling Allocation and Sample Selection

## Documentation for package ‘R2BEAT’ version 1.0.5

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS

## Help Pages

allocation | Sample sizes for each stratum
beat.1st | Compute one stage multivariate optimal allocation.
beat.2st | Multivariate optimal allocation for different domains in two stage statified sample design
beat.cv | Computation of coefficient of variation (CV) for a given multivariate multiple allocation
build_dummy_variables | Derives dummy variables from target variables to the sampling frame
check_input | Check of coherence in the inputs for the allocation step
deft_start | Starting values for the Design Effect (deft)
design | Sampling design variables
effst | Estimator effect
errors | Precision constraints (maximum CVs) as input for Bethel allocation
eval_2stage | Evaluation of the two-stage sample design optimized solution by simulation
input_to_beat.2st_1 | Input dataframes for R2BEAT two-stages sample design (when a previous round of the survey is available, but no sampling frame)
input_to_beat.2st_2 | Prepares the design and psu file for two-stage sample design (when a previous round of the survey is available, but no sampling frame)
plot_sens | Plot of the sensitivity analysis for some parameters by means of grid search
prepareInputToAllocation1 | Input dataframes for R2BEAT two-stages sample design when sampling frame is available
prepareInputToAllocation2 | Input dataframes for R2BEAT two-stages sample design when both sampling frame and a previous round of the survey are available
PSU_strat | Information on Primary Stage Units (PSUs) stratification
rho | Intraclass correlation coefficients for self and non self representative in the strata
select_PSU | Select sample of primary stage units (PSU)
select_PSU2 | Select sample of primary stage units (PSU)
select_SSU | Select sample of secondary stage units (SSU)
sensitivity_min_SSU | Sensitivity analysis for choosing minimum number of SSUs per PSU (sampling frame available)
sensitivity_min_SSU2 | Sensitivity analysis for choosing minimum number of SSUs per PSU (no sampling frame available)
sens_names | Function for better presentation of sensitivity information
strata | Strata characteristics