Learn R Programming

⚠️There's a newer version (1.5.3) of this package.Take me there.

mixgb (version 1.5.2)

Multiple Imputation Through 'XGBoost'

Description

Multiple imputation using 'XGBoost', subsampling, and predictive mean matching as described in Deng and Lumley (2023) . 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.

Copy Link

Version

Install

install.packages('mixgb')

Monthly Downloads

337

Version

1.5.2

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Yongshi Deng

Last Published

December 2nd, 2024

Functions in mixgb (1.5.2)

pmm

PMM for numeric or binary variable
%>%

Pipe operator
mixgb_cv

Use cross-validation to find the optimal nrounds
createNA

Create missing values for a dataset
nhanes3_newborn

NHANES III (1988-1994) newborn data
default_params_cran

Auxiliary function for validating xgb.params compatible with XGBoost CRAN version
impute_new

Impute new data with a saved mixgb imputer object
mixgb

Multiple imputation through XGBoost
default_params

Auxiliary function for validating xgb.params
data_clean

Data cleaning
show_var

Show multiply imputed values for a single variable
pmm.multiclass

PMM for multiclass variable
sortNA

Sort data by increasing number of missing values
nhanes3

A small subset of the NHANES III (1988-1994) newborn data
mixgb-package

mixgb: Multiple Imputation Through 'XGBoost'