mlfit: Iterative Proportional Fitting Algorithms for Nested Structures

The Iterative Proportional Fitting (IPF) algorithm operates on count data. This package offers implementations for several algorithms that extend this to nested structures: 'parent' and 'child' items for both of which constraints can be provided. The fitting algorithms include Iterative Proportional Updating <>, Hierarchical IPF <doi:10.3929/ethz-a-006620748>, Entropy Optimization <>, and Generalized Raking <doi:10.2307/2290793>. Additionally, a number of replication methods is also provided such as 'Truncate, replicate, sample' <doi:10.1016/j.compenvurbsys.2013.03.004>.

Version: 0.5.3
Depends: methods
Imports: BB, dplyr, hms, kimisc, Matrix, plyr, tibble, forcats, rlang, utils, wrswoR, lifecycle
Suggests: covr, testthat (≥ 3.0.0), MASS, sampling, XML, waldo
Published: 2021-10-08
DOI: 10.32614/CRAN.package.mlfit
Author: Kirill Müller [aut, cph] (Creator of the package), Kay W. Axhausen [ths] (Advisor of Kirill Müller), Amarin Siripanich [aut, cre] (Contributed `ml_replicate()`), Taha H. Rashidi [ths] (Advisor of Amarin Siripanich)
Maintainer: Amarin Siripanich <amarin.siri at>
License: GPL (≥ 3)
NeedsCompilation: no
CRAN checks: mlfit results


Reference manual: mlfit.pdf


Package source: mlfit_0.5.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): mlfit_0.5.3.tgz, r-oldrel (arm64): mlfit_0.5.3.tgz, r-release (x86_64): mlfit_0.5.3.tgz, r-oldrel (x86_64): mlfit_0.5.3.tgz
Old sources: mlfit archive


Please use the canonical form to link to this page.