You are on page 1of 10

2008 Martin P.

Wallace 67

NEURAL NETWORKS AND THEIR APPLICATION 
TO FINANCE 

Martin P. Wallace (PHD)


Applied Technologies Centre
London, UK
Tel. +44 (0) 20 7732 2312
mw.sat@apcentre.edu

Abstract

Neural networks are one such process, that is, it maps some type of input stream of information to
an output stream of data. It consists of ways to connect data/information to produce output that is
consistent with the processes. It may seem simple, but as the analysis will highlight, this process is far
from trivial. Today neural networks have been integrated into most fields and are a very important
analytical tool. Neural networks are trained without the restriction of a model to derive parameters and
discover relationships, driven and shaped solely by the nature of the data. This has profound
implications and applicability to the finance field. These areas will be analyzed with specific examples in
each area.

Wallace M.P. - Neural Networks and Their Application to Finance


68 Business Intelligence Journal July

between processes in the brain and neural


WHAT RE NEURAL NETWORKS?  networking.

The human brain is a very complex part THE  HISTORY  OF  NEURAL 
of the human body, due mainly to the NETWORKS 
interactions and connectivity with other
parts of our body, and the way it controls Neural networks were originally
and defines every aspect of our being. The devised to understand the workings of the
brain has continued to be a mystery to human brain (a formidable task).
many scientists, but its role and capacity to However, there developed a
process information is mimicked in many multidisciplinary trend with the constant
aspects of academia. Neural networks are interaction of researchers across
one such process, that is, it maps some disciplines who tried to apply the
type of input stream of information to an neurological activities of the brain with
output stream of data. It consists of ways classifying computer programs and
to connect data/information to produce functions (Stergiou and Siganos para 5).
output that is consistent with the
processes. It may seem simple, but as the Figure 1: Neural Networking and
analysis will highlight, this process is far Similarities with the Workings of the
from trivial. Human Brain
A neural network works in a similar
methodological way to connect processing
elements to produce results from a
complex analytical study or principle that
depends on many interconnected
explanatory variables. According to Smith
initially neural networks were
characterized as a computer science
phenomenon with uses (Smith para 2):-

• processing elements
• a high degree of
interconnectivity
• dependence of variables

The basic idea behind a neural network


is presented in Figure 1 below; where
there are different inputs that combined
create an output, however the ratio is not
one to one, since there may be interactions
between inputs and more so backward
linkages between output and input, as
presented in the diagram below. The
figure was adapted form Stergiou and
Siganos (para 2) to highlight the similarity

Wallace M.P. - Neural Networks and Their Application to Finance


2008 Martin P. Wallace 69

The first use and concept of neural and research associated with neural
networks began with linear classifications networks. Its overall use and
of the input-output relation represented computational ability to solve complex
generally equation 1 below: problems was questioned and this lead to
limited use.
Y = a + bx, with x Є Rn, a Є Rn, b Є Rn Nevertheless, neural networks have
regained popularity and are being used in a
Equation 1 wide array of fields within the natural and
Equation 1 was the typical development social sciences. Models such as those in
in neural networks and classified the figure 2 generally increased in complexity,
general form of the Perceptron, which the development of the Cognitron in 1975
developed considerable interest and with training and learning algorithm, along
research in the 1950s (Stergiou and with the ability to change weights and
Siganos para 6). This model clearly has interactivity across input sets in Rn, were
limitations, since it can only specify linear developed and re-popularized the field.
relationships in the input space; and will Other popular models such as the back-
not classify complex data models that have propagation network is which utilized a
a non-linear relationship. stochastic function to generalize the
Neural networks continued to advance relationship and determine optimal
and developed a multilayered algorithm parameters of a complex model via a more
that had the ability for bi-directional flow robust methodology (Stergiou and Siganos
on inputs. Figure 2 below, highlights the para 8). Equation 2 below highlights the
general neural model that was adapted and complexity and development within the
transformed across disciplines. It historical timeline that shows the
highlights the development and historical sequential development of neural networks
progress of neural networks as its (note the difference between equation 1
applicability across research arenas and equation 2).
changed (Stasoft para 20).
Y =h (a + bx), with x Є Rn, a Є Rn , b Є
Figure 2: Multilayered Neural Network Rn
Model adapted from Stergiou and
Siganos where h is a logistic function

