ISRN Applied Mathematics

Volume 2014 (2014), Article ID 791418, 6 pages

http://dx.doi.org/10.1155/2014/791418

## Mathematical Model of Stock Prices via a Fractional Brownian Motion Model with Adaptive Parameters

School of Mathematics, Institute of Science, Suranaree University of Technology, Nakhon Ratchasima 30000, Thailand

Received 13 February 2014; Accepted 30 March 2014; Published 7 April 2014

Academic Editors: F. Sartoretto and C. Zhang

Copyright © 2014 Tidarut Areerak. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

The paper presents a mathematical model of stock prices using a fractional Brownian motion model with adaptive parameters (FBMAP). The accuracy index of the proposed model is compared with the Brownian motion model with adaptive parameters (BMAP). The parameters in both models are adapted at any time. The ADVANC Info Service Public Company Limited (ADVANC) and Land and Houses Public Company Limited (LH) closed prices are concerned in the paper. The Brownian motion model with adaptive parameters (BMAP) and fractional Brownian motion model with adaptive parameters (FBMAP) are applied to identify ADVANC and LH closed prices. The simulation results show that the FBMAP is more suitable for forecasting the ADVANC and LH closed price than the BMAP.

#### 1. Introduction

The ideas of using a Brownian motion process to explain the behavior of the risky asset prices were presented by Black et al. [1–3]. The stock prices presented in the paper are also the type in the risky asset prices. Therefore, the Brownian motion is usually used to model a stock price. However, Brownian motion process has the independent increments property. This means that the present price must not affect the future price. In fact, the present stock price may influence the price at some time in the future. Hence, Brownian motion process is not suitable to explain the stock price. Another process, a fractional Brownian motion process, exhibits a long range dependent property. Therefore, a fractional Brownian motion process can be used to describe the behavior of stock price instead of Brownian motion process.

The rate of return and volatility in general asset pricing model are usually the constant parameters. Actually, the rate of return and volatility in the model are not constant at any time. In the paper, these parameters are updated depending on time by using the new information.

The ADVANC Info Service Public Company Limited (ADVANC) and Land and Houses Public Company Limited (LH) stock prices are considered in the paper. These two stocks are chosen from different stock exchange of Thailand (SET) industry groups. The ADVANC and LH prices are selected from technology group (TECH) and property and construction group (PROPCON), respectively.

The ADVANC and LH stock price models are studied by using fractional Brownian motion process to explain uncertainly behavior instead of Brownian motion process. The Brownian motion model with adaptive parameters (BMAP) and the fractional Brownian motion model with adaptive parameters (FBMAP) are presented to model the ADVANC and LH stock prices.

The paper is organized as follows. Preliminaries on a fractional Brownian motion are given in Section 2. The estimation of the rate of return and volatility is shown in Section 3. In Section 4, the BMAP and the FBMAP are explained. Finally, Section 5 concludes the work in the paper.

#### 2. Preliminaries on a Fractional Brownian Motion Process

In the general accepted model, the randomness of stock price is modelled by Brownian motion process. A stock price process is represented by the stochastic differential equation (SDE) as shown in Note that the parameters and are the rate of return and the volatility, respectively. The process in (1) is a standard Brownian motion process. The stochastic differential equation (1) is driven by the Brownian motion process . In the real world, and in (1) are not constant at any time. Hence these parameters in the paper are the adaptable parameters based on time. In the paper, model (1) is called a Brownian motion model with adaptive parameters (BMAP).

In practice, the dynamics of stock price have a long memory (long range dependence). The BMAP model in (1) is not suitable to describe the dynamics of stock price. Therefore, the fractional Brownian motion process is considered in the paper. The fractional Brownian motion process with Hurst index is a centered Gaussian process. If , then is a standard Brownian motion process. If , then is neither a semimartingale nor a Markov process. For case, the is the long memory process. The is represented in (2) by Mandelbrot and Van Ness [4]. Consider the following: The function is the gamma function. The process is defined by . The process is described by . The parameter , where and is a standard Brownian motion process.

The rate of return and volatility are not constant at any time. Hence, the paper also proposes the new approach of the asset pricing model. In this case, the driving process of model (1) is replaced by a fractional Brownian motion process. The rate of return and volatility are adaptive parameters. In this case, the model can be represented by the stochastic differential equation (SDE) as shown in The parameters and in (3) are the rate of return and the volatility, respectively. The and are adaptive parameters the same as the previous model. The is a fractional Brownian motion process. In the paper, model (3) is called a fractional Brownian motion model with adaptive parameters (FBMAP).

