You are on page 1of 11

2017

IMPROVING EFFICIENCY OF EXISTING TIME SERIES


MODELS WITH DISCRETE WAVELET TRANSFORM

Guide: Syed Atif Umar

Authors:

Akash Raj & Sachin Kumar

5/2/2017
Abstract Introduction
Banking & financial institutions rely on the Time Series
analysis of time series for forecasting economic Every day large volumes of data are collected
indices, elaborating financial market models, and in the form of time series. Time series are
registering international trade operations. Banks collections of events or observations,
specifically use time series for CCAR, Stress predominantly numeric in nature, sequentially
Testing, Loss Given Default forecasting. recorded on a regular or irregular time basis.
Time series are becoming increasingly
This contribution provides a review of the most
important in nearly every organization and
recent Wavelet applications in the field of time
series and proposes new wavelet analysis methods industry, including banking, finance,
in the field of Banking. Wavelets remain unknown in telecommunication, and transportation.
the field of Banking even though it clearly
overcomes the well-known limits of the classical Banking institutions, for instance, rely on the
Fourier/Time Series Analysis.
analysis of time series for forecasting economic
In any Time Series Model, if the time dependent indices, elaborating financial market models,
series undergoes a “Wavelet Transformation”, the and registering international trade operations.
efficiency of the model improves significantly More and more time series are being used in
because the transformation decomposes the time this type of investigation and becoming a
series variables based on their frequency. The valuable resource in today’s organizations.
original time series is decomposed through a
process consisting of a number of successive Nowadays, almost all managerial decisions are
filtering steps giving Approximation (Low frequency based on forecasts. Every decision becomes
terms) and Details (High frequency terms). The operational at some point in the future, so it
individual time series resulting from the should be based on forecasts of future
decomposition taken together provides a detailed
conditions.
view of the underlying process.

Published studies of comparison between Forecasts are needed throughout an


conventional and wavelet models suggest that organization -- and they should certainly not
wavelet models have a strong generalization ability be produced by an isolated group. Neither is
and provide more accurate results. forecasting ever "finished". Forecasts are
needed continually, and as time moves on, the
In Banks, Wavelet transformations can be applied to
impact of the forecasts on actual performance is
improve the efficiency of existing time series models
measured; original forecasts are updated; and
in Risk & Finance management, like CCAR & Loss
Given Default forecasting. It can also be applied to decisions are modified, and so on. [17]
forecast key performance indicators like sales,
balances & payment rates.

**************************************

Improving Efficiency of Time Series Models with Discrete Wavelet Transform 1


Due to the indispensable importance of time The Federal Reserve may object to a BHC’s
series forecasting in numerous practical fields capital plan on quantitative or qualitative
such as business, economics, finance, science grounds. If the Federal Reserve objects to a
and engineering, etc. proper care should be BHC’s capital plan, the BHC may not make any
taken to fit an adequate model to the underlying capital distribution unless the Federal Reserve
time series. It is obvious that a successful time indicates in writing that it does not object to the
series forecasting depends on an appropriate distribution. [12]
model fitting. A lot of efforts have been done
by researchers over many years for the Pre-Provision Net Revenue (PPNR)
development of efficient models to improve the Modelling
forecasting accuracy. As a result, various In past cycles of the Federal Reserve’s
important time series forecasting models have Comprehensive Capital Analysis and Review
been evolved in literature. (CCAR), banks pushed to improve their
modeling for credit losses as a key input for
Time Series Application in Banking & capital management. More recently the Fed is
pressuring banks to advance their modeling for
Financial Institutions
pre-provision net revenue (PPNR). Both in
Comprehensive Capital Analysis and Review public pronouncements and in private
(CCAR) memoranda to many CCAR banks, the Fed is
The Comprehensive Capital Analysis and expecting progress in two areas:
Review (CCAR) is an annual exercise by the First, PPNR models are now expected to reach
Federal Reserve to assess whether the largest a level of rigor and consistency in statistical
bank holding companies operating in the United approach commensurate with previous
States have sufficient capital to continue advances in loss modeling. Second, banks are
operations throughout times of economic and being asked to ensure that their advancements
financial stress and that they have robust, in PPNR modeling bring capital management
forward-looking capital-planning processes that closer to business forecasting and decision-
account for their unique risks. making. [13]

