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>.


Build Status Lifecycle: maturing GitHub last commit GitHub code size in bytes

This is the development place for the R-package surveysd. The package can be used to estimate the standard deviation of estimates in complex surveys using bootstrap weights.

Installation

Like any other R package on github, this package can be installed via install_github().

devtools::install_github("statistikat/surveysd")

Concept

Bootstrapping has long been around and used widely to estimate confidence intervals and standard errors of point estimates. This package aims to combine all necessary steps for applying a calibrated bootstrapping procedure with custom estimating functions.

Workflow

A typical workflow with this package consists of three steps. To see these concepts in practice, please refer to the getting started vignette.

  • Bootstrap samples are drawn with rescaled bootstrapping in the function draw.bootstrap().
  • These samples can then be calibrated with an iterative proportional updating algorithm using recalib().
  • Finally, estimation functions can be applied over all bootstrap replicates with calc.stError().

Further reading

More information can be found on the github-pages site for surveysd.

News

surveysd 1.0.0

  • copy simPop::ipu2() and some related functions to surveysd.
  • update references for the methodology vignette
  • fix sampling with full population in some strata

surveysd 0.2.3

  • Fix citation
  • Resolve issue that occured when columns had multiple classes

surveysd 0.2.2

  • Update some default parameters (#4, #5)
  • Split README into README + Get Started
  • Bugfixes
  • Update documentation titles, function categories and vignette titles

surveysd 0.2.1

  • Create vignette for error estimation
  • Bugfixes for plotting and ... argument in calc.stError
  • Documentation updates. Make example plots available in gh-pages

surveysd 0.2.0

  • Automatically pass variable names for household id, weights and reference period from draw.bootstrap to downstream functions
  • Reorganize names of R source files

Documentation updates

  • Use markown pre-processing for documentation
  • Add github pages, more badges and a logo
  • export draw.bootstrap and include prettyNames argument. update documenentation examples to use new variable names
  • Don't load laeken and data.table in examples
  • rewrite vignettes/TheoryWord.Rmd into a dynamic markdown file describing the methodology of the package

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("surveysd")

1.0.0 by Johannes Gussenbauer, 5 months ago


https://github.com/statistikat/surveysd


Report a bug at https://github.com/statistikat/surveysd/issues


Browse source code at https://github.com/cran/surveysd


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


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Rcpp, data.table, matrixStats, ggplot2, laeken, methods, dplyr

Suggests testthat, simPop

Linking to Rcpp


See at CRAN