Package: mixgb 1.5.2
mixgb: Multiple Imputation Through 'XGBoost'
Multiple imputation using 'XGBoost', subsampling, and predictive mean matching as described in Deng and Lumley (2023) <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:
mixgb_1.5.2.tar.gz
mixgb_1.5.2.tar.gz(r-4.5-noble)mixgb_1.5.2.tar.gz(r-4.4-noble)
mixgb_1.5.2.tgz(r-4.4-emscripten)mixgb_1.5.2.tgz(r-4.3-emscripten)
mixgb.pdf |mixgb.html✨
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
- nhanes3 - A small subset of the NHANES III (1988-1994) newborn data
- nhanes3_newborn - NHANES III (1988-1994) newborn data
Last updated 2 months agofrom:cfd5622958. Checks:2 OK. Indexed: no.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Jan 31 2025 |
R-4.5-linux-x86_64 | OK | Jan 31 2025 |
Exports:%>%createNAdata_cleandefault_paramsdefault_params_cranimpute_newmixgbmixgb_cvshow_var
Dependencies:backportsbitbit64bootbroomclicliprcodetoolscpp11crayondata.tabledplyrfansiforcatsforeachgenericsglmnetgluehavenhmsiteratorsjomojsonlitelatticelifecyclelme4magrittrMASSMatrixmiceminqamitmlnlmenloptrnnetnumDerivordinalpanpillarpkgconfigprettyunitsprogresspurrrR6rbibutilsRcppRcppArmadilloRcppEigenRcppGSLRcppParallelRcppZigguratRdpackreadrreformulasRfastrlangrpartshapestringistringrsurvivaltibbletidyrtidyselecttzdbucminfutf8vctrsvroomwithrxgboost
Imputing newdata with a saved mixgb imputer
Rendered fromImputing-newdata.Rmd
usingknitr::rmarkdown
on Jan 31 2025.Last update: 2024-12-02
Started: 2022-06-07
mixgb: Multiple Imputation Through XGBoost
Rendered fromUsing-mixgb.Rmd
usingknitr::rmarkdown
on Jan 31 2025.Last update: 2024-12-02
Started: 2022-06-07
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Create missing values for a dataset | createNA |
Data cleaning | data_clean |
Auxiliary function for validating xgb.params | default_params |
Auxiliary function for validating xgb.params compatible with XGBoost CRAN version | default_params_cran |
Impute new data with a saved 'mixgb' imputer object | impute_new |
Multiple imputation through XGBoost | mixgb |
Use cross-validation to find the optimal 'nrounds' | mixgb_cv |
A small subset of the NHANES III (1988-1994) newborn data | nhanes3 |
NHANES III (1988-1994) newborn data | nhanes3_newborn |
Show multiply imputed values for a single variable | show_var |