Full text
https://doi.org/10.7441/joc.2023.01.04 Hybrid wavelet adaptive neuro-fuzzy tool supporting competitiveness and efficiency of predicting the stock markets of the Visegrad Four countries Zuzana Janková Abstract The stock market is influenced by many factors and predicting its development is a difficult and complicated task. Successful and accurate stock market prediction is absolutely essential for countries’ economies as it helps to create a competitive advantage for listed companies through economies of scale. The aim of the paper is to decompose and denoise stock time series using wavelet analysis, detect a smoothed trend and predict future development using an adaptive neuro-fuzzy model. This hybrid fusion model is also referred to as the WANFIS model. The application of the WANFIS model is carried out on less developed stock markets, specifically on the official stock market indices of the Visegrad countries, namely the Czech Republic, Slovak Republic, Poland and Hungary. Recently, wavelet analysis has been among the most promising mathematical tools, which can be used to easily decompose continuous signals or time series in the time and frequency domains. The results show that the proposed WANFIS hybrid model demonstrates a more accurate prediction of the development of stock indices than individual models alone. Experimental results show that the fusion model provides a promising and effective tool for predicting even less liquid and less efficient stock markets, such as those in the V4 countries. A useful and accurate prediction alternative proven in emerging stock markets is offered. Keywords: ANFIS, neuro-fuzzy model, stock market, V4 countries, Visegrad countries, wavelet analysis, wavelet transformation JEL Classification: C53, C63, G11 Received: December 2022; 1st Revision: January 2023; Accepted: February 2023 1 INTRODUCTION Due to its importance in economies, the prediction of stock market development has become an attractive topic in recent years. There is a need to cover the urgent need to predict the future behavior of the stock market with the aim of eliminating negative consequences of investment risks, and thereby increasing the competitive advantage of companies. A competitive advantage, as stated by Forsyth & Mongrut (2022), can be considered the ability of companies to generate permanent above-standard returns that are higher than the cost of capital. If a company is distinguishable from competing companies, it gains a competitive advantage, thanks to which it is able to generate additional revenue. However, predicting the development of the stock market is a very complex process, as these markets are characterized by chaotic behavior and unstable development. A useful and effective tool that is able to accurately and timely predict the development of the stock market can help companies gain a competitive advantage, as it allows timely and accurate detection of sharp changes in market development. This enables companies to respond to changing conditions earlier than their competitors. For this reason, it is necessary to use more sophisticated tools for the analysis of stock markets, which can cover these issues. To estimate the future behavior of stock markets, it is appropriate to use artificial intelligence methods, which are currently on the rise not only in this area. To
https://doi.org/10.7441/joc.2023.01.04 solve the second issue regarding the type of investor, it is necessary to use wavelet analysis, which integrates both time and frequency domains. This means that if stock market fluctuations and performance vary depending on frequency, the risk will also be different for each type of investor. Although ripples are more popular in areas such as signal and image processing, meteorology, and physics, they can also provide fruitful knowledge from an economic or financial perspective. Ramsey (1999) describes that economic and financial phenomena can have different characteristics at different time scales, and therefore wavelet analysis tools make it possible to explore the multilevel features of these phenomena. Unlike Fourier and spectral analysis, wavelet analysis is localized in time and scale. The motivation to use the wavelet approach is mainly the fact that it provides an effective and convenient way of representing complex variables. In addition, this approach is useful for detecting seasonal and cyclical fluctuations in financial time series and structural breaks, as well as for analyzing trends. One of the main advantages of continuous wavelet analysis, as reported by Rua & Nunes (2009) and Lin et al. (2018), is that it is not necessary to define the number of waves (time scales), as this number is derived according to the length of the time series. This makes it easy to interpret hidden patterns or detected information. For that reason, continuous wavelet analysis is applied to evaluate mutual links and relationships in the time and frequency domain. We propose a new hybrid wavelet adaptive neuro-fuzzy tool (WANFIS) supporting competitiveness and efficiency in predicting the stock markets that could produce a more accurate and concise stock market forecast based on wavelet transform analysis and a neurofuzzy approach. This innovative method provides promising results based on previous empirical studies (Kumar Chandar, 2019; Alenezy et al., 2021). In the above papers, the prediction is made for individual stock market titles. The novelty of the presented research is the focus on the less liquid and less efficient stock markets of Central European countries. So, the focus is on small European economies. Furthermore, the prediction is made for stock indices and not for selected stock titles, which are de facto proxies of the entire stock market of the individual countries, and thus provide a higher indicative value with regard to the development of other financial markets, i.e., economies as a whole. To the best of the authors’ knowledge, the WANFIS model has not yet been adequately applied to these markets. The main aim of the paper is to predict the development of the main stock indices of Central European countries, namely the Czech Republic, Slovakia, Poland and Hungary – also generally referred to as the “Visegrad Group,” “Visegrad Four” or “V4” – by means of a hybrid wavelet adaptive neurofuzzy model (WANFIS). To fulfill this goal, it is necessary to first (1) detect the intercorrelation of selected Central European stock markets through wavelet coherence, both in the time and frequency domains; (2) apply a continuous wavelet transform to denoise and decompose the overall trend of stock indices; (3) use the smoothed trend as an input to an artificial intelligence model, specifically to an expert system based on fuzzy logic integrating neural networks, which is also referred to as an adaptive neuro-fuzzy inference system (ANFIS). Using fuzzy logic, fuzzy membership functions are set up and the artificial neural network defines the knowledge base of rules based on which the prediction of selected V4 stock indices is determined. The paper is arranged as follows: In Section 2, a critical literature search is performed, summarizing the findings in the subject area. Section 3 contains the methodology of wavelet analysis, which is used to smooth the analyzed time series, and an adaptive neuro-fuzzy system is used to predict stock indices. In Section 4, the WANFIS model is applied, and the empirical findings are presented, including a discussion. In Section 5, there is a conclusion synthesizing the obtained results and possible future directions of subsequent research.
https://doi.org/10.7441/joc.2023.01.04 2 THEORETICAL BACKGROUND Prediction of the development of the price and volatility of stock markets is undoubtedly a very interesting topic important for business decision-making. As Kristjanpoller & Michell (2018) add, this is becoming a hot topic, especially in developing economies. In these countries, according to Pabuçcu & Değirmenci (2018), investors are exposed to high risk and uncertainty regarding the future development of the markets. For that reason, the investment strategy, or the tool integrating this uncertainty, plays an important role in the competitive environment. It seems that an appropriately chosen investment strategy can become a major competitive advantage for many companies (Xu et al., 2022). In financial markets, people and companies can apply different kinds of models and tools to generate investment decisions. Developing economies or developing stock markets show certain specificities that make it necessary to use an appropriate and effective approach that is able to grasp these unique features. In particular, fuzzy logic is suitable for modeling the inclusion of uncertainty and ambiguity in the stock market. The application of the neuro-fuzzy model can be found in the research of Janková & Rakovská (2022), who proposed a model that facilitates investment decisions in financial assets. Rajab & Shama (2019) compared the model with an adaptive neuro-fuzzy system, artificial neural networks, and classical statistical techniques, such as multiple regression analysis and GARCH. Based on the obtained results, it can be stated that the proposed ANFIS model is a suitable tool especially for modeling complex and nonlinear problems. In recent years, the popularity of the application of wavelet analysis in the field of finance has specifically increased the interest in the use of wavelet decomposition and approximation to smooth stock time series. As described by Dima et al. (2015), wavelet analysis can provide a flexible tool for analyzing less stable or unstable time series such as the financial markets. The application of wavelet analysis can be found, for example, in the study by Janková (2020), who proposes to use wavelet analysis to determine the relationship between the stock index and investor sentiment. The strong relationship and correlation between stock markets identified by wavelet coherence slowly decrease over time. This output indicates that the relationship is undervalued or overvalued in a short period of time. In addition, the author found that sentiment and stock markets show a stronger correlation during a crisis. This was illustrated, for example, during the COVID-19 pandemic. Similarly, Dash & Maitra (2018) examine the relationship between investor sentiment and the Indian stock market. The wavelet method was used to decompose the variables of sentiment and return of stocks into different time-frequency domains. The study provides support for the fact that, whether investors are short-term or long-term, their investment activities cannot be deprived of sentiment. The purpose of the paper by Tiwari et al. (2016) is to assess the level of joint movement between the PIIGS stock markets and the markets of the United Kingdom and Germany. The authors applied a continuous wavelet transformation for analysis in the time-frequency domain of the movement of market returns of stock indices. The research output found that during the financial crisis, the correlation is high in the short term. In the long-term time horizon, mutual movements are present across the entire monitored period. In addition to the above, there is a fusion of wavelet analysis and artificial intelligence methods, especially neural networks and fuzzy logic. The integration of these methods leads to more accurate outputs than the individual models alone. Evidence can be found, for example, in Zarei et al. (2018), whose study compared the power of a neuro-fuzzy model with a wavelet neurofuzzy model in the prediction of prices of bank stock on the Tehran Stock Exchange. The research results showed that the model with the implementation of wavelet analysis provides higher performance compared to the model without wavelet analysis. The accuracy of a wavelet neuro-fuzzy model is 90% and above; the accuracy of a neuro-fuzzy model is over 80%. It can be stated that a wavelet neuro-fuzzy model is more reliable than a neuro-fuzzy model. Similarly,
https://doi.org/10.7441/joc.2023.01.04 Artha et al. (2018) combined wavelet transform and neuro-fuzzy techniques used to predict daily closing stock price data. The use of the wavelet transformation and its integration into the neuro-fuzzy model can, according to the authors’ output, provide a highly accurate prediction of the price of stocks. However, the authors add that before performing a wavelet analysis, it is necessary to consider which family of wavelet filters to use and what type of wavelet transform to use. Raoofi & Mohammadi (2018) apply an adaptive neural fuzzy inference system reduced by the wave decomposition of random noise; therefore, it reduces errors and improves the required prediction of a chaotic time series. Their results indicate the superiority of the proposed method compared to others. Kumar Chandar (2019) formulated a prediction model of the time series using mergers of the network-based wavelet adaptive fuzzy inference system (WANFIS), which is able to predict the stocks. According to experimental results, the proposed fusion model shows a higher accuracy of development prediction than separate models. According to the author, WANFIS thus offers an interesting alternative that can be used on stock markets with promising prediction results and can thus become a useful tool in the economic field. Based on the impressive results of the fusion of the wavelet analysis and the neuro-fuzzy model in recently published studies, the present work deals with the WANFIS model or wavelet adaptive neuro-fuzzy inference system for stock markets. Specifically, the authors of the paper are not aware of a similar application to the stock markets of Central European countries. The Visegrad 4 area has been chosen because it is an atypical stock market, different from international markets, which show high liquidity and efficiency. According to a study by Aloui et al. (2018), their outputs identify differences in patterns for emerging and developed markets, making the empirical results very relevant to experts and policymakers. For this reason, this paper is based on a survey of the outcome of the hybrid model in emerging markets. The aim of the paper is to examine whether the hybrid model will also achieve excellent results in these less liquid and less efficient markets in the Czech Republic, Poland, the Slovak Republic, and Hungary. 3 RESEARCH OBJECTIVE, METHODOLOGY AND DATA 3.1 Wavelet Decomposition Wavelet analysis is a promising mathematical tool that is used to divide time series in continuous time into components of various scales. Wavelet Transform (WT) provides time series decomposition not only in the time domain but also in the frequency domain, even if the data are nonstationary. The benefits of WT can be seen in several respects. Compared to Fourier transforms, WT is preferable to apply if the signal or time series shows a non-periodic character with sharp peaks and occurrences of discontinuity. Furthermore, the ripples define the final domain, which is well localized with respect to time and frequency. This characteristic allows its good use in the study of nonstationary signals. Finally, wavelet analysis significantly shortens the processing time and speeds up the calculation, according to Kumar Chandar (2019). According to Li and Tam (2017), the basic idea of the wavelet denoising model can be defined as: 𝑓(𝑡)=𝑥(𝑡)+𝜀(𝑡) (1) where 𝑓(𝑡) is an observed signal, 𝑥(𝑡) is a real signal and 𝜀(𝑡) is the white noise. Wavelet denoising is based on filtering out the largest possible part of 𝜀(𝑡). In general, WT can be divided into two basic types: continuous wave transformation (CWT) and discrete wave transformation (DWT); as stated by Lai & Liu (2014), the calculation of wavelet coefficients in CWT is a computationally lengthier process. Xu et al. (2017) describe the wavelet transform and its decomposition process. The CWT can be generated by integrating
https://doi.org/10.7441/joc.2023.01.04 the mother wavelet 𝜓(𝑡) into the time series 𝑥(𝑡). Thanks to the translation and dilation of the mother wavelet, a two-dimensional time series is created. The mother wavelet can be written in a mathematical formula as follows: 𝜓𝑡,𝑠(𝑡)=1 √𝑠𝜓(𝑡−𝜏 𝑠) (2) where 𝜏 indicates the time location of the mother wavelet, and 𝑠 is a scale parameter. A scale parameter greater than one means that the wavelet records rapid changes at high frequencies. While a scale parameter smaller than one captures slow changes at low frequencies. With respect to the defined parameters, the CWT is written as follows: 𝑊𝑥(𝜏,𝑠)=∫𝑥(𝑡)𝜓𝑡,𝑠 ∗(𝑡)𝑑𝑡 +∞ −∞ (3) where 𝜓𝑡,𝑠 ∗(𝑡) represents a complex conjugate basic wavelet 𝜓𝑡,𝑠(𝑡). The most commonly used mother wavelet for the analyzing phase is the Morlet wavelet (Rua, 2012). 𝜓𝜔0(𝑡)=𝜋−1 4(𝑒𝜔0𝑡−𝑒−𝜔0 2 2)𝑒−𝑡2/2 (4) In the above equation 𝜋−1 4 z ensures the conditions of admissibility of the mother wavelet. If 𝜔0>5, the Morlet wavelet is defined as follows: 𝜓(𝑡)=𝜋−1 4𝑒𝜔0𝑡𝑒−𝑡2/2 (5) where the parameter 𝜔0 in eq. (4) and (5) indicates the number of oscillations within the Gaussian envelope. With this parameter, one chooses between two conflicting goals. One is frequency localization, and the other is time localization. A smaller value of the parameter indicates better localization in time and worse localization of frequencies. A parameter setting of six is usually chosen, which will guarantee a balance between the two goals. 𝜎𝑥 2=1 𝐶𝜓∫ ∫ |𝑊𝑥(𝜏,𝑠)|2 +∞ −∞ 𝑑𝜏𝑑𝑠 𝑠2,𝑤𝑖𝑡ℎ 0<𝐶𝜓=∫|𝜓 (𝜔)|2 𝜔𝑑𝜔<∞ +∞ 0 +∞ 0 (6) where 𝜓 (𝜔) is the Fourier transform. The cross-wavelet transform of two time series 𝑥(𝑡) and 𝑦(𝑡) can be written as 𝑊𝑥𝑦(𝑡,𝑠)=𝑊𝑥(𝑡,𝑠)∗𝑊𝑦(𝑡,𝑠). 3.2. Adaptive Neuro-Fuzzy Inference System The Adaptive Neuro-Fuzzy Inference System (ANFIS) is a hybrid model that combines fuzzy logic (FL) and artificial neural networks (ANN). Thanks to this combination of the two methods, ANFIS can take advantage of both of them. Especially due to fuzzy logic, the model is better understood and more similar to human thinking, as it contains linguistic expressions rather than numerical calculations and contains a knowledge base of rules that is easy to understand even for laymen, as described by Janková et al. (2021). By integrating neural networks, the ANFIS model is more transparent to users and causes fewer memory errors; in addition, it is able to adaptively work with nonlinear problems and can easily learn from the provided data sources. The basis of the ANFIS model is the construction of a fuzzy system of the Sugeno type, whose membership function parameters are derived from training examples and is computationally more efficient than another type of Mamdani used, which is more dependent on expertise, according to Şahin & Erol (2017). The principle of operation of the ANFIS model is described in Mathur et al. (2016). In short, the input data is converted via fuzzification to fuzzy membership functions, which are connected to a neural network block. In this block of neural networks, a knowledge base is constructed through a set of rules that is connected to the inference module. To train this model,
https://doi.org/10.7441/joc.2023.01.04 a back-propagation algorithm is chosen, based on which the right rules are selected to ensure the optimal output. The architecture of the ANFIS model contains five layers. Individual layers have nodes that use transfer functions to transfer fuzzy inputs. Finally, the fuzzy output generated from the model is converted to a sharp output through the defuzzification block. Such a framework makes modeling with ANFIS more systematic and less dependent on the expertise of the expert group or experts. Two fuzzy IF-THEN rules based on the Sugeno first-order model are considered to introduce ANFIS: If (𝑥 is 𝐴1) and (𝑦 is 𝐵1) then (𝑓1=𝑝1𝑥+𝑞1𝑦+𝑟1) (7) If (𝑥 is 𝐴2) and (𝑦 is 𝐵2) then (𝑓2=𝑝2𝑥+𝑞2𝑦+𝑟2) (8) where 𝑥 and 𝑦 are inputs, 𝐴𝑖 and 𝐵𝑖 are fuzzy sets, 𝑓𝑖 are outputs in the fuzzy area specified by fuzzy rules, and consequent parameters 𝑝𝑖, 𝑞𝑖 and 𝑟𝑖 are determined during the training process. It can be seen that in this ANFIS architecture there are two adaptive layers, the first layer and the fourth layer. In the first layer, there are three modifiable parameters {𝑎𝑖,𝑏𝑖,𝑐𝑖} called premise parameters that relate to the input membership functions. In the next layer, the parameters {𝑝𝑖,𝑞𝑖,𝑟𝑖} are referred to as consequent parameters to the first-order polynomial. In order for the output of the ANFIS model to correspond with the training data set, the goal of the learning algorithm is to tune the premise and consequent parameters. When the premise parameters {𝑎𝑖,𝑏𝑖,𝑐𝑖} of the membership function are fixed, the ANFIS output can be written as follows: 𝑓= 𝑤1 𝑤1+𝑤2𝑓1+𝑤2 𝑤1+𝑤2𝑓2 (9) If the premise parameters are not fixed, the training of the model will slow down as the space of convergence will increase. To solve this problem, the gradient descent method and the smallest squares method can be combined, while either the forward or backward pass method can be used. The first method is used to optimize consequent parameters with premise parameters fixed. The backward pass is used to optimally adjust the premise parameters corresponding to the fuzzy sets in the input domain. The ANFIS output is calculated using the following parameters found in the forward pass. The output error is used to match the premise parameters using the standard back propagation algorithm. This hybrid algorithm has been shown to be highly effective in training ANFIS, according to Jang (1992) and Jang (1993). 4 EMPIRICAL RESULTS AND DISCUSSION 4.1. Data Description For the application of the WANFIS model, data from the stock markets of four European countries are selected, which are referred to as the so-called Visegrad countries. Namely, these are stock markets in the Czech Republic, Poland, Hungary and Slovakia, and these markets are represented by leading stock indices listed on local stock exchanges. The official index of the Prague Stock Exchange is the PX index, and the Bratislava Stock Exchange is SAX. The development of both indices is shown in Figures 1 and 2, respectively. The Warsaw Stock Exchange can be considered the largest stock exchange in the eastern part of Europe. The WIG stock index is listed here, which is a leading stock index. Figure 4 shows the development of the WIG index in the given period. The second largest stock exchange in Central Europe is the Hungarian Budapest Stock Exchange, not only in terms of market capitalization but also in terms of liquidity. The stock index listed on this exchange is the BUX stock index, the development of which is shown in Figure 3.
https://doi.org/10.7441/joc.2023.01.04 Fig. 1 – Empirical Dynamics of PX. Source: PSE (2020) Fig. 2 – Empirical Dynamics of SAX. Source: BSSE (2020) Fig. 3 –Empirical Dynamics of BUX. Source: BSE (2020) Fig. 4 –Empirical Dynamics of WIG. Source: GPW (2020) Basic descriptive statistics of daily returns on selected stock indices of the Visegrad 4 countries are presented in Tab. 1. It can be noted that the average return and median stock indices for the period under review are almost identical and are around zero. The highest maximum return can be seen in the stock index SAX, which reached 9.55%, followed by the Hungarian BUX index, with a maximum yield of 5.09%. By contrast, the lowest maximum return of 3.05% was achieved by the Polish WIG. In terms of minimum return, the Slovak stock index SAX shows the largest loss of -8.91%. The other stock indices reached a minimum return or maximum loss of about -5% on average. A simple measure, which is the standard deviation, is most often used to measure the volatility of stock indices. Based on the above description, it is clear that the Slovak stock index SAX, whose standard deviation is 1.13%, shows the biggest fluctuations. However, other V4 indices show a volatility of around 1% over the period under review. The skewness indicator is used to measure asymmetry or, in other words, lack of symmetry. Based on the values, it can be concluded that stock indices in all countries surveyed have an asymmetric probability distribution of yields. If the kurtosis values fluctuated around a value of 3, this would indicate a Gaussian probability distribution. However, none of the monitored time series reaches this value. This indicates that the probability distribution of the stock indices of the V4 countries does not show a normal distribution. A Jarque-Bera test is performed to test this assumption. As part of this test, a null hypothesis assuming a Gaussian probability distribution (chi-square with 2 degrees of freedom) is defined. The output values of the test reject the null hypothesis for all monitored stock indices at the 1% significance level. As Polanco-Martinez (2018) notes, this is a completely normal phenomenon that is consistent with previous findings on stock market returns. Tab. 2 shows the correlation matrix obtained using Spearman correlation coefficients between the stock indices of the V4 countries. The maximum correlation occurs for two SAX-BUX indices with a value of 0.8842 and WIG-PX with a correlation coefficient value of 0.7966. On the other hand, the minimum correlation occurs for PX-SAX with 0.3365. The mean dependence rate is then observed with the pairs SAX-WIG, WIG-BUX, and BUX-PX. To some
https://doi.org/10.7441/joc.2023.01.04 extent, this suggests that the Visegrad countries are interrelated, and the neighboring countries correlate. Tab. 1 – Summary statistics of selected stock indexes. Source: own research Stock index SAX WIG BUX PX Country Slovakia Poland Hungary Czech Republic (SK) (PL) (HU) (CZ) Number of obs. 1240 1240 1240 1240 Mean 0.0005 0.0001 0.0007 0.0000 Median 0.0000 0.0003 0.0008 0.0004 Standard deviation 0.0113 0.0090 0.0106 0.0083 Minimum -0.0891 -0.0566 -0.0607 -0.0460 Maximum 0.0955 0.0305 0.0509 0.0457 Skewness 0.1889 -0.4827 -0.1384 -0.4015 Kurtois 9.7729 2.7458 2.0330 3.4318 J-B test 4942.0813** 437.6870** 217.4970** 641.8113** ** indicates p-value lower than 0.01 A statistical technique called correlation analysis is applied to investigate dependencies and correlations between market returns of stock indices. According to Pinho & Madaleno (2010) or Rua & Nunes (2009), correlation analysis is used to detect common movement between stock market returns over time in the context of different frequencies or periods. Livan et al. (2012) showed that using the standard Spearman estimate to calculate the correlation coefficients between stock indices in case of nonstationary behavior can be complicated. For that reason, it is necessary to use a statistical apparatus that is able to work with the nonstationary behavior of the time series. One such approach is the wavelet analysis, which involves correlation across the time and frequency domains. Tab. 2 – Correlation matrix of selected stock indexes. Source: own research Stock index SAX WIG BUX PX Country Slovakia Poland Hungary Czech Republic (SK) (PL) (HU) (CZ) SAX 1 0.4077* 0.8842* 0.3365* WIG 0.4077* 1 0.6085* 0.7966* BUX 0.8842* 0.6085* 1 0.4635* PX 0.3365* 0.7966* 0.4635* 1 The * symbol at the 95% significance level highlights statistically significant index correlations. Prior to the wavelet decomposition itself, a wavelet coherence is performed, showing the dependencies and interconnections of stock indices in the time-frequency domain of Visegrad 4. The visualization is captured in Figure 5 and is divided into individual time series pairs represented by the respective stock indices. Red indicates the highest strength and dark blue is the lowest. The area within the contours indicates significant coherence at the 5% level of significance. The figures show the time period on the horizontal axis, while the frequency components are captured on the vertical axis and are converted to time units, in this case, to months. The arrows inside the graphics display can be used to analyze the positive or negative relationship of stock indices. Within the BUX-SAX, PX-SAX, PX-WIG and SAX-WIG indices, arrows pointing to the right can be indicated in recent months. This means that the given stock indices are in a phase as positively correlated. On the other hand, pointing the arrows to the left would indicate a negative correlation, which is evident, for example, with BUX-SAX in the early phases of the observed time period.
https://doi.org/10.7441/joc.2023.01.04 5(a) BUX-SAX 5(b) BUX-WIG 5(c) PX-BUX 5(d) PX-SAX 5(e) PX-WIG 5(f) SAX-WIG Fig. 5 – Wavelet Coherence. Source: own research. The short-term horizon, which is represented by higher frequencies, corresponds to the behavior of short-term investors. In contrast, low frequencies correspond to the long-term horizon and are typical of long-term investors. The figure shows the low coherence between stock indices, especially between the BUX, SAX and PX indices. However, a different view offers a comparison of these indices with the TIG index. Especially in the last monitored months, most stock indices show coherence at higher frequencies of 64 and higher. The downward direction of the arrows from BUX, PX, and SAX to the TIG indicates that the TIG index leads the BUX, PX, and SAX index. 4.2. Wavelet Decomposition and Denoising Wavelet analysis is used for the decomposition and subsequent smoothing of the time series of leading stock indices listed on the Czech, Slovak, Hungarian and Polish stock markets. Wavelet decomposition is used to detect the development trend of selected stock indices. Various discrete waves can be used for this purpose, e.g., the family of Daubechies, Harr, coiflets, and
https://doi.org/10.7441/joc.2023.01.04 29. Ramsey, J. B. (1999). Regression over timescale decompositions: A sampling analysis of distributional properties. Economic Systems Research, 11(2), 163–184. https://doi.org/10.1080/09535319900000012 30. Raoofi, A., & Mohammadi, T. (2018). Forecasting Tehran Stock Exchange Index returns using a combination of wavelet decomposition and adaptive neural fuzzy inference systems. Allameh Tabataba'i University Press, 23(76), 107–136. 31. Rua, A. (2012). Money growth and inflation in the Euro Area: A time-frequency view. Oxford Bulletin of Economics and Statistics, 74(6), 875–885. https://doi.org/10.1111/j.1468-0084.2011.00680.x 32. Rua, A., & Nunes, L. C. (2009). International comovement of stock market returns: A wavelet analysis. Journal of Empirical Finance, 16(4), 632–639. https://doi.org/10.1016/j.jempfin.2009.02.002 33. Şahin, M., & Erol, R. (2017). A comparative study of neural networks and ANFIS for forecasting attendance rate of soccer games. Mathematical and Computational Applications, 22(4), 43. https://doi.org/10.3390/mca22040043 34. Sharma, D. K., Hota, H. S., & Rababaah, A. R. (2021). Forecasting US stock price using hybrid of wavelet transforms and adaptive neuro fuzzy inference system. International Journal of System Assurance Engineering and Management, 12(4). https://doi.org/10.1007/s13198-021-01217-5 35. Talpur, N., Salleh, M. N. M., & Hussain, K. (2017). An investigation of membership functions on performance of ANFIS for solving classification problems. IOP Conference Series: Materials Science and Engineering, 226(1), 12103. https://doi.org/10.1088/1757-899X/226/1/012103 36. Tiwari, A. K., Mutascu, M. I., & Albulescu, C. T. (2016). Continuous wavelet transform and rolling correlation of European stock markets. International Review of Economics & Finance, 42, 237–256. https://doi.org/10.1016/j.iref.2015.12.002 37. Xu, W.-J., & Zhong, L.-X. (2022). Market impact shapes competitive advantage of investment strategies in financial markets. PloS One, 17(2), e0260373-e0260373. https://doi.org/10.1371/journal.pone.0260373 38. Xu, Y., Liu, Z., Zhao, J., & Su, C. (2017). Weibo sentiments and stock return: A timefrequency view. PloS One, 12(7), e0180723-e0180723. https://doi.org/10.1371/journal.pone.0180723 39. Zarei, G., Mohamadiyan, R., & Hazeri, H. (2018). The comparison of fuzzy neural network methods with wavelet fuzzy neural network in predicting stock prices of banks accepted in Tehran Stock Exchange. Financial Management Strategy, 6(3), 109–138. https://doi.org/10.22051/jfm.2018.19214.1606 Contact information Zuzana Janková, Ph.D. Brno University of Technology Faculty of Business and Management Institute of Informatics Czech Republic E-mail: [email protected] ORCID: 0000-0003-1798-5275