Equation 2

Today neural networks have been


integrated into most fields and are a very
important analytical tool.

Neural network development was not WHY USE NEURAL NETWORKS? 


without its period of criticism and general
disrepute. During this period, the flaws of The recent increased interest and use of
the single layered Perceptron model were neural models stems primarily from its
highlighted (like that shown in figure 1). nonlinear models that can be trained to
This caused a general decline in funding map past and future values of the input-

Wallace M.P. - Neural Networks and Their Application to Finance


70 Business Intelligence Journal July

output relationship. This adds analytical techniques and parameter threshold


value, since it can extract relationships testing, hence neural networks add
between governing the data that was not flexibility to the model. In addition, with
obvious using other analytical tools. the non-linear modeling capabilities, there
Neural networks are also used because are a wide range of complex models that
of its capability to recognize pattern and can be easily implemented and analyzed.
the speed of its techniques to accurately
solve complex processes in many NEURAL  NETWORKS  VERSUS 
applications. This is especially true of the CONVENTIONAL COMPUTERS 
backpropagation and Cognitron method
introduced in the historical section of the Neural networks have the unique
paper. Neural networks help to capability of learning. That is, unlike
characterize relationships via a nonlinear, conventional computers, sequences do not
non parametric inference technique, this is need to be dictated in order for the
very rare and has many uses in a host of algorithm to be executed and produce
disciplines (Lendasse et al 9). meaningful results. This problem solving
Since a neural network is basically a tools, creates a unique likeness to the
data processing technique that links input human brain, that is, neural networks, use
streams with output , its use can be the interconnectedness of the elements of
distinguished by four types of the model to arrive at logical and robust
applications: decisions, rather than follow a set of
sequential steps, that may or may not solve
1. Classification of input stream the problem like computers do.
2. Association of output given sectors Neural networks also allow modeling
of input groupings and forecasting to be more efficient, why?
3. Codification of input by producing The necessary analytical framework
output within a reduced provides an expansive model to analyze
dimensional subspace relationships that were not embedded in
4. Simulation of output from input the methodology or mechanism used to
relationships and interconnections. solve the model. This highlights the a
different aspect of model building, where
Neural networks offer the best ‘back- the unique relationships between the
drop’ in which to extend simply variables creates the model, rather than
methodologies to gain unique and trying to force variables to conform to a
extended results from models. The theoretical abstract that may or may not
networks offer the added advantage of exist. Nevertheless, it is clear that neural
being able to establish a ‘training’ phase, networks cannot replace traditional
where example inputs are presented and computers, but can and will complement
the networks learns to extract the relevant each other in problem solving
information from these patterns. With mechanisms. Figure 2a below shows the
this, the network can generalize results and generalized view of the multilayer
lead to logical and other unforeseen perceptron network with specific emphasis
conclusions through the model. on the multiconnectivity of the variables.
Clearly neural networks surpass
traditional models that use linear

Wallace M.P. - Neural Networks and Their Application to Finance


2008 Martin P. Wallace 71

Figure 2a: Multilayer Perceptron Neural Network

Inputs
Analytical Output
Processing

Data along the Input All data inputs into Summation value is
input lines to a representations the neuron are analyzed put through a transfer
neuron are sometimes display and checked for function, whose output
multiplied by the interconnectedness. interconnected represents the neuron’s
line weights relationships that can output values
impact the output.

Weights are adjustable parameters that The simplest transfer function is the linear function, whose
are adjusted during the training phase to output equals the input. The use of nonlinear transfer functions is
achieve the desired output result for given one of the distinguishing features of neural networks.

Neural networks try to find the solution


to problems by analyzing the variables and TIME SERIES ANALYSIS 
may come to unpredictable results, since
the relationship between inputs and Time series is a special form of data
outputs is not specified within a particular where past values may influence future
methodology, but is rather loosely based values. Many financial models rely on
on the unspecified steps to solve the understanding time series to adequately
problem. Conventional computers need predict the functionality of financial
this model or sequence of steps to solve markets and uses statistical inferences for
problems, and as such will produce results forecasting purposes. The relationship
that are stipulated by the model or between time variant variables in finance
framework used to analyze data. can be characterized by trends, cycles, and
non-stationary behavior between data
NEURAL NETWORKS IN FINANCE  points that have serve a predictive or
informational purpose to the model.
Neural networks are trained without the Linear models have been used in the past
restriction of a model to derive parameters to extract these relationships, but non-
and discover relationships, driven and linear relationships exists between many
shaped solely by the nature of the data. financial variable, as such neural networks
This has profound implications and have a specific place within the financial
applicability to the finance field. These literature and can be trained to map and
areas will be analyzed with specific future values of time series, so as to
examples in each area. extract hidden structures and relationships
that may govern the data (Lendasse et al 5)
In discussing neural networks and time
series analysis, it is beneficial to introduce
the random walk Properties of pure

Wallace M.P. - Neural Networks and Their Application to Finance


72 Business Intelligence Journal July

random walk time series are of interest in test of randomness within financial time
providing a theoretical framework for series is fraught with problems and even
financial time series and provides an the most advanced nonlinear models, still
applicable framework for neural networks have not devised efficient ways to model
in finance. Equation 3 below presents the the behavior of financial time series.
random time series, which is used to Based on the analysis above, the neural
model market prices. network seems like an appropriate model
to analyze financial time series, since it
pt = pt-1 + ut will provide insight into the nature of the
relationship between time series data
Equation 3 (which can be useful for forecasting and
stock market analysis which is examined
Where p represents market prices, the ts below).
subscripts are an index of time, and u is a Figure 3 below shows, since the
stochastic variable, which is identically hypothesis being tested and debated in
distributed. That is, u~(0, c). finance is whether financial time series
Typically, the random walk theory is have information that can be useful for
applied to stock market analysis and is a predictive purposes, or just happen to
useful background to the question of the follow a random walk. Neural networks
nature of financial time series (‘Financial have been useful in testing this hypothesis.
Time Series as Random Walk” 6). Direct

Figure 3: Stock Market Data from the New York Stock Exchange for Newmont
Mining: Random Walk?

Wallace M.P. - Neural Networks and Their Application to Finance


2008 Martin P. Wallace 73

Value of stock = D1+ D2+ D3+ T


