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.5)ipfr_1.0.2.zip(r-4.4)ipfr_1.0.2.zip(r-4.3)
ipfr_1.0.2.tgz(r-4.4-any)ipfr_1.0.2.tgz(r-4.3-any)
ipfr_1.0.2.tar.gz(r-4.5-noble)ipfr_1.0.2.tar.gz(r-4.4-noble)
ipfr_1.0.2.tgz(r-4.4-emscripten)ipfr_1.0.2.tgz(r-4.3-emscripten)
ipfr.pdf |ipfr.html
ipfr/json (API)
NEWS

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

Peer review:

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

On CRAN:

4 exports 4 stars 1.10 score 46 dependencies 23 scripts 184 downloads

Last updated 4 years agofrom:0e4aad0b62. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 07 2024
R-4.5-winOKSep 07 2024
R-4.5-linuxOKSep 07 2024
R-4.4-winOKSep 07 2024
R-4.4-macOKSep 07 2024
R-4.3-winOKSep 07 2024
R-4.3-macOKSep 07 2024

Exports:ipuipu_matrixsetup_arizonasynthesize

Dependencies:backportsBBmisccheckmateclicolorspacecpp11data.tabledplyrfansifarverfastmatchgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmlrmunsellnlmeparallelMapParamHelperspillarpkgconfigpurrrR6RColorBrewerrlangscalesstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrXML

Addressing common IPF problems

Rendered fromcommon_ipf_problems.Rmdusingknitr::rmarkdownon Sep 07 2024.

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

Using ipfr

Rendered fromusing_ipfr.Rmdusingknitr::rmarkdownon Sep 07 2024.

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