Brownian Motion & the Stochastic Behavior of Stocks

Abstract

In this paper, we test the effectiveness of predicting the behavior of stocks utilizing stochastic calculus. We begin by exploring the intuition of Brownian motion by explaining its birth through the observations of Robert Brown and later through Bachelier’s work on its applications to the financial market and finally its rigorous and concretized form proposed by Norbert Wiener. The aforementioned motivates a stochastic differential equation to model the future price fluctuations of a stock wherein It? integration is prominent and consequently expanded upon. The final part of this paper focuses on the accuracy of the model by back testing it with Apple stock and deriving a correlation coefficient.

Share and Cite:

Tassopoulos, P. and Protonotarios, Y. (2022) Brownian Motion & the Stochastic Behavior of Stocks. Journal of Mathematical Finance, 12, 138-149. doi: 10.4236/jmf.2022.121009.

1. Introduction

This paper begins with the contribution of the works of Robert Brown, Louis Bachelier and Norbert Wiener which is then followed by the mathematical definition of Brownian Motion and accompanied with the discretized form of a stochastic differential equation. Furthermore, Chapter 5 focuses on the introduction to certain preliminary concepts such as sigma algebras, filtrations and L p spaces. Finally, we construct the Itô integral and consequently apply it to the limiting form of the stochastic differential equation. Finally, Chapter 7 tests the equation against Apple Stock.

2. Literature Review

2.1. Robert Brown

In 1827, a botanist by the name of Robert Brown was examining the motion of grains of pollen suspended under water from a species of plants. Curiously, Brown observed that the motion of particles ejected from these pollen grains was “jittery”; this was the first ever recorded case of such motion and was thus subsequently named “Brownian”. The idea behind this type of motion being that the trajectory follows a completely random and “unpredictable” path. Ever since, the concept of an unpredictable and random trajectory has been utilized in numerous fields including financial mathematics in the modeling of stock behavior [1].

2.2. Louis Bachelier

Several decades later, in 1900, Louis Bachelier built the foundation of mathematical finance by integrating Brownian motion with the fluctuation in the price of a stock. He postulated that two ideas should be considered when exploring the future value of an asset. First, how a collection of anterior (past) events influences the asset and second, how the probability of unknown future events could affect it [2]. For example, the C.E.O of Apple just got replaced yesterday; that is an anterior event that could influence the future price of an Apple stock. On the other hand, if a power outage occurs tomorrow in one of Apple’s factories and halts production, that is an unknown future event that might affect the price of the stock and falls into the second category. It is said that the fluctuation in the price of a stock attributed to the latter follows Brownian motion as it is seemingly unpredictable and random. Bachelier only focused on the second idea since the anterior events were not meaningful because Bachelier defined the mathematical expectation for an asset to rise or fall to be zero since the market constitutes of a pool of people that trade with opposite beliefs on the future value of an asset [2]. For example, suppose a person is buying a call option for an asset, they hence believe that its price will rise. The person on the other side of the option believes it will fall otherwise they would not be selling the option. Hence, since they are both aware of past events that can influence the asset and have contradictory beliefs on how it will perform, meaning the mathematical expectation of the change in value of the underlying asset is neither positive nor negative. The market is therefore said to be fair [2].

2.3. Norbert Wiener

The above considerations by Bachelier were expanded upon within the framework of physics by American mathematician Norbert Wiener in his seminal work on “differential spaces” [3]. This was justified by arguments pertaining to the motion of a particle suspended in a fluid, where the movement of said particle depended on impulses by fluid particulates—akin to Brown’s scenario and the initial velocity of the particle, although the influence of the latter was deemed negligible by Einstein. For simplicity, one can assume that the particle is constrained in one dimension and so are the impulses. Due to the nature of the situation, Wiener, following Einstein assumed that the displacement of the particle between any two-time instants had no bias in any direction and large movements relative to the time scale were unlikely. This prompted the use of the normal distribution as a way of describing the above behavior. The use of the normal distribution and the “independence” of the displacement of the particle in disjoint time intervals are crucial in the rigorous definition of Brownian motion given below.

