Package: weightflow 0.1.0

Juan Pablo Ferreira
weightflow: Declarative API for Staged Survey Weights
Builds survey weights from design base weights by chaining hierarchical adjustments (unknown eligibility, nonresponse and calibration) through a declarative, pipeable, 'tidymodels'-style API. Calibration follows Deville and Sarndal (1992) <doi:10.2307/2290268>. Variances are obtained with a bootstrap that resamples primary sampling units and re-applies the whole recipe on each replicate, following the rescaling bootstrap of Rao and Wu (1988) <doi:10.1080/01621459.1988.10478591>, so the replicate weights carry the variability of every adjustment. The weights also bridge to the 'survey' and 'srvyr' packages for design-based inference.
Authors:
weightflow_0.1.0.tar.gz
weightflow_0.1.0.tar.gz(r-4.7-any)weightflow_0.1.0.tar.gz(r-4.6-any)
weightflow_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
weightflow/json (API)
| # Install 'weightflow' in R: |
| install.packages('weightflow', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jpferreira33/weightflow/issues
Pkgdown/docs site:https://jpferreira33.github.io
- population - Example target population for weightflow
- sample_one - Example survey sample
- sample_survey - Example survey sample
Last updated from:9147113b57. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 137 | ||
| source / vignettes | OK | 174 | ||
| linux-release-x86_64 | OK | 138 | ||
| wasm-release | OK | 130 |
Exports:as_svrepdesignas_svydesignboot_meanboot_totalbootstrap_estimatebootstrap_weightscollect_replicate_weightscollect_weightsdesign_effectprepreport_weightingstep_assertstep_calibratestep_drop_ineligiblestep_model_calibrationstep_nonresponsestep_rescalestep_roundstep_select_withinstep_trimstep_trim_weightsstep_unknown_eligibilityweight_factorsweighting_specy_model
Dependencies: