Package: mixgb 2.2.3

Yongshi Deng

mixgb: Multiple Imputation Through 'XGBoost'

Multiple imputation using 'XGBoost', subsampling, and predictive mean matching as described in Deng and Lumley (2024) <doi:10.1080/10618600.2023.2252501>. The package supports various types of variables, offers flexible settings, and enables saving an imputation model to impute new data. Data processing and memory usage have been optimised to speed up the imputation process.

Authors:Yongshi Deng [aut, cre], Thomas Lumley [ths]

mixgb_2.2.3.tar.gz
mixgb_2.2.3.tar.gz(r-4.7-arm64)mixgb_2.2.3.tar.gz(r-4.7-x86_64)mixgb_2.2.3.tar.gz(r-4.6-arm64)mixgb_2.2.3.tar.gz(r-4.6-x86_64)
mixgb_2.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
mixgb/json (API)
NEWS

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

Bug tracker:https://github.com/agnesdeng/mixgb/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • newborn - NHANES III (1988-1994) newborn data
  • nhanes3 - A small subset of the NHANES III (1988-1994) newborn data

On CRAN:

Conda:

cppopenmp

4.05 score 1 packages 93 scripts 308 downloads 8 exports 69 dependencies

Last updated from:f3b926ac67. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK194
linux-devel-x86_64OK334
source / vignettesOK263
linux-release-arm64OK179
linux-release-x86_64OK203
wasm-releaseOK129

Exports:check_datacreateNAdefault_paramsdefault_params_cranimpute_newmixgbmixgb_cvshow_var

Dependencies:backportsbitbit64bootbroomclicliprcodetoolscpp11crayondata.tabledplyrforcatsforeachgenericsglmnetgluehavenhmsiteratorsjomojsonlitelatticelifecyclelme4magrittrMASSMatrixmiceminqamitmlnlmenloptrnnetnumDerivordinalpanpillarpkgconfigprettyunitsprogresspurrrR6rbibutilsRcppRcppArmadilloRcppEigenRcppParallelRdpackreadrreformulasRfastrlangrpartshapestringistringrsurvivaltibbletidyrtidyselecttzdbucminfutf8vctrsvroomwithrxgboostzigg

Imputing newdata with a saved mixgb imputer

Rendered fromImputing-newdata.Rmdusingknitr::rmarkdownon Jun 16 2026.

Last update: 2026-01-17
Started: 2022-06-07

mixgb: Multiple Imputation Through XGBoost

Rendered fromUsing-mixgb.Rmdusingknitr::rmarkdownon Jun 16 2026.

Last update: 2026-01-17
Started: 2022-06-07