3. Brownian Motion

In probability theory, one usually considers three objects when setting up a probability space; namely, the sample space Ω, that is the collection of outcomes of a random process, a sigma algebra F , a set containing all measurable events and a probability measure that measures the probability of said events that obeys certain axioms as laid out by Kolmogorov [4]. The above are combined to form the Probability Space ( Ω , F , ) .

A stochastic process defined on a probability space ( Ω , F , ) is a measurable function X : [ 0 , ) × Ω . More specifically, a stochastic process B ( t , ω ) is called a Brownian motion if it satisfies the following conditions [5]:

1) ( ω ; B ( 0 , t ) = 0 ) = 1

2) For any 0 s < t , the random variable B ( t ) B ( s ) is normally distributed with mean 0 and variance t s , i.e.,

( a B ( t ) B ( s ) b ) = 1 2 π ( t s ) a b e x 2 2 ( t s ) d x

3) B ( t , ω ) has independent increments, i.e. for any 0 t 1 t 2 t n , the random variables

B ( t 1 ) , B ( t 2 ) B ( t 1 ) , , B ( t n ) B ( t n 1 )

are independent and identically distributed, as per II.

4) Almost all sample paths of B ( t , ω ) are continuous functions, i.e.:

( { ω Ω | B ( . , ω ) is continuous } ) = 1

Note that the dependence on ω was dropped in property II and III for simplicity reasons.

4. Applications to the Stock Market

We now consider a stock that is tradable on a stock market, such as an S&P 500 stock like Apple and model it by a stochastic process Y t ( ω ) : [ 0 , ) × Ω on the probability space ( Ω , F , ) . One is prompted to ask

What factors drive the process Y t ?

Well, an attempt at answering the above is to view the stock price Y t as a sum of a deterministic component and a stochastic component containing “noise” meant to represent an underlying uncertainty. Thus, for a small increment in time from t to t + d t , the change in log Y t i.e., d log Y t is given by

d log Y t = γ ( t ) d t + σ ( t , Y t ) noise

where γ ( t ) is the growth rate of a stock which is deterministic and σ ( t , Y t ) . “noise” is the volatility of the stock and is the stochastic component [6]. The noise part can be modeled by a Brownian Motion B t , following Bachelier and Wiener. Thus, the above equation can be recast in the following form [7]

d log Y t = γ ( t ) d t + σ ( t , Y t ) d B ( t ) (1)

where d B t = B t + d t B t . Equation 1 is an example of a stochastic differential equation [6]. In order to make precise what we mean by this, we consider a discretisation of the problem and consider the interval [ 0 , t ] where t 0 . We further impose a partition t 0 = 0 < t 1 < t 2 < < t k 1 < t = t n of the interval and equation 1 to mean:

log Y t k log Y t k 1 = γ ( t k 1 ) ( t k t k 1 ) + σ ( t k 1 , Y t k 1 ) ( B t k B t k 1 )

for k ranging from 0 to n 1 . A summation of the index k yields the process

I n [ Y t ] ( . ) = log Y t n t log Y t 0 = k = 0 n 1 γ ( t k 1 ) ( t k t k 1 ) + k = 0 n 1 σ ( t k 1 , Y t k 1 ) ( B t k B t k 1 ) [6].

Now, in a certain sense, we have “integrated the process” and have obtained an expression for the process at some time t, given an initial time t 0 . Indeed, two summations that appear are reminiscent of discrete approximations to Riemann-Stieltjes integrals. One is tempted to take a limit of such partitions π n with mesh | π n | max ( t i t i 1 ) 0 and obtain the corresponding equation

log Y t n t log Y t 0 = 0 t γ ( t ) d t + 0 t σ ( t , Y t ) d B t

The aim of the next chapter is to show that for suitably well behaved γ ( t ) ( ω ) and f ( t , ω ) σ ( t , Y t ( ω ) ) , such a limit exists in L 2 ( Ω ) , the space of all square integrable random variables on Ω. Making this intuition precise leads to the Itô Integral, which will be discussed below.