STOCK MARKET ANALYSIS  (1+k) (1+k)2 (1+k)3
(1+k)∞
More individuals own stock more than
ever. Stock pricing is now expansive and
is an important aspect of financial Equation 4
economics. Therefore, many theorist look
for different analytical tools to arrive at The inputs for the calculation include:
logical conclusions. Neural networks are
technical models that can lead to insightful Dt = Dividends during period t
results and have a significant impact on k = The required rate of return on stock j
the market. T= terminal stock value
A stock is generally considered over-
valued if the price-earning ratio is high The analysis above is just a brief
relative to the rate at which a company’s overview of the applicability of neural
earnings are likely to grow. The converse networks in the stock market. The random
holds true for an under-valued stock. walk theory and DDM seemed like the
Because of the complexity and importance most applicable (and popular)
of valuing common stock, various methodologies to analyze.
techniques for accomplishing this task
have been devised over time. The CAPITAL BUDGETING AND RISK 
techniques that will be used encompass:
1) discounted cash flow valuation Capital budgeting is one of the most
techniques, where the value of the stock is important functions of financial
estimated based upon the present value of management. It encompasses a process of
some measure of cash flow, including planning expenditures on assets whose
dividends, operating cash flow, and free cash flows are expected to extend beyond
cash flow; and 2) the relative valuation one year. A company with growth rates
techniques, where the value of a stock is and profit margins such as that are dictated
estimated based upon its current price by capital expenditure and investment
relative to variables considered significant cannot afford to ignore the importance of
to valuation; 3) cost of capital; 4) capital capital budgeting. Erroneous forecasts of
budgeting. asset requirements can have serious
The dividend discount model (DDM) is consequences, Therefore there is always a
very useful for the stock market analysis need for complex and accurate models to
and has been applied to the neural network dictate the relationship between variables.
in order to verify if entities are relatively How is capital budgeting associated with
stable and if prices are efficient and fair the neural networks? Capital budgeting
for stocks. DDM assumes that the value typically involves a large amount of
of a share of common stock is the present money, therefore when companies
value of all future dividends1. contemplate major capital expenditure
The inputs for the calculation include: programs, financing has to planned in
advanced, hence the importance of stock
1
value and forecasting mechanisms, as
This model was adapted from Myron Gordon,
The Investment, Financing, and Valuation of the
shown from the previous analysis, neural
Corporation. Irwin, 1962 networks are important to this overall

Wallace M.P. - Neural Networks and Their Application to Finance


74 Business Intelligence
I Journ
nal July

