Multi-level fitting

MultiLevelIPF-package

MultiLevelIPF: Implementation of algorithms that extend IPF to nested structures

toy_example()

Access to toy examples bundled in this package

fitting_problem() is.fitting_problem() format(<fitting_problem>) print(<fitting_problem>) special_field_names()

Create an instance of a fitting problem

flatten_ml_fit_problem() as.flat_ml_fit_problem()

Return a flattened representation of a multi-level fitting problem instance

ml_fit() ml_fit_dss() ml_fit_entropy_o() ml_fit_hipf() ml_fit_ipu() is.ml_fit()

Estimate weights for a fitting problem

ml_replicate()

Replicate records in a reference sample based on its fitted weights

compute_margins() margin_to_df()

Compute margins for a weighting of a multi-level fitting problem

Generalized raking

dss()

Calibrate sample weights

gginv()

Generalized Inverse of a Matrix using a custom tolerance or SVD implementation