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.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.1.0 |
rolling linux/jammy R-4.5 | weightflow_0.1.0.tar.gz |
231.1 KiB |
0.1.0 |
rolling linux/noble R-4.5 | weightflow_0.1.0.tar.gz |
230.6 KiB |
0.1.0 |
rolling source/ R- | weightflow_0.1.0.tar.gz |
91.9 KiB |
0.1.0 |
latest linux/jammy R-4.5 | weightflow_0.1.0.tar.gz |
231.1 KiB |
0.1.0 |
latest linux/noble R-4.5 | weightflow_0.1.0.tar.gz |
230.6 KiB |
0.1.0 |
latest source/ R- | weightflow_0.1.0.tar.gz |
91.9 KiB |
0.1.0 |
2026-04-23 source/ R- | weightflow_0.1.0.tar.gz |
0 B |