Improving Efficiency of Time Series Models with Discrete Wavelet Transform 2


the Dodd-Frank Act Stress Testing (DFAST)
requirements for stressing bank regulatory
capital under regulatory scenarios for all banks
with assets of $10 billion or more, and the
Comprehensive Capital Analysis and Reporting
(CCAR) requirements for stress testing
scenarios for banks with assets greater than $50
billion. CCAR banks are required to conduct
EL = Probability of Default x Exposure at stress tests using both the Fed-mandated
Default x Loss Given Default scenarios as well as idiosyncratic scenarios
designed to measure bank-specific risks.
Each of these components is modeled
separately and requires Time Series forecasting. Ironically, neither DFAST nor CCAR originally
Balances, early payoff, prepayment, required banks to use models in performing
amortization, involuntary payoff are important stress tests. However, since a capital
but not technically risk weight parameters. management framework needs to include credit,
These are needed for 9 quarters of calculations. market, operational and liquidity risks under
[18] various scenarios, each stress test must be
sufficiently tailored to capture an organization’s
unique exposures, activities and risks. In
Why Model Risk Matters?
practice, banks used models for estimating their
The Key Benefits for Banks
regulatory capital under these scenarios. They
then aggregated the risks using a calculator or
Model risk arises through errors in the
macro-model to estimate a final capital number.
individual components, through the way they
are put together or in the way they are used. The below graphic illustrates some of the
Thus, data input errors can result in errors in critical components of an effective capital
model outputs. Errors in model specification, management framework—a framework which
either due to inappropriate conceptual design, for most banks includes heavy reliance on
methodology or inaccurate implementation, can models for stress testing their various risks.
also result in inaccurate model outputs. Finally,
even if data quality is both reliable and
sufficient, and the algorithms are accurate and
properly implemented, model risk can still arise
through misuse of model outputs.

By itself, however, the function of model risk


management might have stayed relatively
obscure in the arcane intersection of risk
management and quantitative finance. What
shot it to prominence in the United States was

Improving Efficiency of Time Series Models with Discrete Wavelet Transform 3


In addition, many banks who failed DFAST and
Inevitably, as banks rely on models to estimate CCAR in the past several years failed in the
capital for DFAST and CCAR, regulators areas of governance or model risk management.
placed increasing emphasis on the governance Clearly, there are lessons to be learned here.
(including validation) around the use of models. And the lessons are costly. [11]

Why should Management and the In Banks, time series models are mainly
Board Care? utilized by Risk Management team for
Comprehensive Capital Analysis and Review
Simply stated, when models are not properly (CCAR) models & Loss Given Default
built, used or validated, banks lose money. Forecasting Models
Here are a few examples that most people will
recognize:

High-Profile Financial Losses Due to CCAR Model Failures [11]

Improving Efficiency of Time Series Models with Discrete Wavelet Transform 4


