Article Versions
Export Article
Cite this article
  • Normal Style
  • MLA Style
  • APA Style
  • Chicago Style
Research Article
Open Access Peer-reviewed

Modelling Change Point in GARCH Models

Amon kiregu , Anthony Waititu, Antony Ngunyi
American Journal of Applied Mathematics and Statistics. 2019, 7(4), 138-145. DOI: 10.12691/ajams-7-4-3
Received April 22, 2019; Revised June 03, 2019; Accepted June 24, 2019

Abstract

This research paper use PELT algorithm and GARCH models to conduct volatility change point analysis and to model and forecast change point in volatility of USD/KES data. This study employed simulated data and data from Central Bank of Kenya for the period between January 2005 to December 2018. The estimates and actual values of change points in volatility did not differ after analysis. The USD/KES data exhibited volatility clustering in some time periods. The volatility adjusted GARCH models outperformed plain models. The simulated estimates of GARCH models were almost converging to the parameters from USD/KES data using the same models. The GARCH models that incorporate change points registered better forecasting performance compared to the plain models. The PGARCH, TGARCH and GJRGARCH models had the same forecasting performance measures in absence and presence of change points. The study recognized TGARCH (1,1) as the best model for modelling and forecasting. Banks can use univariate GARCH models in conjunction with PELT algorithm to track loan defaulters. Hospitals can use the same technique to determine the most recurring diseases. Companies can apply the same to determine abnormal profits and losses. The technique can be applied in other sectors like in meteorology.

1. Introduction

1.1. Background of the Study

The Nairobi Securities exchange is one of the leading African exchange situated in Kenya. It is one of the fastest growing economies in Africa. The exchange offers the best platform for local and international traders to do trading and accumulate wealth. Over the years, this sector has received significant growth thereby sparking growth in the Kenyan economy. There are a number of currencies being traded in the Nairobi securities exchange. Among them is the United States dollars in relation to Kenya shillings.

The USD/KES has been highly volatile leading to the Kenyan currency always lose purchasing power compared to the United States Dollar. The persistent in volatility of USD against KES has brought volatility clustering. This has majorly exposed the economy and all stakeholders who have invested or have plans of investing to the risks and eventual losses they may incur as a result of volatility.

When a shilling weakens, this make it lose its purchasing power and eventually, the economy cripples. Many players in the economy e.g. investors are always hard hit by the loss of purchasing power of the Kenyan shilling. Therefore, coming up with the best model and algorithm in modelling and detecting change in volatility and also in forecasting future change in volatility can stabilize this exchange market by making sure that investors don’t lose their investments and making sure that the economy thrives. In addition, this would help government agencies in providing favorable policies that would help curb against any form of volatility now and in the future.

Volatility refers to the conditional variance of the underlying asset return and is measured as the sample standard deviation. Volatility clustering refers to a situation where large returns are followed by large returns and vice versa which extends in regimes of abnormally high or low volatility.

Studies conducted in various parts of the world present mixed findings regarding use of GARCH models especially when discussing the issue of volatility in a time series data. But the question that seems to be on the minds of many other scholars is the fact that how effective are the GARCH models in modelling change in volatility. Generally, there has been a consistent opinion that the models remain effective when dealing with such volatile data. Johansson 1 who recently conducted a study on Stockholm stock exchange (OMXS30) and the Milano stock exchange index (MIB30) laid an emphasis on the effectiveness of GJR GARCH model especially in order to predict changes in financial assets as stocks.

Change point analysis refers to a situation where there are change points in a dataset. The main purpose of identifying change point is so as to know the number of changes and their locations so that we can correct such changes. Change points are treated as abnormal behaviors in the specific area of study. Detecting multiple change points is crucial in many areas. E.g. in finance, meteorology, medical field and among other areas.

Change points increase with increase in data points. This has been a challenge in statistics, to know the actual change points and their locations. Bearing in mind that most companies are handling big data, they want to know the abnormalities of these datasets by determining the change points. The challenge is how to handle such data and methods of change points detection. Many methods have been proposed like binary segmentation algorithm, segment neighborhood and the pruned exact linear time. PELT is an accurate algorithm.

