comp_error | R Documentation |
Compute the imputation error on entries which are missing in xobs
but observed in xtrue
cal_mae(xhat, xobs, xtrue, round = FALSE) cal_rmse(xhat, xobs, xtrue, relative = TRUE) cal_smae(xhat, xobs, xtrue, round = FALSE, reduce = TRUE, verbose = TRUE) cal_misclass(xhat, xobs, xtrue)
xhat |
imputed data matrix or vector |
xobs |
incomplete observed data matrix or vector |
xtrue |
complete true data matrix or vector |
round |
whether to round the values of |
relative |
Only used for |
reduce |
Only used for |
verbose |
Only used for |
Computed imputation error
cal_mae
: Compute the mean absolute error
cal_rmse
: Compute the root mean squared error
cal_smae
: Compute the MAE scaled by median imputation MAE (at each column)
cal_misclass
: Compute the mis-classification rate for categorical data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.