icarus: Calibrates and Reweights Units in Samples

Provides user-friendly tools for calibration in survey sampling. The package is production-oriented, and its interface is inspired by the famous popular macro 'Calmar' for SAS, so that 'Calmar' users can quickly get used to 'icarus'. In addition to calibration (with linear, raking and logit methods), 'icarus' features functions for calibration on tight bounds and penalized calibration.

Author
Antoine Rebecq [aut, cre]
Date of publication
2016-10-27 23:58:44
Maintainer
Antoine Rebecq <antoine.rebecq@m4x.org>
License
GPL-3
Version
0.2.2

View on CRAN

Man pages

addMargin
Adds a margin to marginMatrix
calibration
Calibration on margins
calibrationMarginStats
Stats for initial weights, calibrated weights, and margins.
calWeights_ex2
Calibration weights for 'data_ex2'
colToDummies
Changes a column containing multiple values to a matrix of...
data_ex2
A small example sample for calibration with Icarus
dataPop
Test population for Icarus.
HTmean
Weighted estimator for the mean
HTtotal
Weighted estimator for total
marginStats
Stats for initial weights, calibrated weights, and margins.
poptest_calmar
Calibration on population test - made on Calmar2
poptest_calmar_nr
Calibration with nonresponse on population test - made on...
regroupCalibrationModalities
Regroup calibration modalities
regroupModalities
Regroup elements of a vector
table_margins_1
Margins for calibration of test population
table_margins_2
Margins for calibration of test population
weightedMean
Weighted estimator for the mean
weightedTotal
Weighted estimator for total

Files in this package

icarus
icarus/inst
icarus/inst/CITATION
icarus/tests
icarus/tests/testthat.R
icarus/tests/testthat
icarus/tests/testthat/test_ginv.R
icarus/tests/testthat/test_calibration_small_dataset.R
icarus/tests/testthat/test_calibration.R
icarus/NAMESPACE
icarus/data
icarus/data/population_test.RData
icarus/data/datalist
icarus/data/ex2.RData
icarus/R
icarus/R/calib.R
icarus/R/ginv.R
icarus/R/modalities_functions.R
icarus/R/penalized_calib.R
icarus/R/estimators.R
icarus/R/calib_minbounds.R
icarus/R/calibration.R
icarus/R/margins.R
icarus/R/datasets.R
icarus/R/calmarFunctions.R
icarus/R/pointer.R
icarus/README.md
icarus/MD5
icarus/DESCRIPTION
icarus/man
icarus/man/table_margins_1.Rd
icarus/man/colToDummies.Rd
icarus/man/poptest_calmar.Rd
icarus/man/calibrationMarginStats.Rd
icarus/man/data_ex2.Rd
icarus/man/addMargin.Rd
icarus/man/calibration.Rd
icarus/man/table_margins_2.Rd
icarus/man/poptest_calmar_nr.Rd
icarus/man/weightedMean.Rd
icarus/man/marginStats.Rd
icarus/man/HTtotal.Rd
icarus/man/regroupModalities.Rd
icarus/man/regroupCalibrationModalities.Rd
icarus/man/dataPop.Rd
icarus/man/calWeights_ex2.Rd
icarus/man/weightedTotal.Rd
icarus/man/HTmean.Rd