Verma and Ghosh 2 whose study was conducted in India pointed out the fact that change point analysis is one of the most powerful tools that can be used for detection of change point in a given time series data.

A study conducted in India by Singh and Tripathi 3 highlighted the importance of use of both TGARCH and PGARCH models in modelling volatile stock data and exchange data.

A keen look at the studies in the literature reveal that little has been done in terms of modelling change point in volatility of data from the Central Bank of Kenya. The study seeks to fill this gap by coming up with the best model to fit and forecast volatility change in the Kenya securities market, more so USD/KES exchange rates. The PELT algorithm will be used to detect change points in volatility as it is more accurate

2. Review of Previous Studies

In a study by Włodarczyk and Kadłubek 4 focusing on risk management of carbon emissions, was able to determine that GARCH model is one of the most important models in forecasting volatility of such data

A study conducted by Dutta 5 established that the use of power GARCH models played an important role especially in order to model and forecast the US ethanol price precisely to minimize the market risk. The current study however focuses on the context of Kenya by using data from the Central Bank of Kenya to analyze the change points of the volatility with the purpose of coming up with a model to forecast volatility.

In a study focusing on studying the capital markets dynamics in South East Europe, Stoykova and Paskaleva 6 highlighted the importance of making use of PGARCH models in forecasting volatility in time series data relating to the capital markets.

Sarwar 7, who recently conducted a study in America argued that use of TGARCH models can be effective especially in the efforts to understand the process of transmission of risks between US and emerging equity markets. Sarwar and Khan 8 emphasized on the utilization of TGARCH model especially in order to understand the interrelations of market fears and emerging markets returns.

Jiang and Hua 9 recently conducted a study in China and utilized the threshold GARCH with generalized error distribution (TGARCH-M with GED) in order to analyze models related to what is referred to as option pricing which plays an important role in risk management and investment strategies.

Mozumder et al. 10 emphasize on the importance of using Glosten, Jagannathan and Runkle generalized autoregressive conditional heteroscedasticity (GJR-GARCH) in carrying out volatility dynamics. A recent study conducted by Chun, Cho and Ryu 11 pointed out that GJR GARCH is one of the best performing volatility forecasting models in the GARCH-family volatilities.

It has been demonstrated in a recent study on American oil industry that utilization of GJR GARCH plays an important role in forecasting volatility of time series data Bedoui, Braiek, Guesmi & Chevallier 12. After carrying out a study in order to make a comparison between volatility of dependency between US dollar and Euro, Jamel and Mansour 13 were able to incorporate GJR GARCH as one of the most important models in studying volatility.

In Europe, a study conducted by 2 on Stockholm stock exchange (OMXS30) and the Milano stock exchange index (MIB30) for the period 31st of October 2003 to 30th of December 2008 emphasize the importance of use of GJR GARCH model especially in order to predict changes in financial assets like stocks.

Allen, McAleer, Powell and Singh 14 define change point analysis as the process of assessing distributional changes within the time for that observations. In contrast, Pereira and Ramos 15 clarifies the fact that conducting change point analysis mostly focuses on determining the changes in both mean and variance in a given time series data sets

Ref. 2 in a study conducted in India posit that change point analysis can be a powerful tool that can be used for detection of a change that has occurred in a time series data sets over a long period of time.

The current study uses the context of Kenya by utilizing the data from the Central Bank of Kenya between the year 2005 to 2018 with a purpose of first and foremost conducting change point analysis for the volatility and also at the same time making use of TGARCH and PGARCH, and GJR GARCH models for the purposes of coming up with the model that can be used for forecasting volatility in time series data especially one that relates to the financial sector such as the Central Bank of Kenya.

3. Methodology

3.1. Multiple Change Point Detection

In this study multiple change detection was used. The general equation that is minimized to get the change points will take the form:

(1)

Where C is a cost function for a segment and is a penalty to guard against over fitting (a multiple change point version of the threshold c). In the literature, the cost function that is mostly used is twice the negative likelihood function. Mostly on the ground, the penalty that is commonly used is the one that is linear in terms of change points. I.e. Examples of some penalties are AIC, and BIC , where p is and additional parameter achieved after having an additional change point. Such linear functions tailored for PELT algorithm.

