Crandore Hub

ipfr

List Balancing for Reweighting and Population Synthesis

Performs iterative proportional updating given a seed table and an arbitrary number of marginal distributions. This is commonly used in population synthesis, survey raking, matrix rebalancing, and other applications. For example, a household survey may be weighted to match the known distribution of households by size from the census. An origin/ destination trip matrix might be balanced to match traffic counts. The approach used by this package is based on a paper from Arizona State University (Ye, Xin, et. al. (2009) <http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.537.723&rep=rep1&type=pdf>). Some enhancements have been made to their work including primary and secondary target balance/importance, general marginal agreement, and weight restriction.

Versions across snapshots

VersionRepositoryFileSize
1.0.2 rolling linux/jammy R-4.5 ipfr_1.0.2.tar.gz 142.2 KiB
1.0.2 rolling linux/noble R-4.5 ipfr_1.0.2.tar.gz 142.2 KiB
1.0.2 rolling source/ R- ipfr_1.0.2.tar.gz 67.4 KiB
1.0.2 latest linux/jammy R-4.5 ipfr_1.0.2.tar.gz 142.2 KiB
1.0.2 latest linux/noble R-4.5 ipfr_1.0.2.tar.gz 142.2 KiB
1.0.2 latest source/ R- ipfr_1.0.2.tar.gz 67.4 KiB
1.0.2 2026-04-26 source/ R- ipfr_1.0.2.tar.gz 67.4 KiB
1.0.2 2026-04-23 source/ R- ipfr_1.0.2.tar.gz 67.4 KiB
1.0.2 2026-04-09 windows/windows R-4.5 ipfr_1.0.2.zip 148.2 KiB
1.0.2 2025-04-20 source/ R- ipfr_1.0.2.tar.gz 67.4 KiB

Dependencies (latest)

Imports

Suggests