Random Iterative Method (RIM) weighting for survey data, using iterative proportional fitting to align sample distributions with known population margins.
-
Updated
Feb 23, 2025 - Python
Random Iterative Method (RIM) weighting for survey data, using iterative proportional fitting to align sample distributions with known population margins.
Example how to run IPF in R
Python implementation of Iterative Proportional Updating (IPU). The IPU algorithm is a general case of iterative proportional fitting that can satisfy two disparate sets of marginals that do not agree on a single total.
Add a description, image, and links to the iterative-proportional-fitting topic page so that developers can more easily learn about it.
To associate your repository with the iterative-proportional-fitting topic, visit your repo's landing page and select "manage topics."