process. What
W is cleear is that there is a diverrsification; it is measuured by the beta
direct linkk between capital
c budggeting and coeffficient.
stock valuees. The morre effective the firm’s With
W the cost
c of eequity equation
capital buddgeting proccedures, thee higher its analyyzed in previous secttions, it iss not
stock pricee. These arre hypothesees that are surprrising that as
a market rissk increasess, the
also tested via neural networks.
n cost of equity increases aand stock valuev
Once a potentiall capital budgeting falls.. Calculaated risk ccoefficients and
project hass been idenntified, its evaluation
e interactions withh other variiables in fin
nance
involves thhe same stteps that arre used in can also be approximatted via neural
security annalysis. Deecision rulees can be netwworks.
summarizeed by the faact that if thhe present Generally,
G thhese appliccations rely
y on
value of thhe cash floows exceedds the cost the fact
f that neuural networkk models caan be
the projecct is acceepted. Otheerwise, it used to devvise a ffunction from
should be rejected. (Alternative
( ely, if the obserrvations (thhat may orr may not have
expected rate of retturn on thhe project existted before). This is ussually within n the
exceeds itss cost of capital,
c the project is finannce field whhere data is too compleex to
accepted). With this similarity, it is also analyyze (Smith para 6). Specifically y the
relatively easy
e to usee neural nettworks for use of artificiaal intelligennce techniq ques,
forecastingg and arrivving at rellationships whicch is generaalized in figgure 4 belo ow is
and estimaates betweenn the variables. used within the financial inndustry with h the
Risk annalysis is beest approxim mated with latestt methodoloogical approoaches aimed at
market riskk, that is, thhe part of a project’s mainntaining the competitivee edge.
risk that cannot be eliminnated by

Figure 4: General Modeling


M off Neural Neetworks forr Financial Capital M
Markets

(
(Inclusive o Capital Budgeting
of B and Risk Analysis)
A
*Exttracted from
m Leslie Smiith, Centre for
f Cognitivve and Com
mputational N nce
Neuroscien

Wallace M.P
P. - Neural Netwoorks and Their Ap
pplication to Finaance
2008 Martin P. Wallace 75

improve the general analysis of the


FINANCIAL FORECASTING  models. They include and are not limited
to investment analysis, to predict stock
Neural networks provide forecasts of currencies beyond the simple linear
market prices and actions. These can then market, as a mechanism for comparing
form the basis for trading the market in an signatures with those stored, for process
automated system. A pre-trained network control, engineering applications, and in
is the natural choice for real-time trading. marketing for advertising and promotions.
The implementation of forecasts requires a It is clear that neural networks have a
strategy for dealing with adverse market rather expansive application base and will
moves; the question of when to enter or provide useful analytical results to users
exit the market is also largely determined (Stasoft para 44).
by forecasts, hence neural networks Nevertheless, neural networks are
always have a role in finance. highly technical and require a great deal of
There are a number of considerations in expertise to implement, although
using neural networks for financial computers exist to run programs and
forecasting, however the neural network generate results, these models are highly
has an advanced pattern recognition complex and require a great deal of
technique, which makes it particularly technical expertise, as such there use is
useful in time series forecasting. limited within the ‘real world’, although
Neural networks have also been used to they have shown to be great theoretical
analyze rather profound hypotheses. The models, outside of the natural science field
efficient market hypothesis states that if a (Smith para 34).
market is considered efficient, than prices Some theorists have even argued that
fully reflect all the relevant information, the use of neural networks undermines
and buying and selling stock for capital scientific knowledge, since it’s applicable
gain is purely a matter of luck, rather than in other fields and highly technical nature
sound investment skills. Neural networks may cause users to extract results without
have been used to chart the relationship necessarily understanding the
between financial forecasting, especially methodology used by the model.
for the stock market and to test the Other areas of expansion within the
relevance of the efficient market neural network movement includes the
theory(Smith para 19). production of a learning chip, sensory and
sensing applications, new opportunities for
THE  FUTURE  OF  NEURAL  forecasting stock and financial markets, as
NETWORKS: A CRITICAL REVIEW  well as other financial and economic time
series, the use in incomplete data to find
It is argued that neural networks cannot relationships that exists, and extensions in
do anything that cannot be done using neuroscience and biological neural
traditional techniques, but have simplified networks (Stasoft para 55).
the process of completing otherwise In conclusion recent developments in
complex and arduous tasks that neural networks highlight the new
researchers and analyst once had to do. opportunities that it provides as an
Therefore, there exist many areas that can analytical tool. The mathematical content
use neural networks to both increase of the methodology seems rather erudite
efficiency and accuracy or as a way to

Wallace M.P. - Neural Networks and Their Application to Finance


76 Business Intelligence Journal July

and restrictive; however, this does not 2000, 81-98. Retrieved on March 5, 2007
mean the neural networking is not a very from
analytical tool that can produce ‘real’ http://www.edpsciences.org/articles/ejess/
results, irrespective of the complexity of pdf/2000/01/verleyse.pdf?access=ok
the methodology used.
Smith, Leslie. “An Introduction to Neural
WORKS CITED  Networks”. Centre for Cognitive and
Computational Neuroscience. April 2,
“Financial Time Series as Random 2003. Retrieved on March 6, 2007 from
Walks”. Extracted on March 5, 2007 from http://www.cs.stir.ac.uk/~lss/NNIntro/InvS
http://www.cs.sunysb.edu/~skiena/691/lect lides
ures/lecture8.pdf Stasoft Incorporated. “Neural Networks”.
Stasoft.Com, 1984-2003. Retrieved on
Gordon, Myron. The Investment, March 6, 2007 from
Financing, and Valuation of the http://www.statsoft.com/textbook/stneunet
Corporation. Irwin, 1962 .html#index

Lendasse, A.,Bodt, E., Wertz, V., and Stergiou, Christ’s and Siganos, Dimitrios.
Verlesen, M. “Non-Linear Financial Time “Neural Networks”. Surprise, 4, 11, 1996.
Series Forecasting – Application to the Bel Retrieved on March 6, 2007 from
20 Stock Index”. European Journal of http://www.doc.ic.ac.uk/~nd/surprise_96/j
Economic and Social Systems, 14 (1), ournal/vol4/cs11/report.html

Wallace M.P. - Neural Networks and Their Application to Finance

You might also like