Wavelet Analysis consistency in time as that of original signal.
The process is repeated. Thus, sets of wavelet
Wavelet Analysis Industry wide coefficients at different scales are generated.
Applications
Wavelet analysis is multi resolution analysis in
Wavelet transform is now an old story for time and frequency domain. The wavelet
signal and image processing specialists. It is transform applies a bank of filters, with varying
indeed more than thirty years ago, in 1982, that frequency and widths, to the data. Wavelet
a French engineer working on seismological transforms provide sound mathematical
data for an oil company, Jean Morlet, proposed principles for designing and space filters, and
the concept of wavelet analysis to reach for making trade-offs between these objectives,
automatically the best trade-off between time while retaining the original relationships in the
and frequency resolution. As any discovery in time series. These principles define a set of
science, wavelets resulted from numerous filters obtained by rescaling a given function
contributions, they are based on concepts that several times, using what is often called a
already existed before Morlet’s idea and, mother wavelet, which is compressed or
clearly, it was in the mood of the signal expanding in the time domain to produce
processing community in the 1980’s. [14] wavelets.
From beginning, wavelets have found industry
First, original time series can be decomposed
wide applications in Signal Processing, Image
into a certain number of sub-time series
Processing, Bio-Informatics & Time Series
{W1,W2,…,WP,CP} by wavelet transform
Analysis etc. In this paper we focus on the
algorithm. W1,W2,…,WP are detail time series,
Wavelet Transformation applications in Time
and CP is background time series. These play
Series Modeling.
different role in the original time series and the
behavior of each sub-time series is distinct. So
the contribution to original time series varies
Wavelet Analysis – Discrete Wavelet from each other.
Transform
DWT (Discrete Wavelet Transform) operates
The Wavelet analysis is similar to Fourier as set of two functions or filters i.e. high pass
analysis. In Fourier analysis, signal is broken and low pass filter. The original time series is
into sinusoids of unlimited duration, whereas, decomposed through a process consisting of a
in wavelet analysis, wavelets are used instead number of successive filtering steps giving
of the sinusoids. Wavelets have waveforms of a) Approximation (Low frequency terms)
limited duration with a mean value of zero. In
wavelet analysis, the wavelet is shifted forward b) Details (High frequency terms)
in steps along full signal. At each step,
The individual time series resulting from the
correlation of wavelet to the signal is measured.
decomposition taken together can provide a
When the full series is covered, a set of wavelet
detailed picture of the underlying process.
coefficients is generated having same

Improving Efficiency of Time Series Models with Discrete Wavelet Transform 5


The main advantage of using the wavelet The base “Time Series Wave” undergoes first
method is its robustness since it does not level of decomposition via high & low pass
include any potentially erroneous assumptions filters to produce D1 & A1. The A1 wave
or parametric testing procedures. Another seems to be a more smoothened curve than the
advantage of the wavelet method is that wavelet base time series. Similarly, A1 further
variance decomposition allows one to study undergoes second & third level of
different investing behavior in different time decomposition to produce D2 & D3. The
scales independently. A good illustration on remaining background time series left is A3
wavelet analysis can be found in the books of which is a very smooth trend compared to the
Debnath (2010) and Rao (2004) [Ref 9, 10]. base series.

How Wavelet Transformations can be In the model, instead of using the base “Time
used in models? Series Wave”, we use the wavelets D1, D2 &
D3 along with the remaining background time
An example of the wavelet decomposition can series A3 which left after decomposition.
be viewed from the Figure 1.

Figure 1: Flow Chart for Decomposition of Time Series Wave

Improving Efficiency of Time Series Models with Discrete Wavelet Transform 6


Proven Research said to perform better, several research papers
state that the Wavelet Transformations based
regression models have out-performed the ANN
models in performance and accuracy.

Below are a couple of studies highlighting the


improvement in model performance due to
DWT transformation.

Case Study-1 : Hydrology

An abstract from a research paper of Springer,


