View source: R/evaluate_imputation_error.R
evaluate_imputation_error | R Documentation |
Evaluate the imputation error when true values are known. Useful when missing values are simulated and true values are known (the errors are calculated as distances from the true values). For continuous variables, MSE (mean square error) and NMSE (normalized mean square error) are returned. For categorical variables, MER (misclassification error rate) is returned.
evaluate_imputation_error(ximp, xmis, xtrue, all = FALSE)
ximp |
imputed dataframe. |
xmis |
original dataframe with missing values. |
xtrue |
true dataframe with no missing values. |
all |
calculate error on all observations (TRUE) or only on missing observations (FALSE). Default is FALSE. |
For details check the advanced vignette on convergence criteria and error monitoring.
Dataframe with variables in rows and performance measures in columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.