3.2. The Pruned Exact Linear Time (PELT) Method

The method, a pruning step within dynamic programming technique to obtain the optimal segmentation for change points was used. The method proposed to minimize

(2)

is the cost function and B is the penalty to guard against overfitting.

The PELT method combines optimal partitioning and pruning to get accurate and proper linear computational cost. The optimal segmentation is where

(3)

when conditioned to the last change point and then solving data segmentation to that change point results to

(4)

This can be recursively repeated from the second change point to the last. The inner minimization is equal to and therefore equation (4) Can be written as

(5)

F (1) is first calculated and then F (2), F (3) … are calculated recursively. For every step, the optimal segmentation up to is stored. When F(n) is reached, the optimal segmentation of the whole data would have been identified. Also, the number of locations in the dataset would have been known.

3.3. Asymmetrical GARCH Modelling

After the volatility regimes have been clearly identified by the use of PELT, the next step will be to model the structural breaks or change points using PGARCH, TGARCH and GJRGARCH models. The PGARCH proposed by Ding et al. 16 generalizes the transformation of error terms in the models. The variance equation of the PGARH model is given as

(6)

Where and are the standard ARCH and GARCH parameters.’s are the leverage parameters and is the parameter for the power term. The model sets for all i. When equation becomes a classic GARCH model that allows for leverage effect. The standard deviation will be estimated when

The TGARCH model was proposed by Glosten, Jagannathan and Runkle 17 and Zakoian 18 with an aim of handling asymmetrical effect.

A variance equation of TGARCH model (p, q) is written as:

(7)

Where is a dummy variable (indicator) for negative I.e.

And and are non-negative parameters.

The model uses zero so as its threshold to separate impacts of past shocks.

The GJRGARCH model was proposed by 17

The variance equation of GJR-GARCH (p, q) is given by:

(8)

Where are constant parameters, and I is an indicator function (dummy variable) that takes the value zero when is positive (negative). If is positive, negative errors are leveraged (negative innovations or bad news have greater impact than the positive ones). The model parameters are assumed to be positive and that

In all the models, the best volatility GARCH model would be selected on the basis of AIC and BIC.

4. Results and Discussions

4.1. Data

Simulated PGARCH, TGARCH and GJR data was used. Also daily data from Central Bank of Kenya (CBK) for a time period between January 2005 to December 2018 was used in the analysis. R package was used for analysis.

Figure 1 depict a plot of PGARCH, TGARCH and GJRGARCH simulated models with two change points set at points 500 and 1001. From the figure, it can be clearly seen that there are two change points and two change points locations. It can also be seen that there are three data change regimes.

Figure 2 confirm two change points for each of the models. I.e. at points 500 and 1001. These change points are marked by vertical red lines. These points calculated by PELT algorithm are the exact change points. The points are the same as the change points set during simulation.

4.2. Change Points in GARCH Models

After confirming that the estimates from simulations were the same as actual values from PELT algorithm, different models were fitted to the three data regimes created by the two structural breaks with an aim of getting average parameters of each model. The aim was to compare the parameters of each data regime across the models with the parameters of the models when using whole data for each model to see whether there was change in parameters of models with structural changes and those without. The parameters of the whole data were different from parameters of each data regime of the corresponding model. This shows change in parameters that reflect change in volatility data.

Table 1 give parameters of PGARCH, TGARCH and GJRGARCH at change points 500 and 1001. The table also shows average parameters of the models after incorporating change points.

4.3. True and Estimated Parameters of GARCH Models

Table 2. indicate that the true and estimated parameters of PGARCH, TGARCH and GJRGARCH at change points 500 and 1001 are close to each other. Therefore, the estimated parameters are better estimates of true parameters.

After getting average parameters, goodness of fit measures were also calculated with an aim of comparing performance of the models with and without inclusion of change points.

Table 3 give averages of model fit measures of PGARCH, TGARCH and GJRGARCH models with change points at 500 and 1001.

4.4. Model Estimation Comparison

