Learn R Programming

R2BEAT (version 1.0.5)

Multistage Sampling Allocation and Sample Selection

Description

Multivariate optimal allocation for different domains in one and two stages stratified sample design. 'R2BEAT' extends the Neyman (1934) – Tschuprow (1923) allocation method to the case of several variables, adopting a generalization of the Bethel’s proposal (1989). 'R2BEAT' develops this methodology but, moreover, it allows to determine the sample allocation in the multivariate and multi-domains case of estimates for two-stage stratified samples. It also allows to perform both Primary Stage Units and Secondary Stage Units selection. This package requires the availability of 'ReGenesees', that can be installed from .

Copy Link

Version

Install

install.packages('R2BEAT')

Monthly Downloads

257

Version

1.0.5

License

EUPL

Maintainer

Andrea Fasulo

Last Published

May 25th, 2023

Functions in R2BEAT (1.0.5)

PSU_strat

Information on Primary Stage Units (PSUs) stratification
beat.2st

Multivariate optimal allocation for different domains in two stage statified sample design
beat.1st

Compute one stage multivariate optimal allocation.
beat.cv

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

Check of coherence in the inputs for the allocation step
design

Sampling design variables
deft_start

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

Sample sizes for each stratum
effst

Estimator effect
build_dummy_variables

Derives dummy variables from target variables to the sampling frame
errors

Precision constraints (maximum CVs) as input for Bethel allocation
select_PSU

Select sample of primary stage units (PSU)
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)
prepareInputToAllocation2

Input dataframes for R2BEAT two-stages sample design when both sampling frame and a previous round of the survey are available
select_PSU2

Select sample of primary stage units (PSU)
plot_sens

Plot of the sensitivity analysis for some parameters by means of grid search
rho

Intraclass correlation coefficients for self and non self representative in the strata
select_SSU

Select sample of secondary stage units (SSU)
eval_2stage

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

Input dataframes for R2BEAT two-stages sample design when sampling frame is available
sensitivity_min_SSU2

Sensitivity analysis for choosing minimum number of SSUs per PSU (no sampling frame available)
sensitivity_min_SSU

Sensitivity analysis for choosing minimum number of SSUs per PSU (sampling frame available)
strata

Strata characteristics
sens_names

Function for better presentation of sensitivity information
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)