Alòs et al. [5] have proposed to use the process instead of , since has absolutely continuous trajectory. So the process has long range dependence. Hence, the model (3) can be considered as shown in

An approximate approach to stochastic differential equation perturbed by fractional Brownian motion was proposed by Thao [6]. The process is introduced. For every , the process is defined by The process is a semimartingale. Therefore, this process can be written as in where .

The process converges to in when approaches to 0. This convergence is uniform with respect to . Hence, the model (4) can be considered as shown in

#### 3. The Estimation of the Rate of Return and Volatility

In this paper, the ADVANC and LH closed prices are identified by two asset pricing models. In the BMAP, the driving process is Brownian motion. On the other hand, the driving process is fractional Brownian motion in the FBMAP. The parameters and in both models are adaptive parameters at any time. The ADVANC and LH simulated stock prices are compared with these empirical prices. The ADVANC and LH empirical prices can be obtained from http://www.set.or.th/th/index.html. The data of ADVANC and LH empirical prices from July 9, 2010, to July 8, 2013, are used in the paper. These data are divided into two joint sets for two purposes. The first set (July 9, 2010–July 5, 2013) is used to estimate the drift rate and volatility. The second set (July 8, 2011–July 8, 2013) is used for model validations.

The rate of return and volatility contained in the BMAP and the FBMAP are adaptive parameters based on time. Therefore, these parameters are not constant. In this section, the rate of return and volatility of ADVANC and LH stock prices are estimated.

The ADVANC and LH closed prices from July 9, 2010, to July 5, 2013, are used to estimate and by using (8) and (9), respectively [7]. Consider the following: where is the return of stock price which can be computed by is the average of return , and is the number of returns. The parameters and are estimated by the set of data as shown in Figure 1. In this figure, the data from July 9, 2010, to July 8, 2011, are used to estimate the initial and . The data from July 9, 2010, to July 11, 2011, are used to estimate and . The stock market is closed on the weekend. Therefore, the closed prices on July 9, 2011, and July 10, 2011, are not available. The data from July 9, 2010, to July 12, 2011, are used to estimate and , and so on. Using the same procedure, the data from July 9, 2010, to July 5, 2013, are used to estimate and .

From the estimation results, the parameters and of ADVANC and LH closed prices are shown in Figures 2 and 3, respectively.

#### 4. Stock Prices Mathematical Models

##### 4.1. Brownian Motion Model with Adaptive Parameters (BMAP)

The BMAP can be considered by the SDE as shown in (1). The rate of return and the volatility are adaptive parameters and can be estimated using the flowchart in Figure 1. In the paper, the Euler discretization method is applied to solve the SDE. The solution of discretized form of the SDE (1) is denoted by . Therefore, the Euler discretization form of (1) can be written in where is time index , is the number of datasets, is a sampling time, and and are estimated in the previous section. For the paper, is equal to 484 and is set to 1/252. The initial value is equal to stock price at July 8, 2011. The term can be approximated by The random variable is the standard normally distributed random variable with mean = 0 and variance = 1. It is generated by method of Box and Muller [8].

The ADVANC and LH stock prices calculated from the BMAP are simulated by MATLAB programming. These simulated data are compared with the second set data of empirical prices for a model validation. The average relative percentage error (ARPE) as given in (12) is the accuracy index in the paper. Consider the following: where is the number of datasets, is the empirical price (market price), and is the model price (simulated price).

For the simulation results by the BMAP, Figure 4 shows the empirical prices compared with the prices simulated by the BMAP for a given path of Brownian motion process. In the paper, the date period for simulation is between July 8, 2011, and July 8, 2013.

##### 4.2. Fractional Brownian Motion Model with Adaptive Parameters (FBMAP)

The FBMAP can be described by SDE (7). The rate of return and the volatility in this model are variable parameters depending on time. The and can be estimated using the block diagram as shown in Figure 1. The SDE (7) is solved by using the Euler discretization method. Therefore, the Euler discretization form of (7) can be written in In (13), the is the discretized solution of the SDE (7). , , and have the same meaning as the BMAP case. The parameter , where is Hurst index and . The estimation of this parameter is shown in Section 4.2.1. The parameters and are calculated the same as those of the BMAP case. In the paper, , and are set equal to 484, 0.005, and 1/252, respectively. The initial value is equal to stock price at July 8, 2011. The term can be generated by (11). The term in (13) can be calculated by [9] The random variable in (14) is the standard normally distributed random variable with mean = 0 and variance = 1. It is generated by Box and Muller method.

