imputeFin: Imputation of Financial Time Series with Missing Values and/or Outliers

Missing values often occur in financial data due to a variety of reasons (errors in the collection process or in the processing stage, lack of asset liquidity, lack of reporting of funds, etc.). However, most data analysis methods expect complete data and cannot be employed with missing values. One convenient way to deal with this issue without having to redesign the data analysis method is to impute the missing values. This package provides an efficient way to impute the missing values based on modeling the time series with a random walk or an autoregressive (AR) model, convenient to model log-prices and log-volumes in financial data. In the current version, the imputation is univariate-based (so no asset correlation is used). In addition, outliers can be detected and removed. The package is based on the paper: J. Liu, S. Kumar, and D. P. Palomar (2019). Parameter Estimation of Heavy-Tailed AR Model With Missing Data Via Stochastic EM. IEEE Trans. on Signal Processing, vol. 67, no. 8, pp. 2159-2172. <doi:10.1109/TSP.2019.2899816>.

Package details

AuthorDaniel P. Palomar [cre, aut], Junyan Liu [aut], Rui Zhou [aut]
MaintainerDaniel P. Palomar <daniel.p.palomar@gmail.com>
LicenseGPL-3
Version0.1.2
URL https://CRAN.R-project.org/package=imputeFin https://github.com/dppalomar/imputeFin https://www.danielppalomar.com https://doi.org/10.1109/TSP.2019.2899816 https://doi.org/10.1109/TSP.2020.3033378
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("imputeFin")

Try the imputeFin package in your browser

Any scripts or data that you put into this service are public.

imputeFin documentation built on Feb. 20, 2021, 9:07 a.m.