5. Preliminaries

5.1. σ-Algebras

Consider the space X. A σ-algebra A on X [8] is a set of subsets of X satisfying the following conditions:

1) X , A ;

2) if A A then A ¯ A ;

3) if A j A for j then j A j A .

A generator G is a set of arbitrary subsets such that these subsets generate a σ-algebra denoted by σ ( G ) [8]. This σ-algebra is also known as the smallest or minimal σ-algebra. It is defined as:

σ ( G ) : = H k isa σ -alg G H k H k

for an arbitrary index k; that is the intersection of all sigma algebras that contain G .

5.2. Filtrations & F —Adapted Processes

Consider the family F : = { F t } t T of σ-(sub)algebras of F defined on a measurable space ( Ω , F ) is called a filtration if for all s , t T such that s t ,

F s F t

where T is an index set in any of the following: , + , , . [8]

An F t -measurable function Z satisfies:

Z 1 ( B ( ) ) F t

which is a shorthand notation for:

Z 1 ( B ) F t , B B ( ℝ )

where B ( ) is the standard Borel σ-algebra. Define a function h : [ 0 , ) × Ω with a filtration F Ω . The function is then called F t -adapted if it is F t -measurable t 0 [8].

5.3. A.M - G.M Inequality & Lebesgue Integral

The A.M - G.M inequality states the following:

a + b 2 a b

for a , b + . Now replace a = a 2 and b = b 2 . The inequality then becomes:

a 2 + b 2 2 | a b |

for a , b . This can be extended to -measurable functions f and g in the context of integration. Using the fact that the Lebesgue integral with respect to the probability measure is monotonic, we can apply it to the inequality yielding:

Ω ( f 2 + g 2 ) d 2 Ω | f g | d E [ f 2 + g 2 ] 2 E [ | f g | ] .

5.4. Lp Spaces

Suppose X : Ω n is a random variable and p [ 1 , ) . The L p norm of X, X L p is defined as [6]:

X L p = ( Ω | X ( ω ) | p d ( ω ) ) 1 / p = ( E ( | X | p ) ) 1 / p .

6. Itô Integration

A process ϕ : [ 0 , ) × Ω is called elementary if:

ϕ ( t , ω ) = j = 1 K 1 Z j ( ω ) 1 l ( t i , t i + 1 ] ( t )

where 0 t 1 < t 2 < < t K < and where Z j ( 1 i K ) is a complex square-integrable F t i -measurable random variable. [8] The Itô integral for this process on the interval [ S , T ] with S , T [ 0 , ) is defined as the following random variable:

S T ϕ ( t , ω ) d B t = j = 1 K 1 Z j ( ω ) [ B t j + 1 B t j ] ( ω ) .

In our case, a square integrable random process is defined as

E [ S T | ϕ ( t ) | 2 d t ] < .

Define L ( S , T ) to be the class of functions [6]:

f : [ 0 , ) × Ω

such that:

1) f ( t , ω ) is B ( + ) × F -measurable;

2) f ( t , ω ) is F t -adapted;

3) E [ S T | f ( t , ω ) | 2 d t ] < .

Construction of the Itô Integral

We will know construct the Itô integral. We will omit the proofs of the steps needed for such a construction for the purpose of brevity. In brief, the construction comprises of approximation lemmas for processes g L ( S , T ) in terms of elementary functions, and then one utilises the isometry property of the Itô integral for elementary processes and the completeness of the metric space L 2 ( Ω ) to define a limit and call it the Itô integral.

STEP I

Let g L ( S , T ) be bounded and continuous for all ω Ω . Then there exists elementary processes ϕ n L ( S , T ) such that [6]

E [ S T ( g ϕ n ) 2 d t ] 0 , as n .

STEP II

Let h L ( S , T ) be bounded. Then there exist bounded functions g n L ( S , T ) such that they are continuous for all ω and n and [6]

E [ S T ( h g n ) 2 d t ] 0 , as n .

STEP III