Table 4 give AICs and BICs of asymmetrical GARCH models in presence and absence of change points. The models approximated with structural breaks are better compared to plain models. This is marked by the models incorporating change points registering the lowest AICs and BICs. The TGARCH model is the best fitting model with and without change points. This is because it has the lowest AIC and BIC.

4.5. Real Data Analysis

The Forex data from the Central Bank of Kenya from January 2005 to December 2018 was also modelled using GARCH models with an aim of analyzing change in volatility of USD/KES data.

The volatility data was plotted as shown in Figure 3. Through visualization, volatility clustering can be witnessed, a clear indication of presence of change in volatility.

After application of PELT algorithm, a total of 4 change points for the volatility were realized, which means that volatility persistently changed at 4 points. This implies that the USD/KES is highly volatile. The change is shown in Figure 4.

Figure 4 indicate that volatility of USD/KES has changed at 4-time points. The abrupt change indicates turbulent times between December 2006 and February 2010, and around January to June 2012. This was as a result of pre and post-election crisis that erupted because of 2007 and due to Eurobond bought by government in 2012.


4.5.1. Average Parameters of USD/KES Data

The volatility change points of USD/KES were then fitted in the models with an aim of getting average parameters that would be used for comparison purposes with the simulation results.


4.5.2. Average Estimates from Simulated GARCH and USD/KES Data

Table 6 shows GARCH models average simulated values and actual values from forex data. There is no much difference between simulated values and estimates from forex data except for shape parameter. This indicates that simulations can be used to model practical phenomena and register better results.

4.6. Predictive Ability of GARCH Models.

Table 7 shows forecasting performance of the PGARCH, GJRGARCH and PGARCH models with and without change points. It can clearly be seen from the table that all the models do forecasting well in presence of change points. This is because all the models have the least MSEs and MAEs compared to models without change points. The PGARCH, TGARCH and GJR GARCH models have the same forecasting performance with and without change points.

5. Conclusion

The USD/KES rates has been marked by high and low volatility fluctuations. Despite plenty of local studies exploring various aspects of volatility in Nairobi stock exchange, little remains to be shown in literature as to how to carry out change point analysis and forecasting especially by utilization of data from the Central Bank of Kenya between the year 2005 and 2018 and using PELT. This research was thus directed in modelling volatility change in the USD/KES data using PELT algorithm. The simulated data was also compared from USD\KES data by use of parameters. The forecasting performance of PGARCH, TGARCH and GJR GARCH models were compared in presence and absence of change points. It was concluded that the volatility adjusted PGARCH, TGARCH and GJR GARCH models outperformed plain PGARCH, TGARCH and GJR GARCH models that didn’t incorporate structural changes. The estimates from simulated models were almost converging with the parameters from the USD\KES data. This is an indication that simulations can be used in different sectors of the economy to replicate true phenomena. Banks, insurance companies, investors among other stake holders can comfortably apply univariate GARCH models in conjunction with PELT algorithm in order to model and forecast uncertainties in their businesses long term plans. This would by large avert any huge losses that would have otherwise crippled their businesses. Researchers can conduct a similar study in different sectors other than in finance and especially in insurance and meteorological department in order to establish performance of these models. It is also recommended that it is important for industry stakeholders especially in the financial sector to carry out regular change point analysis especially in order to be able to discover some of the important trends with regards to changes in volatility of the time series data in order to take any necessary corrective measures.

References

[1]  Johansson, P. (2019). Volatility forecasting using the GARCH framework on the OMXS30 and MIB30 stock indices.
In article      
 
[2]  Verma, P., & Ghosh, S. K. (2019). Trend Analysis of Climatic Research Unit Temperature dataset for Gangotri Glacier, India. Dynamics of Atmospheres and Oceans.
In article      View Article
 
[3]  Singh, S., & Tripathi, L. K. (2016). Modelling Stock Market Return Volatility: Evidence from India. Research Journal of Finance and Accounting, 7(13), 93-101.
In article      
 
[4]  Włodarczyk, A., & Kadłubek, M. (2018). Use of Mulifactor Models with Garch Structure in Carbon Emissions Risk Management. Multidisciplinary Aspects of Production Engineering, 1(1), 407-413.
In article      View Article
 
