Package: ratecalib Type: Package Title: Calibration Weighting to Multiple Subgroup Pass-Rate Targets Version: 0.3.0 Authors@R: person("Kunxiang", "Ma", email = "mkx07080412@gmail.com", role = c("aut", "cre")) Description: Calibration weighting for binary-outcome pass rates against multiple overlapping subgroup targets. Adjusts initial positive weights so that the overall pass rate and subgroup pass rates approach (soft mode) or exactly match (exact mode) given targets, while preserving the initial weight structure and population margins. Provides a one-step interface, pre-solve data checks, target-table construction, effective sample size and design-effect diagnostics, and example data. The solver works on a bounded convex quadratic program over demographic-cell-by-outcome aggregates for efficiency on large samples. Methods follow the calibration approach of Deville and Saerndal (1992) . License: MIT + file LICENSE URL: https://github.com/makunxiang-cmd/ratecalib BugReports: https://github.com/makunxiang-cmd/ratecalib/issues Encoding: UTF-8 Depends: R (>= 4.1.0) Imports: Matrix, methods, osqp, stats Suggests: testthat (>= 3.0.0), openxlsx Config/testthat/edition: 3 RoxygenNote: 8.0.0 NeedsCompilation: no Packaged: 2026-06-25 19:59:01 UTC; root Author: Kunxiang Ma [aut, cre] Maintainer: Kunxiang Ma Repository: https://cran.r-universe.dev Date/Publication: 2026-06-25 15:10:02 UTC RemoteUrl: https://github.com/cran/ratecalib RemoteRef: HEAD RemoteSha: ff20222d1ddd9b7ec12a921588079988ad514e1c