mipfp
mipfp copied to clipboard
Multidimensional Iterative Proportional Fitting and Alternative Models
Hi, I am regularly applying Ipfp to relatively large arrays (4 dimensions totaling 10th of millions of values) with several constraints. Currently the Ipfp function is very slow in handling...
Thanks for this very useful package. FYI, I am using it to adjust the weights on the Current Population Survey to take account of the introduction of the 2020 Census...
Rcpp implementation including parallelization of the Ipfp algorithm. This greatly increases speed for large problems and fixes #4 and #5. Apart from this the obtained (multidimensional) matrices are equal to...
The classes of the output are somewhat messy. Let me show you with some [example data from the `survey` package](https://r-survey.r-forge.r-project.org/survey/html/rake.html). library(survey) library(sloop) library(mipfp) data(api) ## population marginal totals for each...