[5]  Dutta, A. (2019). Forecasting ethanol market volatility: new evidence from the corn implied volatility index. Biofuels, Bioproducts and Biorefining, 13(1), 48-54.
In article      View Article
 
[6]  Stoykova, A., & Paskaleva, M. (2019). Southeast European Capital Markets: Dynamics, Relationship and Sovereign Credit Risk. Walter de Gruyter GmbH & Co KG.
In article      View Article
 
[7]  Sarwar, G. (2019). Transmission of Risk between US and Emerging Equity Markets. Emerging Markets Finance and Trade, 55(5), 1171-1183.
In article      View Article
 
[8]  Sarwar, G., & Khan, W. (2019). Interrelations of US market fears and emerging markets returns: Global evidence. International Journal of Finance & Economics.
In article      View Article
 
[9]  Jiang, T., & Hua, Q. (2019). Option Pricing for TGARCH-M with GED Based on Improved EEMD. Emerging Markets Finance and Trade, 1-20.
In article      View Article
 
[10]  Mozumder, S., Kabir, M. H., & Dempsey, M. (2018). Pricing and hedging options with GARCH-stable proxy volatilities. Applied Economics, 50(56), 6034-6046.
In article      View Article
 
[11]  Chun, D., Cho, H., & Ryu, D. (2019). Forecasting the KOSPI200 spot volatility using various volatility measures. Physica A: Statistical Mechanics and its Applications, 514, 156-166.
In article      View Article
 
[12]  Bedoui, R., Braiek, S., Guesmi, K., & Chevallier, J. (2019). On the Conditional Dependence Structure between Oil, Gold and USD Exchange rates: Nested Copula based GJR-GARCH Model. Energy Economics.
In article      View Article
 
[13]  Jamel, L., & Mansour, S. (2019). Co-movements in volatility of dependency between US dollar and euro: analysing by conditional heteroscedasticity models. International Journal of Management and Enterprise Development, 18(1-2), 1-19.
In article      View Article
 
[14]  Allen, D. E., McAleer, M., Powell, R. J., & Singh, A. K. (2018). Non-Parametric Multiple Change Point Analysis of the Global Financial Crisis. Annals of Financial Economics, 13(02), 1850008.
In article      View Article
 
[15]  Pereira, P. F., & Ramos, N. M. (2018). Detection of occupant actions in buildings through change point analysis of in-situ measurements. Energy and Buildings, 173, 365-377.
In article      View Article
 
[16]  Ding, Z., C. W. Granger, and R. F. Engle (1993). A long memory property of stock market returns and a new model. Journal of Empirical Finance 1, 83-106.
In article      View Article
 
[17]  Glosten,L, R., Jagannathan, R, &Runkle,D.E.(1993). On the relation between the expected value amd the volatility of the nominal excess return on stocks. The Journal of finance, 48(5), 1779-1801.
In article      View Article
 
[18]  Zakoian, J.M. (1994). Threshold heteroskedastic models. Journal of Ecconomic Dynamics and control, 18(5), 931-955.
In article      View Article
 

Published with license by Science and Education Publishing, Copyright © 2019 Amon kiregu, Anthony Waititu and Antony Ngunyi

Creative CommonsThis work is licensed under a Creative Commons Attribution 4.0 International License. To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/

Cite this article:

Normal Style
Amon kiregu, Anthony Waititu, Antony Ngunyi. Modelling Change Point in GARCH Models. American Journal of Applied Mathematics and Statistics. Vol. 7, No. 4, 2019, pp 138-145. https://pubs.sciepub.com/ajams/7/4/3
MLA Style
kiregu, Amon, Anthony Waititu, and Antony Ngunyi. "Modelling Change Point in GARCH Models." American Journal of Applied Mathematics and Statistics 7.4 (2019): 138-145.
APA Style
kiregu, A. , Waititu, A. , & Ngunyi, A. (2019). Modelling Change Point in GARCH Models. American Journal of Applied Mathematics and Statistics, 7(4), 138-145.
Chicago Style
kiregu, Amon, Anthony Waititu, and Antony Ngunyi. "Modelling Change Point in GARCH Models." American Journal of Applied Mathematics and Statistics 7, no. 4 (2019): 138-145.
Share
  • Table 6: Average estimates of simulated PGARCH, TGARCH and GJR GARCH and average estimates from USD/KES data