Let f L ( S , T ) . Then there exists a sequence { h n } L ( S , T ) such that h n is bounded for each n and [6]

E [ S T ( f h n ) 2 d t ] 0 , as n .

Now, using the above steps we show that for f , ϕ n L ( S , T ) :

E [ S T | f ϕ n | 2 d t ] 0 , as n .

First, maintain the definition for f , ϕ n , g and h as they were in steps I, II and III. We have by section 4.3:

E [ S T | f ϕ n | 2 d t ] = E [ S T | ( f h k ) + ( h k g m ) + ( g m ϕ n ) | 2 d t ] 2 E [ S T | f h k | 2 d t ] + 4 E [ S T | h k g m | 2 d t ] + 4 E [ S T | g m ϕ n | 2 d t ]

where for now h k and g m are arbitrary functions. Let ϵ > 0 be arbitrary. By Step III, fix a k large enough such that:

E [ S T | f h k | 2 d t ] < ϵ 6 .

By Step II, fix an m large enough such that:

E [ S T | h k g m | 2 d t ] < ϵ 12 .

By Step I, fix an N large enough such that for all n N :

E [ S T | g m ϕ n | 2 d t ] < ϵ 12 .

Hence, for all n N , combining the above parts yields that

E [ S T | f ϕ n | 2 d t ] < ϵ .

We now will state without proof a key property of the Itô integral for elementary processes ϕ L ( S , T ) , known as Itô Isometry and states the following and can be found in [6]

E [ ( S T ϕ ( t ) d B t ) 2 ] = E [ S T ϕ ( t ) 2 d t ] .

Now, armed with the above results, we are going to show that the sequence

{ S T ϕ n ( t , ω ) d B t } n

is Cauchy in L 2 ( Ω ) , where the ϕ n ( t , ω ) are elementary approximants of f ( t , ω ) in the sense that E [ S T ( f ϕ n ) 2 d t ] 0 as n . Indeed,

S T ( ϕ n ( t , ω ) ϕ m ( t , ω ) ) d B t L 2 ( Ω ) 2 = E [ ( S T ( ϕ n ( t , ω ) ϕ m ( t , ω ) ) d B t ) 2 ] = E [ S T ( ϕ n ( t , ω ) ϕ m ( t , ω ) ) 2 d t ] 2 E [ S T ( f ( t , ω ) ϕ n ( t , ω ) ) 2 d t ] + 2 E [ S T ( f ( t , ω ) ϕ m ( t , ω ) ) 2 d t ] 0

as n , m by the A.M-G.M. inequality, the approximation lemma and the isometry property of the Itô integral. The completeness of L 2 ( Ω ) implies that there is a random variable I [ f ] S T L 2 ( Ω ) such that

E [ ( I [ f ] S T S T ϕ n ( t , ω ) d B t ) 2 ] 0

as n . We can now define the Itô integral of f ( t , ω ) as

S T f ( t , ω ) d B t : = I [ f ] S T = L 2 ( Ω ) lim n S T ϕ n ( t , ω ) d B t .

It is also important to mention that the above limit does not depend on the choice of approximants. So suppose the approximants ϕ n ( t , ω ) and ψ n ( t , ω ) converge in the L 2 ( Ω ) sense to I 1 [ f ] S T and I 2 [ f ] S T respectively, then we have

I 1 [ f ] S T I 2 [ f ] S T L 2 ( Ω ) 2 ( I 1 [ f ] S T S T ϕ n ( t , ω ) d B t ) ( I 2 [ f ] S T S T ϕ n ( t , ω ) d B t ) L 2 ( Ω ) 2 I 1 [ f ] S T S T ϕ n ( t , ω ) d B t L 2 ( Ω ) 2 + I 2 [ f ] S T S T ϕ n ( t , ω ) d B t L 2 ( Ω ) 2 I 1 [ f ] S T S T ϕ n ( t , ω ) d B t L 2 ( Ω ) 2 + I 2 [ f ] S T S T ψ n ( t , ω ) d B t L 2 ( Ω ) 2 + S T ϕ n ( t , ω ) d B t S T ψ n ( t , ω ) d B t L 2 ( Ω ) 2 0

