All functions

adjust_CVs()

adjustCVs

aggrStrata()

aggrStrata

beat.example

Sample sizes for each stratum

beat.1cv()

The function returns a dataframe with planned and actual coefficients of variation (CV) in a multivariate multi-domain allocation problem.

beat.cv()

Computation of coefficient of variation (CV) for a given multivariate multiple allocation

beat.1st()

Compute one stage multivariate optimal allocation.

beat.2st()

Multivariate optimal allocation for different domains in two stage statified sample design

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

CVs_hint()

cvs_hint

beat.example

Starting values for the Design Effect (\(deft\))

beat.example

Sampling design variables

beat.example

Estimator effect

beat.example

Precision constraints (maximum CVs) as input for Bethel allocation

eval_2stage()

Evaluation of the two-stage sample design optimized solution by simulation

expected_CV()

expected_CV

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

prepareInputToAllocation_beat.1st()

The function returns a dataframe, starting from the sampling frame (either universe or sample of a previous survey) with strata information.

beat.example

Information on Primary Stage Units (PSUs) stratification

beat.example

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

beat.example

Strata characteristics