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:
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
Last updated from:0e4aad0b62. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 178 | ||
| source / vignettes | OK | 235 | ||
| linux-release | OK | 161 | ||
| macos-release | OK | 159 | ||
| macos-oldrel | OK | 194 | ||
| windows-devel | OK | 88 | ||
| windows-release | OK | 96 | ||
| windows-oldrel | OK | 83 | ||
| wasm-release | OK | 132 |
Exports:ipuipu_matrixsetup_arizonasynthesize
Dependencies:backportsBBmisccheckmateclicpp11data.tabledplyrfarverfastmatchgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixmlrparallelMapParamHelperspillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrXML
Last update: 2019-08-20
Started: 2019-08-02
Last update: 2019-08-20
Started: 2019-08-02
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| ipfr: A package to perform iterative proportional fitting | ipfr-package ipfr |
| Iterative Proportional Updating | ipu |
| Balance a matrix given row and column targets | ipu_matrix |
| Create the ASU example | setup_arizona |
| Creates a synthetic population based on ipu results | synthesize |