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-x86_64)mixgb_2.2.3.zip(r-4.7-arm64)mixgb_2.2.3.zip(r-4.6-x86_64)mixgb_2.2.3.zip(r-4.6-arm64)mixgb_2.2.3.zip(r-4.5-x86_64)
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.14 score 27 stars 85 scripts 376 downloads 8 exports 69 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK153
linux-devel-x86_64OK171
source / vignettesOK254
linux-release-arm64OK154
linux-release-x86_64OK180
macos-release-arm64OK166
macos-release-x86_64OK277
macos-oldrel-arm64OK246
macos-oldrel-x86_64OK343
windows-devel-arm64OK404
windows-devel-x86_64OK250
windows-release-arm64OK371
windows-release-x86_64OK131
windows-oldrel-x86_64OK145
wasm-releaseOK140

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