BuSuCo: Business Survey Sample Coordination

CRAN status License: GPL-3

The BuSuCo package provides functions for coordinating survey samples of businesses across multiple surveys and time periods. Business survey coordination aims to control the overlap between consecutive samples of the same survey and across different surveys while managing the response burden on enterprises.

Installation

From CRAN

install.packages("BuSuCo")

Features

Quick Start

library(BuSuCo)

# Generate synthetic business data
DATA <- Gen.Data(
  N = 1000,
  periods = 5,
  D = 2,
  D.probs = c(0.8, 0.2),
  H = 3,
  borders = c(100, 500)
)

# Define survey relevance
Sur_rel <- Survey.relevance(
  DATA, periods = 5, years = c(1, 2),
  domains.survey = list(1:2, 1),
  ge.or.less = c("ge", "l"),
  TO.or.EM = c("TO", "EM"),
  size.class = c(0, 5)
)

# Create strata
strat <- Stratify(
  DATA, Survey.relevant = Sur_rel, periods = 5, years = c(1, 2),
  TO.or.EM = c("TO", "EM"), strata.TO = c(500), strata.EM = c(10)
)

# Apply Dutch BSC algorithm
result <- Dutch.BSC(
  DATA = DATA,
  period = 1,
  sf = c(0.2, 0.5),
  rf = c(0.5, 1),
  years = c(1, 2),
  chi_S = c(0.5, 2),
  survey.prio = 1:2,
  burden.periods = 5,
  seed = 123,
  Survey.relevant = Sur_rel,
  stratification = strat
)

# Access results
sampled_units <- result$in.sample
updated_data <- result$DATA

Available Algorithms

Dutch.BSC

The Modified Dutch Business Sample Coordination Algorithm achieves coordination via ordering the data according to the values of a customisable burden indicator.

French.BSC

The Modified French Business Sample Coordination Algorithm uses a theoretical sample inclusion indicator which is determined through a beta-distribution.

Norwegian.BSC

The Modified Norwegian Business Sample Coordination Algorithm achieves coordination by using two separate burden indicators, one based on the total number of draws, the other one based on the number of consecutive inclusion or pause periods.

Swiss.BSC

The Modified Swiss Business Sample Coordination Algorithm supports interval-based coordination across periods for sophisticated longitudinal sample coordination.

Documentation

For detailed documentation, see:

# Package vignette
vignette("BuSuCo")

# Function help
?Dutch.BSC
?French.BSC
?Norwegian.BSC
?Swiss.BSC
?Gen.Data

Main Functions

Function Description
Dutch.BSC() Dutch business sample coordination algorithm
French.BSC() French business sample coordination algorithm
Norwegian.BSC() Norwegian business sample coordination algorithm
Swiss.BSC() Swiss business sample coordination algorithm
Gen.Data() Generate synthetic business data
Survey.relevance() Define survey relevance for enterprises
Stratify() Create stratum membership indicators
uneq.sample() Draw unequal probability samples
target.corr.sort() Achieve target correlation between variables

References

License

This package is licensed under GPL (>= 3).

Contributing

Contributions are welcome. Please feel free to submit issues.

Authors