Package: surveysd 2.0.3

Johannes Gussenbauer

surveysd: Survey Standard Error Estimation for Cumulated Estimates and their Differences in Complex Panel Designs

Calculate point estimates and their standard errors in complex household surveys using bootstrap replicates. Bootstrapping considers survey design with a rotating panel. A comprehensive description of the methodology can be found under <https://statistikat.github.io/surveysd/articles/methodology.html>.

Authors:Johannes Gussenbauer [aut, cre], Alexander Kowarik [aut], Eileen Vattheuer [aut], Gregor de Cillia [aut], Matthias Till [ctb]

surveysd_2.0.3.tar.gz
surveysd_2.0.3.zip(r-4.7)surveysd_2.0.3.zip(r-4.6)surveysd_2.0.3.zip(r-4.5)
surveysd_2.0.3.tgz(r-4.6-x86_64)surveysd_2.0.3.tgz(r-4.6-arm64)surveysd_2.0.3.tgz(r-4.5-x86_64)surveysd_2.0.3.tgz(r-4.5-arm64)
surveysd_2.0.3.tar.gz(r-4.7-arm64)surveysd_2.0.3.tar.gz(r-4.7-x86_64)surveysd_2.0.3.tar.gz(r-4.6-arm64)surveysd_2.0.3.tar.gz(r-4.6-x86_64)
surveysd_2.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
surveysd/json (API)

# Install 'surveysd' in R:
install.packages('surveysd', repos = c('https://statistikat.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/statistikat/surveysd/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

bootstraperror-estimationsurveycpp

8.09 score 10 stars 87 scripts 611 downloads 19 exports 22 dependencies

Last updated from:f72a87a747. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK195
linux-devel-x86_64OK203
source / vignettesOK193
linux-release-arm64OK190
linux-release-x86_64OK203
macos-release-arm64OK148
macos-release-x86_64OK519
macos-oldrel-arm64OK179
macos-oldrel-x86_64OK327
windows-develOK236
windows-releaseOK221
windows-oldrelOK205
wasm-releaseOK127

Exports:calc.stErrorcombine_factorscomputeFraccomputeLinearcomputeLinearG1computeLinearG1_olddemo.eusilcdraw.bootstrapgenerate.HHIDget.selectionipfipf_stepipf_step_fipf_step_refkishFactorrecalibrescaled.bootstrapweightedRatioweightedSum

Dependencies:bootclicpp11data.tablefarverggplot2gluegtableisobandlabelinglaekenlifecycleMASSR6RColorBrewerRcpprlangS7scalesvctrsviridisLitewithr

Error estimation
Prerequisites | Estimator functions | Custom estimators | Adjust variable depending on bootstrap weights | Multiple estimators | Grouping | Several grouping variables | Option 1: All regions and all genders | Option 2: All combinations of region and gender | Option 3: Cobination of Option 1 and Option 2 | Group differences | Differences between survey periods | Averages across periods

Last update: 2026-06-11
Started: 2018-10-15

Iterative Proportional Fitting
Setup | One constraint, one variable | One constraint, two variables | Two constraints | Household Constraints | Tolerances | References

Last update: 2026-06-11
Started: 2020-01-20

Methodology
Bootstrapping | Rescaled Bootstrap | Sampling design | Bootstrap procedure | Single PSUs | Taking bootstrap replicates forward | Split households | Uncalibrated bootstrap weights | Iterative proportional fitting (IPF) | Adjustment and trimming for $\mathcal{P}$ | Averaging weights within households | Adjustment and trimming for $\mathcal{H}$ | Convergence | Variance estimation | References

Last update: 2026-06-11
Started: 2018-10-15

Rao-Wu Bootstrap in surveysd
Mathematical Formulation | Use of Rao-Wu | Single PSUs | Example Implementation | Load Dataset | Draw bootstrap replicates | Calibrate bootstrap replicates

Last update: 2026-06-11
Started: 2025-07-31

Introduction to surveysd
Load dummy data | Draw bootstrap replicates | Calibrate bootstrap replicates | Estimate with respect to a grouping variable | Estimate with respect to several variables

Last update: 2026-06-11
Started: 2018-10-15