one of the best international journals, clearly
The proposed technique has been tested
states the effectiveness of Wavelet Regression
positive in the field of signal processing,
model over Neural Network model. [Ref 1]
hydrology, geology, electronics, electrical
powers and even a few financial models.
Cited Abstract: Wavelet Regression Model as
an Alternative to Neural Networks for River
Wavelet Analysis however remains unknown
Stage Forecasting
in the field of Banking even though it clearly
overcomes the well-known limits of the
River stage forecasting is an important issue in
classical Fourier / Time Series analysis.
water resources management and real-time
prediction of extreme floods. The present study
In any Time Series Model, if the time
investigates the performance of the wavelet
dependent series undergoes a “Wavelet
regression (WR) technique in Daily River stage
Transformation”, improves the efficiency of
forecasting. The WR model was improved
the model significantly, because the
combining two methods, discrete wavelet
transformation decomposes the time series
transform and a linear regression model. Two
variable based on their frequency.
different WR models were developed using the
stage sub-time series, and these were compared
Many researchers have done a significant
with each other. The data from two stations on
amount of work in wavelet transformation
the Schuylkill River in Philadelphia were used.
application in models. We have cited a few
The root mean square errors (RMSE), mean
examples / published research as evidence
absolute errors (MAE) and correlation
supporting the claim. A few others are also
coefficient (R) statistics were used for
mentioned in the reference [Ref 1,2,5,7].
evaluating the accuracy of the WR models. The
accuracy of the WR models was then compared
Artificial Neural Networks are said to perform
with those of the artificial neural networks
empirically better than traditional multiple
(ANN) models. Based on a comparison of these
linear regression and auto regression models
results, the WR models were found to perform
due to its learning algorithms. While ANNs are
better than the ANN models. For the upstream
Improving Efficiency of Time Series Models with Discrete Wavelet Transform 7
and downstream stations, it was found that the wavelet transform is the central element of this
WR models with upstream readings of with paper. The proposed forecasting model uses the
RMSE = 0.070, MAE = 0.027, R = 0.937 and Discrete Wavelet Transform to decompose the
with downstream readings of RMSE = 0.048, financial time series data. The obtained
MAE = 0.024, R = 0.969 in the validation stage approximation and detail coefficients after
performed better in forecasting daily river decomposition of the original time series data
stages than the best accurate ANN models with are used as input variables of back propagation
upstream readings of RMSE = 0.168, MAE = neural network to forecast future stock prices.
0.052, R = 0.802 and with downstream Approximation coefficients can characterize the
readings of RMSE = 0.115, MAE = 0.051, R = coarse structure of the data and detail
0.807, respectively. coefficients capture ruptures, discontinuities
and singularities in the original data, to
The results from the paper, a comparison of recognize the long-term trends in the original
ANN & WR models is shown in below Table data.
Findings: The proposed model was applied to
Model Station R RMSE MAE
five datasets. For all of the datasets, accuracy
Wavelet Upstream 0.937 0.070 0.027
Regression measures showed that the presented model
Model Downstream 0.969 0.048 0.024
outperforms a conventional model. It also
Neural Upstream 0.802 0.168 0.052
Network
proved that the hybrid forecasting technique
Model Downstream 0.807 0.115 0.051 has achieved better results compared with the
approach which is not using the wavelet
Case Study-2 : Stock Market Price transform.

An abstract from another research paper from The results from the paper, a comparison of
“Indian Journal of Science and Technology”, BPNN & BPNN with DWT models are shown
states that Wavelet Transformations improve in below Table
performance & reduces error of base
Artificial Neural Network model
significantly. [Ref 15]

Cited Abstract: Prediction of Stock Market


Price using Hybrid of Wavelet Transform and
Artificial Neural Network

Accurate prediction of stock market is highly


challenging. This paper presents a forecasting
model based on Discrete Wavelet Transform
(DWT) and Artificial Neural Network (ANN)
for predicting financial time series.
Methods/Statistical analysis: The idea of
forecasting stock market prices with discrete
Improving Efficiency of Time Series Models with Discrete Wavelet Transform 8
A few other research studies stating the Following table lists the Opportunity Areas in
improvement in model performance of Auto Banks where Wavelet Transformations can be
Regression, ARIMA & Neural Network used along with Time Series Models.
Models:
Risk Finance / Decision
Management Management
Few Other Research Studies
Product based sales/balance
CCAR
Stochastic simulation model for non-stationary forecast
time series using an autoregressive wavelet Sales and Balance Specific products / Number of
1.
decomposition: Applications to rainfall and Forecasting Accounts forecast
temperature [2] Campaign Month over Month
Loss Given Defaults
Day-Ahead Electricity Price Forecasting Using sales
2. the Wavelet Transform and ARIMA Models Macro-Economic
Payment Rate Forecast
[5] Indicators
Wavelet Network Model and Its Application to
3.
the Prediction of Hydrology [7]

Financial Time Series Forecasting Using **************************************


4.
Improved Wavelet Neural Network [16]

Scope in Banking Conclusion


