| imputeRobust | R Documentation |
Multiple imputation using classical and robust methods accounting for model and imputation uncertainty.
imputeRobust(
form,
data,
boot = TRUE,
robustboot = "stratified",
method = "MM",
takeAll = TRUE,
alpha = 0.75,
uncert = "pmm",
family = "Gaussian",
value_back = "all"
)
form |
Model formulas as a list. |
data |
Data set to impute |
boot |
Accounting for model uncertainty with a classical bootstrap, Default: TRUE |
robustboot |
Accounting for model uncertainty with robust bootstrap methods, Default: 'stratified' |
method |
Imputation method, Default: 'MM' |
takeAll |
Missing values are intialized when TRUE, Default: TRUE |
alpha |
Relative size of good data points. Used for the robust bootstrap methods, Default: 0.75 |
uncert |
Imputation uncertainty method, Default: 'pmm' |
family |
Not supported and ignored. Foreseen for future versions, Default: 'Gaussian' |
value_back |
Only observations with imputed values as return object (ymiss), or the whole data set, Default: 'all' |
Complex formulas can be provided for each variable in your data set.
Imputed data set.
initialise
lmrob
gam
pdist
## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.