WFC: Workflow-Oriented Survey Weight Calibration

Provides a disciplined precheck, execution, and diagnostics workflow for survey weighting and raking. Weight construction requires design-only data, a verified external target, outcome-blind planning, and human approval before weight locking, with bilingual reports for decision and statistical audiences. Converts calibrated and replicate weights into standard survey designs, provides optional broom-style result projections, and records serializable production pipeline provenance. Supports fixed, predeclared soft calibration tolerances and categorical entropy balancing from verified margins, plus panel attrition weighting, high-influence unit diagnostics, Fay's balanced repeated replication, and opt-in parallel execution for long runs. Calibration methods follow Deville and Saerndal (1992) <doi:10.1080/01621459.1992.10475217>, and entropy balancing follows Hainmueller (2012) <doi:10.1093/pan/mpr025>.

Version: 2.0.1
Depends: R (≥ 3.6.0)
Imports: digest, parallel, stats, utils
Suggests: cli, covr, generics, knitr, openxlsx, rmarkdown, survey, testthat (≥ 3.0.0)
Published: 2026-08-06
DOI: 10.32614/CRAN.package.WFC (may not be active yet)
Author: Kunxiang Ma [aut, cre], WEIAN DATA TECH (Beijing) Co., Ltd. [cph, fnd]
Maintainer: Kunxiang Ma <makunxiang at weiandata.com>
BugReports: https://github.com/weiandata/WFC/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Copyright: See file inst/COPYRIGHTS.
WFC copyright details
URL: https://github.com/weiandata/WFC
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: WFC results

Documentation:

Reference manual: WFC.html , WFC.pdf
Vignettes: Attrition and influence after a verified design (source, R code)
Importing external targets with evidence (source, R code)
Dirty data and safe infeasibility handling (source, R code)
Using locked WFC weights with survey tools (source, R code)
Guided verified weighting in WFC 2.0 (source, R code)
Verified calibration methods in WFC 2.0 (source, R code)
Precheck, verified execution, and diagnosis (source, R code)
Verified production pipelines in WFC 2.0 (source, R code)
Verified, outcome-blind weighting in WFC 2.0 (source, R code)
Review tools for verified weighting (source, R code)

Downloads:

Package source: WFC_2.0.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): WFC_2.0.1.tgz, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=WFC to link to this page.

mirror server hosted at Truenetwork, Russian Federation.