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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ipfr")

1.0.0 by Kyle Ward, a month ago


https://github.com/dkyleward/ipfr


Report a bug at https://github.com/dkyleward/ipfr/issues


Browse source code at https://github.com/cran/ipfr


Authors: Kyle Ward [aut, cre, cph] , Greg Macfarlane [ctb]


Documentation:   PDF Manual  


Apache License (== 2.0) license


Imports dplyr, ggplot2, magrittr, tidyr, mlr

Suggests knitr, rmarkdown, testthat, covr


See at CRAN