In Banks, there are many existing time series Forecasting in Banks through mathematical
models especially with Risk & Finance to time series models like Auto Regression,
forecast sales, balances, revenues, loss given ARMA, ARIMA, etc. is very difficult as they
defaults (LGDs) etc. We can leverage the depend upon too many variables and their
proposed technique to improve the performance interrelationships. Therefore, in recent past,
of the existing time series models in terms of many data-driven models have been developed
efficiency and error reduction. for the purpose.
In the present paper, the efficiency of wavelet
One of the major applications of the time series technique- one of the data-driven techniques, is
model can be found in CCAR. CCAR annual proposed in modeling and forecasting Assets &
stress test of capital adequacy of big US banks Liabilities.
is an area where time series modelling is widely On the basis of other mathematical researches it
used to understand the impact of is established that the Wavelet based models
macroeconomic changes on bank’s balance (i.e. ensemble Discrete Wavelet Transformed
sheet. variables into base time series) may provide a
As the wavelet transformation of variables superior alternative for developing input–output
yields better results, the CCAR prediction of simulations and forecasting. A performance
risk variables can be used to improve the comparison of Wavelet models suggested its
efficiency of prediction. superiority over any base time series model.

Improving Efficiency of Time Series Models with Discrete Wavelet Transform 9


References [12] Comprehensive Capital Analysis and Review
2016: Assessment Framework and Results
[1] Kisi, O. (2010) Wavelet Regression Model as an
[13] CCAR PPNR Modeling BY ANDREW
Alternative to Neural Networks for River Stage FRISBIE AND Jonathan WEST
Forecasting. Water Resource Manage (2011) https://novantas.com/wp-
25:579–600. content/uploads/2014/11/NR_vol5no3_CCAR_v
f.pdf
[2] Kwon HH, Lall U, Khalil AF (2007) Stochastic
simulation model for nonstationary time series [14] https://www.researchgate.net/publication/23668
using an autoregressive wavelet decomposition: 6949_Industrial_applications_of_the_wavelet_a
applications to rainfall and temperature. Water nd_multiresolution_based_signal-
Resources Research Journal 43(5):1–15. image_processing_a_review
doi:10.1029/2006WR005258
[15] S Kumar Chandar, M. Sumathi, S. N.
[3] SAS Global Forum, Ania Supady (2015), Time Sivanandam, (2016) Prediction of Stock Market
Series Modeling and Forecasting—An Price using Hybrid of Wavelet Transform and
Application to Bank’s StressTesting, Paper Artificial Neural Network, Indian Journal of
3338-2015 Science and Technology, Vol 9(8), DOI:
10.17485/ijst/2016/v9i8/87905, February 2016,
[4] Wavelet Analysis of Financial Data ISSN (Online) : 0974-5645
https://in.mathworks.com/help/wavelet/example
s/wavelet-analysis-of-financial- [16] Chong Tan, Financial Time Series Forecasting
data.html?requestedDomain=www.mathworks.c Using Improved Wavelet Neural Network
om http://www.cs.au.dk/~cstorm/students/Ch
ong_Jul2009.pdf
[5] IEEE A.J. Conejo, M.A. Plazas, R. Espinola
(2005) Day-ahead electricity price forecasting [17]http://home.ubalt.edu/ntsbarsh/Business-
using the wavelet transform and ARIMA models stat/stat-data/Forecast.htm
[6] Aussum A, Campbell J, Murfagh F. (1998)
Wavelet-based feature extraction and [18]http://www.bis.org/bcbs/irbriskweight.pdf
decomposition strategies for financial
forecasting

[7] Journal of Computational Intelligence in France


1997:1-17
Wensheng Wang, Jing Ding (2003), Wavelet
Network Model and Its Application to the
Prediction of Hydrology

[8] Labat D (2005), Recent advances in wavelet


analyses: Part 1. A review of concepts. J Hydrol
314(1– 4):275–288

[9] Lokenath Debnath (2010), Wavelet Transforms


And Time-Frequency Signal Analysis.
Publisher: Birkhuser Basel, ISBN: 0817641041.

[10] Rao, G. S. (2004) Wavelet Analysis And


Applications. Publisher: New Age International
(p) Limited.

[11] http://www.corporatecomplianceinsights.com/m
odel-risk-matters/
Improving Efficiency of Time Series Models with Discrete Wavelet Transform 10

You might also like