FULLTEXT01
FULLTEXT01
Master's Thesis
Yuchen Du①
①
[email protected]
Modelling and Forecasting Volatility of Gold Price with Other
Precious Metals Prices by Univeriate GARCH Models
Abstract
This paper aims to model and forecast the volatility of gold price with the help of
other precious metals. The data applied for application part in the article involves
three financial time series which are gold, silver and platinum daily spot prices. The
volatility is modeled by univariate Generalized Autoregressive Conditional
Heteroskedasticity (GARCH) models including GARCH and EGARCH with different
distributions such as normal distribution and student-t distribution. At the same time,
comparisons of estimation and forecasting the volatility between GARCH family
models have been done.
1.Introduction ................................................................................................................. 1
2.Methodology ............................................................................................................... 3
3. Data ............................................................................................................................ 9
4. Estimation ................................................................................................................ 13
5. Forecast .................................................................................................................... 16
6. Conclusion ............................................................................................................... 18
Reference ..................................................................................................................... 20
Appendix ...................................................................................................................... 21
1.Introduction
1.1 Background
During the end of the World War II, in 1944, forty-four countries around the
world signed the well-known Bretton Woods Agreement to establish a new
currency system based on gold. They specified the value of the US Dollar is
connected to gold and other currencies are connected to the US Dollar. This
system indicated where gold standing, not only just as an invest good. This metal
has been the only commodity that served as currency in international financial
business for centuries. Gold is so ideal that a number of currencies were based on
the value of it. For residents, it is an excellent investment good since it could
protect them from assets devaluation. For a country, it is an important reserve
asset; the situation is somewhat the same as the other precious metals. The
best-known precious metals are gold and silver. While both have industrial uses,
they are better known for their usage in art, jewellery as well. Other precious
metals include the platinum groupmetals: palladium, osmium, iridium, and
platinum which is the most widely traded one in this group. Historically, precious
metals have commanded much higher prices than common industrial metals, like
②
copper and iron.
During the past few years, especially after the chaos of the US dollar system
caused by the financial crisis, investors who have been able to master the
reasonable investment of the precious metals markets have gotten remarkable
returns. These metals could play an essential role in a portfolio because of their
ability to act as a store of value and their stability against inflation as well.
Therefore, the modeling and forecasting of the volatility of gold price is
indispensable.
②
''Precious Metal", http://www.wikipedia.org/ . See more in <http://en.wikipedia.org/wiki/Precious_metal.>
1
With the common sense that higher profit comes with higher risk, modeling
volatility in asset returns is concerned by financial investors. Basically, volatility
is widely-used for measuring assets risk; investors want guarantees for
investing in risky assets for their investment decision. The demand of assisting
investors to handle the volatility of commodities prices need to be supplied
by some creative and relative financial instruments.
2
2. Methodology
Let {rt } denote a financial time series, presenting returns in this paper.
rt E (rt | t 1 ) t
Var (rt | t 1 ) E ( t2 | t 1 ) h t ( )
3
to be normal distribution with zero mean and variance equals to ht .
t | t 1 ~ N (0,h t )
q
h t i t2i
i 1
t | t 1 ~ N (0,h t )
q p
ht i t2i j ht j
i 1 j 1
p
We can call h
j 1
j t j part as GARCH terms. For p=0 which means there is no
t | t -1 ~ N (0, h t )
ht t21 ht 1
with 0, 0, 0 .
4
makes it especially efficient in an asset pricing context. The basic frame for the mean
and variance is similar to standard GARCH model, the conditional variance function
part is very unique.
rt E (rt | t 1 ) t
t | t 1 ~ N (0, ht )
p q
ln ht 0 j g j ( Zt j ) j ln ht j
j 1 j 1
normal variable. The part relative to Z t allows the sign and the magnitude effects
affect the volatility separately which is the very property making EGARCH may be
more suitable for price return data.
By a more specific way, an EGARCH (p,q) process can also be presented like this,
t | t 1 ~ N (0, ht )
p q
ln( ht ) j ln( ht j ) i | t i | / ht i E (| t i | / ht i ) ( t i / ht i )
j 1 i 1
In this paper, the aim is to model and forecast volatility of gold price with the help of
other precious metals, it is proper to treat the silver and platinum error terms as
regressors. The unique process is similar to generalized linear model in this paper.
Since we consider these three kind of precious metals, price data are correlated with
5
each other, we could add the terms we choose of the other two metals to the original
GARCH (1,1) Model based on its popularity and applicability. The new univariate
GARCH Model with extra error terms behaves like this,
rt E (rt | t 1 ) t
t | t 1 ~ N (0, ht )
Here, t 1 stands for a new information set which contains not only gold
information during time period t-1, but also both silver and platinum information
during that time.
The first equation for the returns and distribution of the residuals are proper to all
three series. 1 and 2 here stand for the special parameters of extra terms.
For a certain pattern of the univariate standard GARCH model case above, the
first-order model is the most popular EGARCH model in practice as well. Then it
would closely resemble the the situation of standard GARCH(1,1) model, the error
terms of silver and platinum return prices are added up to original EGARCH(1,1)
model respectively.
6
The probability density function of normal distribution is presented as,
( t )2
1
f ( t ) e 2 ht
2ht
where stands for the mean and ht stands for the variance.
rt E (rt | t 1 ) t
t | t 1 ~ f ( t | t 1 )
7
1
( ) 1 1
f ( t | t 1 ) 2
( 2)ht 2
( ) (1 ( t
))( 1) / 2
2 ht ( 2)
The Root Mean Square Error is also known as Root Mean Square Deviation (RMSD).
It is used to measure the differences between the forecast values calculated from a
model or an estimator and the values actually observed generally.
E t
2
RMSE t 1
N
Finally, the square root of the average is taken. The criterion of RMSE requires that a
smaller value which reflects a better forecasting the model completed. But for more
accuracy, we cannot definitely judge which model is better with only comparing the
quantities of some criterions. Since there hardly is such significance concluded from
③
More details about t distribution could be seen in Statistical Inference text book 2nd Edition (Casella, Berger,
2002)
8
only criterion comparison.
3. Data
The price of gold is determined through trading in the gold and its derivatives markets,
however a procedure known as the Gold Fixing in London which sprang from
September 1919, provides a daily benchmark price to the industry. The afternoon
fixing was introduced in 1968 to provide a price when US markets are open ④ which is
caused by time differences. The other precious metals use the similar pricing method.
⑤
The data in this paper is downloaded from Kitco via wikiposit.org. All of them are
the afternoon fixing prices.
3.1 Returns
Let { yt } be the financial time series of the daily price of some financial assets. The
rt log( yt ) log( yt 1 )
Sometimes the returns are then multiplied by 100 so that they can be treated as
percentage changes in the price making some sense in economics. Furthermore, this
procedure may decrease numerical errors as the raw returns could be very small
numbers and lead to large rounding errors in some calculations, following Cryer and
Chan (2008).
④
"Gold fixing".http://www.wikipedia.org/. More details here <http://en.wikipedia.org/wiki/Gold_fixing>
⑤
The data is downloaded from <http://wikiposit.org/uid?KITCO>
9
3.2 Plots
Figure 1 shows the plot of the original database used in this paper. It is a plot of daily
spot prices including 3 kinds of precious metals, gold, silver and platinum during the
time period Oct. 7th. 1996 to Mar. 11th. 2011. We can see that gold price appears to be
increasing in general trend, meanwhile silver and platinum prices have more severe up
and down than gold price.
Figure 2 shows the plot of the results of log-difference. The analysis, consist of
estimation and forecast, we will do needs return data instead of the raw price data
through the way that using the first-order log-difference result multiplied by one
hundred of each daily afternoon fixing prices.
10
3.3 Data Analysis
Table 1 presents some summary statistics of the return data. All these three time series
have the same amount of observations. The mean of each is very close to zero, as well
as the median and a not very large standard deviation. Among them, only gold return
data does have a no-negative skewness and each of them has excess kurtosis. The
ARCH-LM test here is a methodology to test for the lag length of ARCH errors using
the Lagrange multiplier test which was proposed by Engle (1982)⑥. This test should
be done before we apply GARCH models to the data. The p-values for this test are all
very small that the null hypothesis, say the dataset has no ARCH effects should be
rejected. Based on this test, it is secured and proper that we can fit this data to a
GARCH model.
ARCH-LM Test p-value < 2.2e-16 p-value < 2.2e-16 p-value < 2.2e-16
Note: The data is collected since 1996-10-07 to 2011-03-11 and each series has
3624 observations in total.
⑥
More details about ARCH-LM Test could be seen in Appendix.
11
The Figure 3 demonstrates the autocorrelation function results. As a financial
time series, having the autocorrelation means it can be predictable because
future values depend on current and past value and this dependence could
last for long term. Teräsvirta (2006) said that observations in return series of
financial assets observed at weekly and higher frequencies are not
independent. While observations in these series are uncorrelated or nearly
uncorrelated, the series contain higher-order dependence. This can explain
the autocorrelation function results below precisely.
We can see that gold return data is not correlated; silver and platinum
either. However, return square data shows that both gold and silver data
12
are highly correlated and also have a long-term memory. The return
square data shows autocorrelation since it is formed as square which is
exactly corresponded to the form of conditional variance. The absolute
values of return data turns out higher correlation than both two before.
4. Estimation
We apply univariate GARCH models and EGARCH models to the data for
estimation distinguishingly with different error term distributions.
Table 2 below presents the results of estimation of univariate GARCH model, only
from log-likelihood and AIC values of the models we can see that when we both
add silver and platinum error terms, the model has a smaller AIC value and larger
log-likelihood. From the point of view, different distributions make a difference on
estimation indeed. With a student-t distribution, the models all provide smaller AIC
and larger log-likelihood. Besides, the parameter of silver term often turns out to be
very small, sometimes not significant which suggests that we could model the
volatility without silver term.
13
Table 2: Estimation of Standard GARCH Models with different distributions
+Plat +Plat
standard +Silver +Plat standard +Silver +Plat
+Silver +Silver
0.026 0.022 0.026 0.021 0.012 0.012 0.012 0.013
Notes: 1 in the model equals to zero suggests that there is no platinum error term in it, 2 stands for
the parameter of silver error term. Both of them equal to zero means standard GARCH process.
14
4.2 EGARCH Models
+plat +plati
standard +Silver +Plat standard +Silver +Plat
+silver +silver
Notes: here is the parameter in the g ( Zt j ) part, the same as the in the
Following the same pattern of section 4.1, we can get the estimation results shown in
15
Table 3. Based on AIC and log-likelihood, we can get a similar result as univariate
standard GARCH models. When adding both platinum and silver return's error terms
since it has a smaller AIC value and larger log-likelihood. Only under the
assumption with t distribution, adding silver error term makes the model change a
little bit; it has a smaller AIC value.
4.3 Comparison
Compared to the univariate GARCH models, the average of all the six univariate
EGARCH models gives a better performance in both log-likelihood and AIC value.
With different distribution assumption, although the sample size is large enough that
we could approximate student-t distribution to standard normal distribution, the
estimation still is influenced by distribution difference.
Among all these models, the model based on EGARCH(1,1) model with silver terms
under the student-t distribution has both the smallest AIC and largest log-likelihood
value.
5. Forecast
Besides the estimation comparison of models, we can tell the goodness of fitting by
using that model forecasting and then compared to some existing data, such as an
100-out-of-sample forecasting. Through that way, as mentioned before, RMSE is a
quite useful tool and has more exactness.
First of all, there are 3624 observations in total in the dataset. Now we reserve the last
100 observations in order to compare to the forecasting value. Then we should regard
the front 3524 values as a “window” which has a certain length and 3524 observations.
Secondly, we estimate the model with this “window”, after that we can do a one-step
16
forecast of volatility. Take the univariate standard GARCH as an example of one-step
forecast,
Next, we repeat the first step except for creating a new window from 3524
observations to 3525 observations. The “window” gets wider and wider. We can keep
moving forward by repeating this two steps one-hundred times and then we can get
100 forecast values. Eventually, we can calculate RMSEs of all the values from all the
models and compare them.
+silver +silver
From Table 4, adding platinum and silver error terms at the same time seems has a
much better result than every model else, meanwhile the group with t distribution
makes better performance than the other. The most important thing is that extra error
terms actually can help with forecasting gold price volatility since most of them turn
out a better result than using standard GARCH models without all the regressors no
matter what distribution we assume.
17
Next, we compare the results of EGARCH models. The results in Table 5 do not have
a spectacular better number among all. But in both normal distributions and t
distribution, adding only silver term shows its efficiency in helping forecasting gold
volatility. Similarly the group with t distributions performs better. Also same as
GARCH models, most models with extra terms have smaller RMSE.
Compared the results from the view of the kinds of model, by average, EGARCH
models provide a better final result in forecasting than GARCH models no matter
with or without regressors, especially excellent with t distribution.
+silver +silver
6. Conclusion
In summary, this paper aims to forecast gold prices under the help of other precious
metals such as silver and platinum. Among all the results we get, for models,
EGARCH models seem to be more efficient in forecasting volatility; for distributions,
unique properties of t distribution makes it more appropriate than normal distribution
in forcasting.
The result actually confirms a hypothesis we did not mention much, whether the
precious metals could help with forecasting volatility of gold price or not. Now we
can know it for sure that adding silver and platinum error terms makes GARCH
18
models better. The extra regressors increase the accuracy of the models in forecasting.
First we assume all the estimation and forecasting are processed under the assumption
that the error term denotes a symmetric distribution such as normal distribution which
is not that enough for real situation.
Second, we consider all the data do not contain any breaks, however, after the
world-wide financial crisis, there may be some structural breaks during that time. This
needs many more steps of analysis before we applied the data to the models.
There have been a lot empirical applications of analyzing financial time series, they
seem to be the same kind of financial data and all applied to GARCH family models,
however the combination of different data and different point of views leads to totally
different results. In this paper, it is too complicated to explain that how and why the
silver and platinum could help with modeling and forecasting this way. We can dig it
deeper and deeper and find more details to improve the whole estimation and forecast
system of GARCH family models.
19
Reference
Cryer J.D, Chan, (2008), Times Series Analysis with Applications in R, 2 nd ed.,
Casella, Berger, (2001) Statistical Inference text book 2nd Edition, Duxbury Press
Ding, Z., Engle, R.F., & Granger, C.W.J., (1993). A long memory property of stock
market returns and a new model. Journal of Empirical Finance, 1, pp.83-106.
Gosset W.S., (1908) The Probable Error Of A Mean, Biometrika. 6 (1): 1–25.
20
Appendix
The ARCH - Lagrange multiplier (LM) test is a methodology to test for the lag length
of ARCH errors, in the other word, The ARCH-LM Test is for testing whether the
series has ARCH effects at all (Engle,1982).
p
t2 0 ( i t2 p ) et
i 1
being not significant at the same time. Besides, the test statistics follows 2
21