The MATLAB programming is also used to calculate the ADVANC and LH closed prices in FBMAP. For model validation, these simulated data are compared with the empirical prices on July 8, 2011–July 8, 2013. The accuracy index in this case uses the average relative percentage error (ARPE) as calculated by (12).

###### 4.2.1. Parameter Estimation

The parameters for ADVANC and LH stock prices are the unknown values. Therefore, the estimation of these parameters is proposed in this section. The parameter is calculated by . In this equation, is Hurst index and . Hence . Firstly, is varied from to 0.5 with step size equal to 0.1. However, the parameter cannot be equal to or 0.5. Therefore, and 0.49 are used instead of and 0.5, respectively. The 10,000 sample paths of Brownian motion process are considered. In each path, the average relative percentage error (ARPE) is computed using every value . The simulation results for ADVANC and LH stock prices with varied from to 0.49 are addressed in Tables 1 and 2, respectively.

It can be seen that the average and standard deviation of ARPE in case of are the minimum in both stock prices (ADVANC and LH). Therefore, is chosen for ADVANC and LH cases.

###### 4.2.2. Model Validation

For the simulation results using the FBMAP, Figure 5 shows the empirical prices compared with the prices simulated by the FBMAP (7) with the same scenario of Brownian motion of Figure 4. In Figure 5, the date period to simulate the stock prices using FBMAP is between July 8, 2011, and July 8, 2013.

##### 4.3. Comparison of Accuracy Index between BMAP and FBMAP

For a given standard Brownian motion sample path, Figures 4 and 5 show that the average relative percentage error (ARPE) of the FBMAP is smaller than those of the BMAP in case of ADVANC and LH.

In general, the 10,000 scenarios or sample paths of Brownian motion process are considered. In each path, the ARPE is computed from both models. The comparison results between the BMAP and the FBMAP can be seen from Table 3. It can be seen that the average ARPE of the FBMAP is less than the average ARPE of the BMAP. Moreover, the standard deviation of ARPE from the FBMAP is smaller compared with the BMAP. The simulation results show that the FBMAP can provide the small ARPE compared with the BMAP in case of ADVANC and LH.

#### 5. Conclusion

Two asset pricing models are presented in the paper. One is the Brownian motion model with adaptive parameters called BMAP and another one is the fractional Brownian motion model with adaptive parameters called FBMAP. The rate of return and volatility in both models are adaptive at any time. The driven process in the BMAP is Brownian motion, while the driven process in the FBMAP is a fractional Brownian motion. The BMAP and the FBMAP are applied to simulate the ADVANC and LH stock prices. The simulated prices from both models are compared with the empirical prices. The accuracy index ARPE is used in the paper. From the 10,000 scenarios of simulated prices of each model, the average and standard deviation of ARPE from both models show that the FBMAP provides a better appropriateness with the dataset than the BMAP in case of ADVANC and LH. Therefore, the FBMAP is suitable to predict the ADVANC and LH closed prices in the future.

#### Conflict of Interests

The author declares that there is no conflict of interests regarding the publication of this paper.

#### References

- F. Black and M. Scholes, “The pricing of options and corporate liabilities,”
*Journal of Political Economy*, vol. 81, no. 3, pp. 637–654, 1973. View at Google Scholar - F. Black and M. Scholes, “Taxes and the pricing of options,”
*Journal of Finance*, vol. 31, no. 2, pp. 319–332, 1976. View at Google Scholar - R. C. Merton, “Theory of rational option pricing,”
*The Rand Journal of Economics*, vol. 4, pp. 141–183, 1973. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - B. B. Mandelbrot and J. W. van Ness, “Fractional Brownian motions, fractional noises and applications,”
*SIAM Review*, vol. 10, pp. 422–437, 1968. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - E. Alòs, O. Mazet, and D. Nualart, “Stochastic calculus with respect to fractional Brownian motion with Hurst parameter lesser than 1/2,”
*Stochastic Processes and their Applications*, vol. 86, no. 1, pp. 121–139, 2000. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - T. H. Thao, “An approximate approach to fractional analysis for finance,”
*Nonlinear Analysis: Real World Applications*, vol. 7, no. 1, pp. 124–132, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - P. Wilmott,
*Paul Wilmott on Quantitative Finance*, John Wiley & Sons, Chichester, UK, 2006. - R. Seydel,
*Tools for Computational Finance*, Springer, Berlin, Germany, 2002. View at MathSciNet - T. H. Thao and T. T. Nguyen, “Fractal Langevin equation,”
*Vietnam Journal of Mathematics*, vol. 30, no. 1, pp. 89–96, 2002. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet