Package: mlfit 0.6.1.9008

Amarin Siripanich

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 <https://trid.trb.org/view/881554>, Hierarchical IPF <doi:10.3929/ethz-a-006620748>, Entropy Optimization <https://trid.trb.org/view/881144>, 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>.

Authors:Kirill Müller [aut, cph], Kay W. Axhausen [ths], Amarin Siripanich [aut, cre], Taha H. Rashidi [ths]

mlfit_0.6.1.9008.tar.gz
mlfit_0.6.1.9008.zip(r-4.5)mlfit_0.6.1.9008.zip(r-4.4)mlfit_0.6.1.9008.zip(r-4.3)
mlfit_0.6.1.9008.tgz(r-4.4-any)mlfit_0.6.1.9008.tgz(r-4.3-any)
mlfit_0.6.1.9008.tar.gz(r-4.5-noble)mlfit_0.6.1.9008.tar.gz(r-4.4-noble)
mlfit_0.6.1.9008.tgz(r-4.4-emscripten)mlfit_0.6.1.9008.tgz(r-4.3-emscripten)
mlfit.pdf |mlfit.html
mlfit/json (API)

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

Peer review:

Bug tracker:https://github.com/mlfit/mlfit/issues

On CRAN:

5.44 score 14 stars 15 scripts 221 downloads 18 exports 38 dependencies

Last updated 23 hours agofrom:d42edaa9c7. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 22 2024
R-4.5-winOKNov 22 2024
R-4.5-linuxOKNov 22 2024
R-4.4-winOKNov 22 2024
R-4.4-macOKNov 22 2024
R-4.3-winOKNov 22 2024
R-4.3-macOKNov 22 2024

Exports:as_flat_ml_fit_problemcompute_marginsdssfitting_problemflatten_ml_fit_problemgginvis_ml_fitis_ml_problemmargin_to_dfml_fitml_fit_dssml_fit_entropy_oml_fit_hipfml_fit_ipuml_problemml_replicatespecial_field_namestoy_example

Dependencies:BBcachemclicodetoolscpp11crayondplyrfansifastmapforcatsgenericsgluehmskimisclatticelifecyclelobstrloggingmagrittrMatrixmemoisepillarpkgconfigplyrprettyunitspryrquadprogR6Rcpprlangstringistringrtibbletidyselectutf8vctrswithrwrswoR