Multiple imputation of covariates for the propensity score model using
Hmisc::impute.transcan()
. The model used for multiple imputation must
be fit with Hmisc::aregImpute()
.
multi_impute(object, data, id = "patient_id", ...)
object | An |
---|---|
data | The dataset that will be multiply imputed. |
id | Name of the variable in |
An "stacked" dplyr::tibble
containing all of the multiply
imputed datasets row binded together. A column imp
identifies the
imputation number.