UNDERGROUND MINING ENGINEERING - PODZEMNI RADOVI 24 (2014) 61-71 UNIVERSITY OF BELGRADE - FACULTY OF MINING AND GEOLOGY
UDK 62 YU ISSN 0354-2904
Original scientific paper
TESTING THE CORRELATION BETWEEN MEAN REVERSION PROCESS AND GREY SYSTEM THEORY FOR METAL PRICE FORECASTING TEST KORELACIJE IZMEĐU PROCESA POVRATKA NA SREDNJU VREDNOST I TEORIJE SIVOG SISTEMA U SVRHU PROGNOZE CENE METALA Gligorić Zoran1, Milojević Jelena1, Beljić Čedomir1 Received: May 14, 2014
Accepted: June 2, 2014
Abstract: There are typically many of variables, which are directly or indirectly associated with the value of underground mine project. Having the ability to plan for uncertainties of input variables is increasingly recognized as critical to longterm mining project success. Large capital intensive projects, such as those in the mineral resource industry, are often associated with diverse sources of both internal and external uncertainties. One of the most external influencing uncertainties is related to the future states of metal price. There are many methods which are applied to forecast the future metal prices, but Mean Reversion Process is one of the most applying methods. This paper analyzes the possibility of using of Grey System Theory to metal price forecasting by examining the correlation between results obtained by these two methods. Intra-class Correlation Coefficient is used as a measure of reliability. Key words: metal price, uncertainty, Mean Reversion Process, Grey System Theory, Intra-class Correlation Coefficient Apstrakt: Postoji veliki broj promenljivih, koje su direktno ili indirektno povezane sa vrednošću projekta podzemne eksploatacije. Sposobnost planiranja neodređenosti ulaznih promenljivih sve više se prepoznaje kao kritična za dugoročni uspeh projekta. Kapitalni projekti, kao što su rudarski, često su skopčani sa različitim izvorima i unutrašnjih i spoljašnjih neodređenosti. Jedna od najuticajnijih spoljašnjih neodređenosti povezuje se sa budućim cenama metala. Postoji veliki broj metoda koje se koriste sa procenu budućih cena metala, ali Proces povratka na srednju vrednost je metoda koja se najviše primenjuje. U ovom radu se analizira mogućnost primene Teorije sivog sistema za prognozu cene metala, istražujući korelaciju između rezultata koji su dobijeni primenom ove dve metode. Intra-klasni koeficijent korelacije koristi se kao mera pouzdanosti. Ključne reči: cena metala, Proces povratka na srednju vrednost, Teorija sivog sistema, Intra-klasni koeficijent korelacije 1
University of Belgrade - Faculty of Mining and Geology, Đušina 7, 11000 Belgrade, Serbia, e-mails:
[email protected];
[email protected];
[email protected]
62
Gligorić Z.; Milojević J.; Beljić Č.
1. INTRODUCTION Uncertainty in a mining project is commonly evaluated with respect to endogenous (internal) and exogenous (external) conditions. Internal conditions are those governed by the deposit and mining method itself, such as grade, ground conditions, workforce, management, schedule, equipment and infrastructure. External conditions are determined by outside considerations, such as market prices, environmental conditions, political risk, government policies, stakeholder issues, as well as community and industrial relations (Kazakidis and Scoble, 2003). The combined effect of market volatility and uncertainty about future commodity prices is posing higher risk to mining businesses across the globe. Estimating mineral project revenue is, indeed, a difficult and risky activity. Annual mine revenue is calculated by multiplying the number of units produced and sold during the year by the sales price per unit. The market risks related to the commodity price are modelled with a special stochastic process, a mean reversion process. The mean reversion process has economic logic, for example, although the commodity prices have sensible short-term oscillations, they tend to revert back to a "normal" long-term equilibrium level. Metal prices can be treated as a time series. A time series is a collection of data points which are generally sampled equally in time intervals. Time series prediction refers to the process by which the future values of a system is forecasted based on the information obtained from the past and current data points. In this paper we apply Grey system theory to forecast future values of metal price and obtained results we compare to values obtained by Mean reversion process. Intra-class Correlation Coefficient is used as a measure of reliability.
2. METHODOLOGY OF TESTING 2.1. Mean reversion process (MRP) Estimating future metal prices is an exercise for which a high error of estimation invariably exists. The characteristically long preproduction periods of mining projects mean that their success will be determined by metal prices five to ten years in the future. The market risks related to commodity price are modelled with a special stochastic process, a mean reversion process. The mean reversion process has economic logic, for example, although the commodity prices have sensible short-term oscillations, they tend to revert back to a "normal" long-term equilibrium level. The mean reversion evidence is reported in many studies. The past values of the changes in this risk factor help predict the future. We will use a model where the metal spot price is assumed to follow the stochastic process (Schwartz, 1997): dP k ln P ln P Pdt PdW (1)
Let x ln P , applying Ito's Lemma allows the characterization of the log price by an Ornstein-Uhlenbeck stochastic mean reverting process: dx k x x dt dW (2)
Testing the correlation between mean reversion process ...
63
with
x ln P
2
(3) 2k where P is the long-run equilibrium metal price, k measures the speed of mean reversion to the long run mean log price P , dW is an increment to a standard Brownian motion and refers to the price volatility rate. The metal price adjustment mechanism is accounted for by market forces. Suppose we observe that metal price jumps from P1 to P2 due to an unexpected event. Most market practitioners would agree that is highly probable that price will eventually return to its average level once the cause of the jump goes away. For similar reasons if the price falls from P1 to P2 due to overproduction we would expect the price to eventually rise as producers decrease supply. These expectations are intuitive in nature and are supported by our observations of metal current price behavior. Notice from equation (1) that the mean reversion component term is governed by the distance between the current price and the long-run equilibrium metal price as well as by the speed of mean reversion. If the current price is below the long-run equilibrium, the mean reversion component will be positive, resulting in an upward influence on the current price. Alternatively, if the current price is above the long-run equilibrium, the mean reversion component will be negative, thus exerting a downward influence on the current price. Over time, this results in a price path that drifts towards the long-run equilibrium, at a rate determined by the speed of mean reversion. The correct discrete-time format for the continuous-time process of mean reversion is the stationary first order autoregressive process (Dixit and Pindyck, 1994), so the sample path simulation equation for xt is performed by using exact discrete-time expression: 1 e 2 k t (4) 2k where Δt is the fixed time interval from time t to t+1 and N (0,1) is the normally distributed random variable. By substituting equation (4) to P e x , we have exact discrete-time equation for Pt, given by: 2 1 e 2 k t k t (5) Pt exp ln Pt 1 e k t ln P 1 e N 0,1 2k 2k In order to estimate the parameters of the mean reversion process, we run the following regression. (6) dxt 1 o 1 xt where: o kxdt and 1 kdt . Hence, if we regress observation dx against x, we can obtain estimates of o and 1. - the standard deviation from the regression. The speed of mean reversion k is the negative of the slope, while the long-run equilibrium P is the intercept estimate of that regression divided by the speed of mean reversion. Let P Pt , t 0,..., T denote a price scenario with spot prices Pt, where Pt xt xt 1 e k t x 1 e k t N 0,1
64
Gligorić Z.; Milojević J.; Beljić Č.
is determined by equation (5). Figure 1 presents a sample paths of the metal price simulated using the above equation.
Figure 1 - Simulated metal prices (Blanco and Soronow, 2001)
2.2. Grey system theory (GST) A time series is a collection of data points which are generally sampled equally in time intervals. Time series prediction refers to the process by which the future values of a system is forecasted based on the information obtained from the past and current data points. Generally, a pre-defined mathematical model is used to make accurate predictions (Kayacan et al. 2010). Grey system theory is an interdisciplinary scientific area that was first introduced by Deng (1982). The main task of grey system theory is to extract realistic governing laws of the system using available data. This process is known as the generation of the grey sequence (Liu and Lin, 1998). In grey systems theory, GM (n,m) denotes a grey model, where n is the order of the difference equation and m is the number of variables. GM (1,1) model is the most widely used, pronounced as "Grey Model First Order One Variable". The GM (1,1) model can only be used in positive data sequences (Deng, 1989). Let consider a time sequence P(o) that denotes historical data of an metal price in USD/t (Figure 2),
P p o
(o)
o
1 , p o 2 ,..., p o n ,
n4
(7)
is a non-negative sequence and n is the sample size of the data. The following procedures address the process of using GM (1,1) to make a one-step ahead prediction (Yang et al. 2012).
where P
65
Testing the correlation between mean reversion process ... 1520
The price (USD/t)
1500 1480 1460 1440 1420 1400 1380 1360 1
2
3
4
5
6
7
Time (years)
Figure 2 - The original data set
Step 1: Perform accumulated generating operation (AGO). The AGO is performed to the original time series or primitive sequence to weaken the tendency of 1 data variation. Let p k be the new time series generated by AGO, as listed in the following equation.
P p 1 , p 2 ,..., p n 1
1
1
1
(8)
where k
P 1 k p o i ,
k 1, 2,..., n
(9)
i 1
Note that the new series p(1) obtained from one-time AGO (1-AGO) has the property of monotonic increasing. Obviously, this monotonic property makes p(1) easier to be predicted than that in the original series p(o). Step 2: Modeling with a differential equation. As the solution of first-order ordinary differential equations (ODE) has the same monotonic increasing property as the series derived from AGO, the model of p(1) can be approximate by a differential equation as follows: 1 dp ap 1 b (10) dt where a and b are model parameters need to be determined, called developing coefficient and grey input, respectively. Step 3: Determine model parameters. The model parameters a and b can be 1 estimated by introducing a new variable z k , called background value, in the following approximation model. p o k az 1 k b, k2 (11)
where z k is defined as: 1
66
Gligorić Z.; Milojević J.; Beljić Č.
z k z 2 , z 3 ,..., z n 1
1
1
1
p k 1 p k 1 , 1
1
k 2,3,..., n
(12)
In conventional grey models, the parameter is set to 0.5 and can be expressed as: z 1 k 0.5 p 1 k 0.5 p 1 k 1 (13) Now, a and b can be estimated using the least-square technique described as follows. At first, we rearrange equation (12) in the form of simultaneous equations: p o 2 az 1 2 b o 1 p 3 az 3 b (14) p o n az 1 n b Then, the matrix form of the equation (14) is described as: p o 2 z 1 2 1 o 1 p 3 z 3 1 a (15) b p o n z 1 n 1 Let z 1 2 1 1 z 3 1 (16) B z 1 n 1 and po 2 o p 3 (17) Y po n By applying the Moore-Penrose pseudo-inverse, parameters a and b can be determined as follows: 1 a T T (18) b B B B Y Step 4: Estimate data points in p(1) space. As the initial condition of equation 1 o (10) is p 1 p 1 , once the model parameters are determined, the solution of the
equation (10) can be obtained as follows:
67
Testing the correlation between mean reversion process ...
b a k 1 b o 1 pˆ k p 1 e a a
(19)
1 1 where pˆ k is defined as the estimated value of p k . By substituting k with n+a
into equation (19), the one-step ahead prediction in p space can be obtained as follows: b b o 1 (20) pˆ n 1 p 1 e an a a 1
Step 5: Transform estimated AGO series back to p 1
o
space. This step is to
o
transform the predicted value in p back to p space by performing the operation of inverse AGO (IAGO) using following equation: o 1 1 pˆ k 1 pˆ k 1 pˆ k (21)
2.3 Intra-class correlation coefficient Intra-class correlation coefficients (ICC) are commonly used in different research fields as a measure of reliability. There are three basic classes of intra-class correlation coefficients, which they term Case 1, Case 2 and Case 3. In each case n randomly chosen targets are rated by k raters, with distinction that for Case 1 each target is rated by different raters, for Case 2 the same raters rate each target and for Case 3 all possible raters rate each target (Doros and Lew, 2010). Intra-class correlation is the strength of a linear relationship between subjects belonging to the same class or the same subgroup or the same family. In the agreement setup, the two measurements obtain on the same subject by two observers or two methods is a subgroup. If they agree, the intra-class correlation will be high. This method of assessing an agreement was advocated by Lee et al. (1989). Statistically, intra-class correlation is that part of the total variance that is accounted for by the difference in the paired measurements obtained by two methods (Indrayan, 2013). That is: r
M2
M2 e2
(22)
whereby: M2 - the variance between methods, and
e2 - the error variance. For grading of the strength of agreement, the cutoffs shown in Table 1 can be used.
68
Gligorić Z.; Milojević J.; Beljić Č.
Table 1 - The strength of agreement Intra-class correlation < 0.25 0.25 - 0.50 0.50 - 0.75 0.75 - 0,90 > 0.90
Strength of agreement Poor Fair Moderate Good Excellent
2.4 Testing the correlation between MRP and GST Once the simulations Pt S , s 1, 2,..., S ; t 1, 2,..., T (5), have been obtained, they can be used to estimate the distribution of the future metal price for every year of project time. By this way, we obtain the forecasted time series of metal price as follows: Pt p1 , p2 ,..., pt , t 1, 2,..., T (23)
where pt E Pt S is expected value of metal price for every year of project time.
According to equation (21) we obtain the forecasted time series of metal price as follows:
Pt p1 , p2 ,..., pt o
o
o
o
,
t 1, 2,..., T
(24)
Consider a data set consisting of T paired data values
p
t , MRP
o , for , pt,GST
t 1, 2,..., T . The intraclass correlation coefficient is as follows:
p p 2
2 M
T
p 2 e
2
p
2
T
T
2
p p 2
T
(25)
2T
p r
2
2T
(26)
p 2T
2
p 2
2
p
2
(27)
T
3. NUMERICAL EXAMPLE
Numerical example shows the examination related to the price of zinc metal. The input parameters required for the testing the correlation between MRP and GST are given in the Table 2. Note, the situation is hypothetical and the numbers used are in to permit calculation.
69
Testing the correlation between mean reversion process ...
Table 2 - Input parameters 2009 1658
Year Metal price [$/t] Parameters of MRP The long-run equilibrium ( P ) The price volatility rate The speed of mean reversion k The fixed time interval t Number of simulation S Time horizon T Spot value P t 0 [$/t]
2010 2160
2011 2195
2012 1950
2013 1910
2046 0.08377 1.14654 1 year 500 8 years
2000
Parameters of GST
a b Time horizon T
0.048106 2337.41 8 years
Mean reversion price scenario is defined as follows: 0.08377 2 1.14654 Pt exp ln Pt 1 e 1.14654 ln P 1 e 2 1.14654 N 0,1 0.08377
1 e
21.14654
2 1.14654 Grey system theory scenario is defined as follows: 2337.41 0.048106t 2337.41 1 pˆ t 1 1658 e 0.048106 0.048106
(28)
(29)
Forecasted values of the zinc metal price for the period 2014-2021 is represented in the Table 3 and Figure 3. Table 3 - Forecasted values of the zinc metal price 2014-2021 Year 2014 2015 2016 2017 2018 2019 2020 2021
MRP 2150 2081 2058 2049 2052 2048 2043 2042
GST 1818 1733 1652 1574 1500 1430 1362 1298
70
Gligorić Z.; Milojević J.; Beljić Č. 2500
2000
1500 GRP 1000
GST
500
0 2014
2015
2016
2017
2018
2019
2020
2021
2022
Figure 3 - Forecasted values of zinc metal price 2014-2021
Calculation of the intra-class correlation coefficient is represented in the Table 4. Table 4 - Calculation of ICC Year 2014 2015 2016 2017 2018 2019 2020 2021 T p
MRP 2150 2081 2058 2049 2052 2048 2043 2042 8
GST 1818 1733 1652 1574 1500 1430 1362 1298 8
16523
12367
p
2065.37
1545.87
34135447
19349741
34126191
19117836
p 2T 1805.62 p 53485188 p T 53244027
49901203
e2
241160
p p
2
2
T
M2 r
M2
M2 e2
2T 16 p 28890 2
2
0.99519
According to the Table 1, correlation between MRP and GST is excellent.
4. CONCLUSION Estimating future metal prices is an exercise for which a high error of estimation invariably exists. The characteristically long preproduction periods of mining projects mean that their success will be determined by metal prices five to ten
Testing the correlation between mean reversion process ...
71
years in the future. Having the ability to plan for uncertainties of metal prices is increasingly recognized as critical to long-term mining project success. For this purpose Grey system theory is used as method to forecast the future values of the zinc metal price. Intra-class coefficient of correlation between MRP and GST, as a measure of reliability, shows that GST method can be used as forecasting method. Values obtained by GST have more restrictive influence on the project evaluation process than values obtained by MRP, that is GST is much more rigid.
REFERENCES 1 2 3 4 5 6
7 8 9 10 11 12
BLANCO, C. and SORONOW, D. (2001), Mean Reverting Processes Energy Price Processes Used For Derivatives Pricing & Risk Management. Commodities Now, 5(2), pp.68-72. DENG, J.L. (1982) Control problems of grey system. Systems and Control Letters, 1(5), pp.211-215. DENG, J.L. (1989) Introduction to grey system theory. The Journal of Grey System, 1, pp.1-24. DIXIT, A.K. and PINDYCK, R.S. (1994) Investment under Uncertainty. Princeton: Princeton University Press. DOROS, G. and LEW, R. (2010) Design Based on Intra-Class Correlation Coefficients. American Journal of Biostatistics, 1 (1), pp.1-8. INDRAYAN, A. (2013), Clinical Agreement in Quantitative Measurments: Limits of Disagreement and the Intraclass Correlation. In: DOI, S.A.R. and WILLIAMS, G.M. (eds.), Methods of Clinical Epidemiology. Berlin Heilderberg: Springer-Verlag, pp.17-27. KAYACAN, E. et al. (2010), Grey system theory-based models in time series prediction. Expert Systems with Applications, 37, pp.1784-1789. KAZAKIDIS, V.N. and SCOBLE, M. (2003), Planning for flexibility in underground mine production system. SME Mining Engineering Journal, 55(8), pp.16-21. LEE, J. et al. (1989) Statistical evaluation of agreement between two methods for measuring a quantitative variable. Comput. Biol. Med., 19, pp.61-70. LIU, S. and LIN, Y. (1998), An introduction to grey systems: Foundations, Methodology and Applications. New York: IIGSS Academic Publisher. SCHWARTZ, E. (1997), The Stochastic Behaviour of Commodity Prices: Implications for Valuation and Hedging. The Journal of Finance, 52(3), pp.923-973. YANG, Y.W. et al. (2012) A Fuzzy-Grey Model for Non-stationary Time series Prediction. Applied Mathematics and Information Sciences, 6(2S), pp.445S-451S.