Package: ipfr 1.0.2

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.

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

ipfr_1.0.2.tar.gz
ipfr_1.0.2.zip(r-4.7-any)ipfr_1.0.2.zip(r-4.6-any)ipfr_1.0.2.zip(r-4.5-any)
ipfr_1.0.2.tgz(r-4.6-any)ipfr_1.0.2.tgz(r-4.5-any)
ipfr_1.0.2.tar.gz(r-4.7-any)ipfr_1.0.2.tar.gz(r-4.6-any)
ipfr_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ipfr/json (API)

# Install 'ipfr' in R:
install.packages('ipfr', repos = c('https://dkyleward.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dkyleward/ipfr/issues

On CRAN:

Conda:

5.16 score 5 stars 29 scripts 288 downloads 4 exports 41 dependencies

Last updated from:0e4aad0b62. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK178
source / vignettesOK235
linux-releaseOK161
macos-releaseOK159
macos-oldrelOK194
windows-develOK88
windows-releaseOK96
windows-oldrelOK83
wasm-releaseOK132

Exports:ipuipu_matrixsetup_arizonasynthesize

Dependencies:backportsBBmisccheckmateclicpp11data.tabledplyrfarverfastmatchgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixmlrparallelMapParamHelperspillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrXML

Addressing common IPF problems
Introduction | Zero weights | Missing seed information | Target agreement | Agreement within primary or secondary targets | Balance between primary and secondary targets | secondary_importance = 0.80 | secondary_importance = 0.20 | Extreme Weights

Last update: 2019-08-20
Started: 2019-08-02

Using ipfr
Introduction | Example: 2D / Matrix | Example: Household survey (simple) | Example: Add person targets | Example 3: Using multiple geographies | Advanced options | Synthetic Populations

Last update: 2019-08-20
Started: 2019-08-02