as n . This is because

S T ϕ n ( t , ω ) d B t S T ψ n ( t , ω ) d B t L 2 ( Ω ) 2 = E [ S T ( ϕ n ψ n ) 2 ( t , ω ) d t ] 2 E [ S T ( ϕ n f ) 2 ( t , ω ) d t ] + 2 E [ S T ( ψ n f ) 2 ( t , ω ) d t ] 0

by the fact that ϕ n and ψ n are approximants to f and the definition of the Itô integral. This shows that I 1 [ f ] S T I 2 [ f ] S T L 2 ( Ω ) 2 = 0 which means that ( { ω Ω | I 1 [ f ] S T ( ω ) = I 2 [ f ] S T ( ω ) } ) = 1 , that is that the limits are “almost surely” equal, hence they are identified in L 2 ( Ω ) .

7. Numerical Results

Now, for some numerical results to buttress the theory, we consider the case where the stock price process Y t from some initial time t = 0 to some final time t = T follows the law

log Y t log Y 0 = 0 t Γ d t + 0 t Σ d B t (2)

for t [ 0 , T ] , where γ ( t ) = Γ and σ ( Y t , t ) = Σ are constants. The above formula is well defined as constant functions are members of the space L ( 0 , T ) for which the Itô integral is defined. The above can be solved analytically, but a numerical treatment will be explored within the context of Apple’s stock price.

In the following example, the model will be tested against historical data from January 1 2020 to December 31 2020. Γ and Σ will be estimated using historical daily log-returns from 11 October 2007. By daily log-returns at a given date, we mean the natural logarithm of the ratio of the price at said day by the price at the previous date. First, we partition the period from 1 January 2020 to 31 December 2020 into

T = { T i } i i th trading day in the year

starting from i = 0 and we call the collection of log-returns

l o g = { log R t i } t i T T 0

where

R = X i X i 1

and X i is the price of Apple’s stock at some t i T { T 0 } . We use the above to compute Γ and Σ:

Γ = l o g ¯ Var ( l o g ) 2 2

Σ = Var ( l o g )

where l o g ¯ is the (sample) mean and Var ( l o g ) the (sample) variance of l o g respectively. We are now able to consider discrete approximation to equation 1. As per section 4, we consider the discrete stock price process Y t | T : T × Ω given by:

Y t n | T ( ω ) = H t 0 × exp ( k = 0 n 1 γ ( t k 1 ) ( ω ) ( t k t k 1 ) ) × exp ( k = 0 n 1 σ ( t k 1 , Y t k 1 ( ω ) ) ( B t k ( ω ) B t k 1 ( ω ) ) )

where Y t 0 | T = H t 0 , t n T and ω Ω . (Figure 1)

It is clear from Figure 2, the simulated paths capture most of the historical time series of Apple’s stock price which is another indicator that the model is qualitatively speaking, a good approximation. However, only ten projections were performed, justifiably casting doubt on the statistical significance of the above result.

To try and quantify the above intuition, we will try and compute numerically the expected value, a central tendency indicator, E [ Cor ( Y t | T , H t ) ] of the correlation between Y t | T and { H t } t T - H t in short the historical price time series of Apple Stock in the above period.

To achieve this, we consider N independent and identically distributed copies Y t n | T where n [ 1 , N ] , of the discrete process Y t | T ; intuitively, they correspond to N distinct projections. The correlation between the historical data and the nth projection is denoted by

Cor ( Y t n | T , H t )

with cumulative mean

o r N = n = 1 N Cor ( Y t n , H t ) N

taking N , we obtain Figure 3.

Figure 1. Plot Apple Stock Price (black) from January 2020 to December 31 2020 and projections (coloured) for 10 sample paths generated from the model.

Figure 2. Plot of historical Apple stock price from January 2020 to January 2021 (black) and the area enclosed between the maximal and minimal prices in the simulated paths in figure 1, assuming the law in equation 2 with Γ = 0.0008316271 and Σ = 0.01648899.