[1]  Johansson, P. (2019). Volatility forecasting using the GARCH framework on the OMXS30 and MIB30 stock indices.
In article      
 
[2]  Verma, P., & Ghosh, S. K. (2019). Trend Analysis of Climatic Research Unit Temperature dataset for Gangotri Glacier, India. Dynamics of Atmospheres and Oceans.
In article      View Article
 
[3]  Singh, S., & Tripathi, L. K. (2016). Modelling Stock Market Return Volatility: Evidence from India. Research Journal of Finance and Accounting, 7(13), 93-101.
In article      
 
[4]  Włodarczyk, A., & Kadłubek, M. (2018). Use of Mulifactor Models with Garch Structure in Carbon Emissions Risk Management. Multidisciplinary Aspects of Production Engineering, 1(1), 407-413.
In article      View Article
 
[5]  Dutta, A. (2019). Forecasting ethanol market volatility: new evidence from the corn implied volatility index. Biofuels, Bioproducts and Biorefining, 13(1), 48-54.
In article      View Article
 
[6]  Stoykova, A., & Paskaleva, M. (2019). Southeast European Capital Markets: Dynamics, Relationship and Sovereign Credit Risk. Walter de Gruyter GmbH & Co KG.
In article      View Article
 
[7]  Sarwar, G. (2019). Transmission of Risk between US and Emerging Equity Markets. Emerging Markets Finance and Trade, 55(5), 1171-1183.
In article      View Article
 
[8]  Sarwar, G., & Khan, W. (2019). Interrelations of US market fears and emerging markets returns: Global evidence. International Journal of Finance & Economics.
In article      View Article
 
[9]  Jiang, T., & Hua, Q. (2019). Option Pricing for TGARCH-M with GED Based on Improved EEMD. Emerging Markets Finance and Trade, 1-20.
In article      View Article
 
[10]  Mozumder, S., Kabir, M. H., & Dempsey, M. (2018). Pricing and hedging options with GARCH-stable proxy volatilities. Applied Economics, 50(56), 6034-6046.
In article      View Article
 
[11]  Chun, D., Cho, H., & Ryu, D. (2019). Forecasting the KOSPI200 spot volatility using various volatility measures. Physica A: Statistical Mechanics and its Applications, 514, 156-166.
In article      View Article
 
[12]  Bedoui, R., Braiek, S., Guesmi, K., & Chevallier, J. (2019). On the Conditional Dependence Structure between Oil, Gold and USD Exchange rates: Nested Copula based GJR-GARCH Model. Energy Economics.
In article      View Article
 
[13]  Jamel, L., & Mansour, S. (2019). Co-movements in volatility of dependency between US dollar and euro: analysing by conditional heteroscedasticity models. International Journal of Management and Enterprise Development, 18(1-2), 1-19.
In article      View Article
 
[14]  Allen, D. E., McAleer, M., Powell, R. J., & Singh, A. K. (2018). Non-Parametric Multiple Change Point Analysis of the Global Financial Crisis. Annals of Financial Economics, 13(02), 1850008.
In article      View Article
 
[15]  Pereira, P. F., & Ramos, N. M. (2018). Detection of occupant actions in buildings through change point analysis of in-situ measurements. Energy and Buildings, 173, 365-377.
In article      View Article
 
[16]  Ding, Z., C. W. Granger, and R. F. Engle (1993). A long memory property of stock market returns and a new model. Journal of Empirical Finance 1, 83-106.
In article      View Article
 
[17]  Glosten,L, R., Jagannathan, R, &Runkle,D.E.(1993). On the relation between the expected value amd the volatility of the nominal excess return on stocks. The Journal of finance, 48(5), 1779-1801.
In article      View Article
 
[18]  Zakoian, J.M. (1994). Threshold heteroskedastic models. Journal of Ecconomic Dynamics and control, 18(5), 931-955.
In article      View Article