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.zip(r-4.7)mixgb_2.2.3.zip(r-4.6)mixgb_2.2.3.zip(r-4.5)
mixgb_2.2.3.tgz(r-4.6-x86_64)mixgb_2.2.3.tgz(r-4.6-arm64)mixgb_2.2.3.tgz(r-4.5-x86_64)mixgb_2.2.3.tgz(r-4.5-arm64)
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
DESCRIPTION |NEWS
card.svg |card.png
mixgb/json (API)

# Install 'mixgb' in R:
install.packages('mixgb', repos = c('https://agnesdeng.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

7.64 score 26 stars 1 packages 93 scripts 369 downloads 8 exports 69 dependencies

Last updated from:d2d7b58806. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK232
linux-devel-x86_64OK206
source / vignettesOK285
linux-release-arm64OK190
linux-release-x86_64OK205
macos-release-arm64OK147
macos-release-x86_64OK439
macos-oldrel-arm64OK155
macos-oldrel-x86_64OK266
windows-develOK220
windows-releaseOK171
windows-oldrelOK187
wasm-releaseOK173

Exports:check_datacreateNAdefault_paramsdefault_params_cranimpute_newmixgbmixgb_cvshow_var

Dependencies:backportsbitbit64bootbroomclicliprcodetoolscpp11crayondata.tabledplyrforcatsforeachgenericsglmnetgluehavenhmsiteratorsjomojsonlitelatticelifecyclelme4magrittrMASSMatrixmiceminqamitmlnlmenloptrnnetnumDerivordinalpanpillarpkgconfigprettyunitsprogresspurrrR6rbibutilsRcppRcppArmadilloRcppEigenRcppParallelRdpackreadrreformulasRfastrlangrpartshapestringistringrsurvivaltibbletidyrtidyselecttzdbucminfutf8vctrsvroomwithrxgboostzigg

Imputing newdata with a saved mixgb imputer
Impute new unseen data using a saved imputer object

Last update: 2026-01-17
Started: 2022-05-18

mixgb: Multiple Imputation Through XGBoost
Introduction | Impute missing values with mixgb | Customise imputation settings | Tune hyperparameters | Inspect multiply imputed values

Last update: 2026-01-17
Started: 2022-05-18