Figure 3. Plot of mean correlation o r N for values of N in { 1 , 2 , 3 , , 1000 } . The plot seems to converge to a value of approximately 0.36.

According to basic probability theory, o r N converge in the sense of probability to the expected value of the correlation between the discretised path and the historical trial data E [ Cor ( Y t | T , H t ) ] [9]. This means that considering progressively larger values of N (that is taking N ), o r N should approach a constant value (see Figure 3).

Figure 3 suggests that

E [ Cor ( Y t | T , H t ) ] o r N

tends to a constant value of 0.36 for N large. This suggests, in a rather heuristic way, that the model “captures” 36% of the variability in stock prices. Granted, further investigation is warranted over different stocks and more involved models could of course be considered.

8. Conclusions

A unique contribution of this report was the empirical verification of a theoretical model for Apple’s stock price predicated on Brownian Motion as a quantification of the volatility therein. This was achieved by comparing the projected stock price against historical data from January 1 2020 to December 31 2020. The model used data going back to 2007, and used the discretised version of the price process of the Apple Stock. A limiting value of 0.36 was observed for the mean correlation between the theoretical and actual stock prices, upon numerical simulation for a larger and larger sample size. This suggests that the model “captures” 36% of the variability in the stock price. Granted, the above method has limitations such as the fact that volatility is estimated from historical data. Further investigation is warranted to compute such correlation coefficients over different stocks and one could construct more involved models, could of course be considered (see [10] ).

Since the model considers a deterministic volatility factor, it would be an interesting extension to derive and test the accuracy of a similar model with volatility being purely stochastic. Brownian Motion has seen extensive use in the world of financial mathematics, especially in the construction of pricing models for more involved financial instruments including options and other derivatives (see [11] and [12] ).

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Brown, R., et al. (1828) XXVII. A Brief Account of Microscopical Observations Made in the Months of June, July and August 1827, on the Particles Contained in the Pollen of Plants; and on the General Existence of Active Molecules in Organic and Inorganic Bodies. The Philosophical Magazine, 4, 161-173.
https://doi.org/10.1080/14786442808674769
[2] Bachelier, L. (1900) Théorie de la Spéculation. Annales Scientifiques de l'Ecole Normale Supérieure, 17, 21-86. https://doi.org/10.24033/asens.476
[3] Wiener, N. (1923) Differential-Space. Journal of Mathematics and Physics, 2, 131-174.
https://doi.org/10.1002/sapm192321131
[4] Kolmogorov, A.K. and Bharucha-Reid, A.T. (2018) Foundations of the Theory of Probability. 2nd Edition, Courier Dover Publications, New York.
[5] Huo, H. (2006) G Introduction to Stochastic Integration. Springer-Verlag, Berlin.
[6] Øksendal, B. (2003) Stochastic Differential Equations. Springer, New York.
https://doi.org/10.1007/978-3-642-14394-6_5
[7] Fernholz, E.R. (2002) Stochastic Portfolio Theory. Springer, Princeton.
https://doi.org/10.1007/978-1-4757-3699-1_1
[8] Bremaud, P. (2020) Probability Theory and Stochastic Processes. Springer Nature, Berlin.
[9] Blitzstein, J.K. and Hwang, J. (2019) Introduction to Probability. Chapman and Hall/ CRC, Boca Raton. https://doi.org/10.1201/9780429428357
[10] Heston, S.L. (1993) A Closed-Form Solution for Options with Stochastic Volatility with Applications to Bond and Currency Options. The Review of Financial Studies, 6, 327-343. https://doi.org/10.1093/rfs/6.2.327
[11] Black, F. and Scholes, M. (1973) The Pricing of Options and Corporate Liabilities. Journal of Political Economy, 81, 637-654. https://doi.org/10.1086/260062
[12] Moalosi-Court, K.I. (2019) Pricing European Option When the Stock Price Process Is Being Driven by Geometric Brownian Motion. Open Access Library Journal, 6, e5568. https://doi.org/10.4236/oalib.1105568

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.