The R Journal: accepted article

This article will be copy edited and may be changed before publication.

R Package imputeTestbench to Compare Imputation Methods for Univariate Time Series PDF download
Marcus W Beck, Neeraj Bokde, Gualberto Asencio-Cortés and Kishore Kulat

Abstract Missing observations are common in time series data and several methods are available to impute these values prior to analysis. Variation in statistical characteristics of univariate time series can have a profound effect on characteristics of missing observations and, therefore, the accuracy of different imputation methods. The imputeTestbench package can be used to compare the prediction accuracy of different methods as related to the amount and type of missing data for a user-supplied dataset. Missing data are simulated by removing observations completely at random or in blocks of different sizes depending on characteristics of the data. Several imputation algorithms are included with the package that vary from simple replacement with means to more complex interpolation methods. The testbench is not limited to the default functions and users can add or remove methods as needed. Plotting functions also allow comparative visualization of the behavior and effectiveness of different algorithms. We present example applications that demonstrate how the package can be used to understand differences in prediction accuracy between methods as affected by characteristics of a dataset and the nature of missing data.

Received: 2017-06-29; online 2018-05-21, supplementary material, (3.8 Kb)
CRAN packages: imputeTestbench, dplyr, reshape2, tidyr, ggplot2, forecast, imputeTS, zoo, stats, datasets, Rcpp, matlabr
CRAN Task Views implied by cited CRAN packages: TimeSeries, Econometrics, Environmetrics, Finance, Graphics, HighPerformanceComputing, ModelDeployment, NumericalMathematics, Phylogenetics


CC BY 4.0
This article and supplementary materials are licensed under a Creative Commons Attribution 4.0 International license.

@article{RJ-2018-024,
  author = {By Marcus W Beck and Neeraj Bokde and Gualberto Asencio-Cortés and
         Kishore Kulat
},
  title = {{R Package imputeTestbench to Compare Imputation Methods for
          Univariate Time Series}},
  year = {2018},
  journal = {{The R Journal}},
  url = {https://journal.r-project.org/archive/2018/RJ-2018-024/index.html}
}