Measuring value at risk using short-term and long-term memory of GARCH models based on switching approach to form an optimal stock portfolio

Value at Risk model based on a switching regime approach was used in this study to optimize portfolios consisting of industry index (petroleum products, investment, chemical products, and metal products). For this purpose, the VaR of returns on index should first be extracted through parametric models of the (GARCH) family in each of the above industries by using regime transitions. After the risk of return on index is obtained for each industry, the optimal portfolio is created in the next step based on VaR minimization, and the optimal value of each industry is determined in the portfolio. According to the results, (MRS-FIEGARCH) model had no superiority in VaR estimation over the other parametric models of the GARCH family. In fact (MS-EGARCH-t) was introduced as the optimal model. Among the designated industries, returns on indices followed regime transitions only in chemical products and investment by showing asymmetric reactions to external shocks. Moreover, the optimal weights were on the rise in the industries where VaR decreased over time, whereas the optimal weight of the portfolio decreased in the industries where VaR increased over time. The higher share of an optimal portfolio belonged to the industries where stock returns had lower rates of VaR. The risk-return-ratio was employed to show that the optimal portfolio with a risk rate was measured by considering the switching regime was superior over the optimal portfolio with a risk rate extracted without considering the switching 62 Iranian Journal of Finance, 2021, Vol. 5, No. 1 (Mahboubi Zadeh, S.) effects. To create an optimal portfolio, it is then recommended to make investments in the industries characterized by higher stability in prices and lower fluctuations in stock returns in the long run. This approach can be employed to obtain the best results from optimal portfolio preparation in the worst-case scenario of the market fluctuations.


Introduction
Activities in financial markets are prone to risk and uncertainty, and investment risk is a major problem which an investor is faced within the stock market. Generally, investors seek to sustain lower risks and retain the stocks which have high returns and low risks. At the same time, many studies have shown that there is a positive correlation between risk and return; thus, a major challenge in portfolio preparation is to determine an optimal proportion or weight of the portfolio stocks for risk mitigation (Zolfaghari & Faghihian, 2018). This is so important that various statistical methods and models have been proposed for quantitative risk measurement based on trading strategies in these markets. A common criterion proposed by financial analysts for risk measurement values at risk (VaR). In the novel financial theories, VaR is minimized (along with its derived indices) for portfolio preparation (Zolfaghari & Sahabi, 2016) to measure the risk of stock returns. In this technique, VaR is first extracted through parametric models of short-term and long-term memories from the GARCH family ineffective and ineffective switching regime states for the stock indices of companies. After that, the optimal portfolio is created during 7-35-day time horizons.
In this process, the most important task is to extract the risk time series. Although different methods have been proposed to measure the risk of stock returns in recent years, some researchers believe that these methods have considerable defects such as mere dependence on statistical methods and inattention to the regime behavior of stock prices (Barzegar & Faghihian, 2015). This process uses Markov switching to model short-term and long-term memories from the GARCH family in addition to considering non-normal distribution, symmetric and asymmetric reactions, and effects of the long-term memory on means and fluctuations of stock returns for the designated industries. Based on the Markov model, this process analyzes the regime transitions of stock returns and extracts the return risk time series if there are regime transitions.
According to the proposed structure, this paper seeks to answer the following questions: 1) Is the ARFIMA-MRS-FIEGARCH model superior to other parametric models in portfolio optimization? 2) Is the stock return a function of regime transitions in the designated industries? 3) Do the optimal weights of each of the designated industries change in the optimal investment portfolio over time?

Research background
Given the wide range of relevant studies, this section divides the research literature into three groups, the first of which includes the hybrid models of the MRS-GARCH family, whereas the second group includes only a few studies of VaR estimation through the models of the GARCH family. Finally, the third group pertains to portfolio optimization.
Torce et al. (2020) used MS-GARCH and MS-ARCH models to analyze the commercial status of coffee, sugar, and cocoa trades in future contracts. Their research results indicated that MS-ARCH-T was optimal for the future cocoa contract and that MS-GARCH of a Gaussian distribution was optimal for the future sugar contracts. However, they found no evidence showing that MS-GARCH was appropriate for coffee trades in the future market. Sanzo (2018) used long-term memory and switching models to measure fluctuations in returns on crude oil. The research results showed that MS-AFIMA was superior over MS-GARCH in the extrapolation prediction of fluctuations in returns on crude oil. Moreover, long-term memory models of times series yielded better results through the switching approach than MS-GARCH.
In their paper, Kaporal and Zekich (2018) employed MS-GARCH to model fluctuations in cryptocurrencies. According to their results, standard GARCH models might fail to predict VaR properly. Hence, using asymmetric effects and Markov switching can provide investors with better estimates. Zolfaghari and Sahabi (2017) employed MS-GARCH models to measure VaR for the stock indices of oil products under normal, t-student, and generalized error distributions. Their research data belonged to the 26/06/2012-23/07/2016 period. According to their results, MS-GARCH models outperformed ARMA-GARCH models. Almasi et al. (2018) used MS-FITGARCH to model the long-term memory and analyze oil shocks in the Tehran Stock Exchange through monthly data belonging to the 1998-2017 period. Their research results indicated that MS-FITGARCH showed the significant, positive effects of oil price shocks only on the mean of stock returns in prosperity regimes. In fact, these effects were insignificant in recession regimes. Rostami et al. (2018) submitted a paper entitled Modeling Oil Fluctuations through Switching. They used the single-regime and multi-regime MS-GARCH models to estimate oil price fluctuations. According to their findings, a triple-regime model was accepted to explain the behavior of a variable within the research period.
Charles Manasi et al. (2019) analyzed the mutual effects of stock prices and exchange rates through multivariate GARCH-VaR models. Their results indicated a long-term and stable relationship between stock prices and exchange rates. GARCH-VaR can also be employed to state that there is a considerable mean of fluctuation overhead from the stock market to the currency market, but not vice versa.
Using GARCH models to predict market fluctuations, Azliana et al. (2018) estimated VaR in both Islamic and conventional stock markets in Malaysia. They employed GARCH, CGARCH, and TGARCH to estimate VaR. According to their results, TGARCH of normal distribution was the best risk estimation model in Islamic and conventional stock markets.
In a paper, Moghadam (2016) adopted an optimal method to calculate VaR of investment funds by using a parametric method, the Monte Carlo method, and a historical simulation to measure VaR at 14 investment funds. The results of the Kupiec, Christoffersen, and Hendricks tests at confidence levels of 99% and 95% indicated that the Monte Carlo method was superior over other techniques in predicting potential losses of investment funds. Shawalpour et al. (2016) used CGARCH, GARCH, and EGARCH to calculate different VaR density distribution functions of OPEC crude oil. According to their results, CGARCH outperformed the other models by measuring the prediction error through t-student distribution criteria for predicting fluctuations and calculating VaR.
Vladimir Ranković et al. (2016) integrated the univariate GARCH and VaR for investment portfolio optimization. Their research results indicated high and low fluctuations in samples. Moreover, the univariate GARCH integrated with VaR outperformed the multivariate GARCH integrated with VaR in portfolio selection. Yu et al. (2011) prepared the optimal portfolios of MS and Google within the conditional VaR-mean framework. Their results showed that the selected portfolio returns matched the returns on the variance-mean model portfolio; however, the latter entailed higher risks. Najafi et al. (2017) analyzed the portfolio selection problem through conditional VaR, which they compared with the interval approach by considering uncertainty as opposed to certainty. According to their results, the proposed method outperformed the certain state. Moreover, the uncertain state showed stricter limitations than the strict state. Asgharpour and Reza Zadeh (2015) submitted a paper entitled Optimization of Stocks in Food Industries in which they used VaR. Their results indicated that the majority of capitals were allocated to the stocks of companies having the highest expected returns and the lowest VaR.
In another paper entitled Determining Optimal Portfolio of Stocks in Food Industries within VaR Framework, Asgharpour and Reza Zadeh (2014) used MRS-GARCH and bootstrapping methods. According to their results, the optimal portfolio had higher weights in both methods. This indicated the high and low rates of VaR.

Research Methods
In this method, the portfolio optimization principles resemble the Markowitz model; the difference is that investors seek lower VaR and higher returns (Bo, 2001). The problem must be solved through Equation 1 to obtain the optimal portfolio, i.e. optimal weights of each share and optimal portfolio VaR: In this equation, shows the portfolio VaR, and all the necessary pieces of information are available (VaR of each share, return mean of each share, and total returns of portfolios, i.e. weights of assets in the initial or existing portfolio). Moreover, refers to the weights of assets in the unknown portfolio.
As mentioned earlier, VaR is measured through MRS-GARCH models depicted in the following figure.

Arfima Model
ARMA and ARIMA models do not consider long-term memory properties. Therefore, To take into account the role of long-term memory in the return process, the autoregressive fractionally integrated moving average (ARFIMA) model is presented by (Granger at al , 1983).
Where L is lag operator, d is the fractional difference operator taking long memory, x is a white noise process with zero mean and constant variance, is the return mean. If therefore this process is stationary, ( ) is autocorrelation function and ( ) is moving average function (where both are p lags).

GARCH Models
General GARCH models are widely used in the estimation of volatility in the financial markets. Simple GARCH model shows us that volatilities are not constant over time. In this study, we used the standard specifications of the GARCH, EGARCH, IGARCH, FIGARCH, and FIEGARCH models under two types of distributions t-Student and GED.

GARCH Model
Where 0 ‫و‬ 0 0 0 1، and To better define the conditional variance of the GARCH model, all coefficients must be positive.

EGARCH Model:
By entering asymmetric reactions of time series to external shocks, EGARCH model is introduced. the asymmetric effect of positive and negative shocks to the GARCH model, EGARCH model is obtained (Nelson 1991).
is a leverage effect, is the conditional variance , is the error at t.

FIGARCH Model
To illustrate the long-term memory of financial market volatility, Bailey (1996) introduced the FIGARCH model by substituting a variable operator (1-L)with a fractional operator variable (1 ) , 0 1. The FIGARCH (1, d,1) model is described as follows: is the error at time t and is the conditional variance of at time t, L is the lag operator.
(1 ) is the fractional differencing operator. d is the long memory parameter in volatility and When 0 < d < 1 We have a stationary long memory process. (Baillie et al., 1996).

FIEGARCH Model
FIEGARCH (exponential FIGARCH) model is proposed by Bollerslev and Mikkelsen (1996), Which adds the asymmetric effect of positive and negative shocks to the FIGARCH model. They also proved that the FIEGARCH model for 0 <d <1 is stationary. (1 ) is the fractional differencing operator. d is the long memory parameter in volatility. If d=0 the FIEGARCH model becomes the conventional EGARCH model and IEGARCH model for d=1.When = 0, a leverage effect is allowed. (Bollerslev and Mikkelsen 1996).

Markov-Switching (MRS) Model
Markov Switching model is first proposed by Hamilton (1988Hamilton ( ,1989Hamilton ( ,1994. which allows all parameters of financial series to switch between to state. The transition probability represents the probability of switching from state i at t-1 to state j at t: is the transition probability or moving from state i to state j.
In other words, the sequence { } is assumed to be a stationary, irreducible Markov process with discrete state space {1, 2} and depends on the state of the economy and periods of a recession takes zero and boom takes one. We constrain that < , and states 1 and 2 stand for the low and high-volatility states, respectively. The parameters in which case the transition probability matrix P (2×2) can be as follows (Hamilton,1989): is information parameters at time t-1, is the vector of parameters, is the filtered probability in state i at time t-1 is equal ( | ) (Hamilton,1989).
The current regime is dependent on the regime of the previous period, also p indicates the probability that the economy will change from state one to state zero at time t. all of the variables of the MRS-ARFIMA, MSR-GARCH, MSR-EGARCH, MSR-IGARCH, MSR-FIGARCH, MRS-FIEGARCH model are estimated using the maximum likelihood estimation (MLE) Explained in (Shi et al. 2015) (Haas et al,2004) (Ho et al. 2013). , Haas (2009), Ho et al (2013. Shi et al (2015) by including MRS process in FIGARCHE model, The MRS-ARFIMA model is presented with two GED and t-student distributions as follows.

MRS-ARFIMA model is proposed by
Where L is lag operator; d is long memory parameter can switch between two states. is the return mean. If therefore this process is stationary, ( ) is autocorrelation function and ( ) is Moving average function (where both are p lags). It should be noted and and can switch between two states. MRS-GARCH model consists of four main parameters: conditional mean, conditional variance, conditional distribution, and regime process. Because the main purpose of the article is to measure and volatility forecasts the conditional mean simply modeled as: Where, i =1, 2 , √ and are zero mean and unit variance processes. For GARCH model The conditional variance for , Generally, the MRS-GARCH model can be written as follows : Where, is a mean of past conditional variances (Mariucci, 2005).

MRS-EGARCH Model
The exponential switching GARCH model can be written as equation (15) below: That has an independent and the same distribution (i.i.d.) With zero mean and unit variance.
Conditional variance follows an EGARCH process.log( )the conditional variance is approximate and completely positive and has no need for the nonnegative constraints used in GARCH models. This conditional variance equation shows the asymmetric effect of negative news on variance or leverage effect with coefficient θ (Sarang, 2014).

MRS-FIGARCH Model
The MRS-FIGARCH model was first proposed by Shi et al (2013). This extended model is extended of MRS-GARCH models which was previously used by (Hamilton, 1989). we use MRS-FIGARCHE model under two distributions of t-Student and generalized error(GED) to measure value at risk of stock returns, which is as follows: v is freedom degrees of t-student distribution, is conditional variance in state at time t and is the state the stock in at time t.

MRS-FIEGARCH Model
The MRS-FIEGARCH model was first proposed by Shi et al (2020). This extended model is extended of MRS-GARCH models which was previously used by (Hamilton, 1989). we use MRS-FIGARCHE model under two distributions of t-Student and generalized error(GED) to measure value at risk of stock returns, is an innovation of this research., which is as follows: t-Student and GED can affect fat-tail behaviors and leptokurtic behavior, both of these distributions are widely used in financial science in the GARCH family models (Shi and Feng, 2016). Also, in this research, we have used tstudent and GED distributions, the density functions are provided as follows: based on previous studies by entering asymmetric reactions of time series to external shocks, EGARCH model is introduced. however, it should be considered that EGARCH model does not include long-term memory in modeling fluctuations, so to overcome this limitation, the FIEGARCH model has been introduced. however, most models used up to now for share behavior have been based on linear or nonlinear models. Therefore, FIEGARCH models are more accurate in showing some statistical properties of the data such as long memory, fat tail, clustering of variances, and Show when the stock market is more volatile or calmer. On the other hand, Linear models are Unable to explain nonlinear behaviors such as asymmetry, Therefore, nonlinear Markov switching model is used. Since this model is known as the regime change model, it uses several equations to explain the variable behavior in different regimes. Since this model is known as the regime change model which uses several equations to explain the variable behavior in different regimes. The reason for the term regime change is used. That is, a policy variable may exhibit one behavior at a given time and another at another time. in this study, we use the MRS-FIEGARCH model with two distributions of t-Student and GED to modeling stock fluctuations and predict its price to form an optimal portfolio.
Due to the limited space of the present article to discuss the theoretical foundations regarding GARCH family models, distribution functions, and Markov switching it is suggested to see Ref. 20 for more information because the research background is not reviewed further here.

Research Findings
The data used in this research are the daily stock prices of selected industries including metal products, chemical products, petroleum products, investment from 2008/12/14 to 2019/06/10these series are sourced from the Tehran Stock Exchange (TSE) database. The logarithmic return ( ( )) was employed to calculate return ( ). In this equation, indicates the price on the t th day. Descriptive statistics of return time series of indices are presented in table 1. According to this table, the indices of all industries, except for oil products, are skewed to the left and have higher kurtosis than standard; therefore, these statistics show that the daily returns of the designated industries do not follow a normal distribution.

Time Series Durability Test
In the time series reliability analysis, if the sustained shock effect is permanent, the time series has a complete long-term memory. If the shock effect remains for a rather long time, the corresponding time series has a fractional root with long-term memory. However, if the momentum effect wears off quickly, the time series have a short-term memory (Najafi Moghadam, 2016). The augmented Dickey-Fuller (ADF) test was employed to conduct the unit root test on return time series. In this test, the null hypothesis is the existence of the unit root: The statistics obtained from the ADF and the Philips-Peron (PP) tests are smaller than the critical values of the significance level. Therefore, the null hypothesis stating the existence of the unit root is rejected, and durability is true.

Heteroscedasticity Test
The Lagrange multiplier test was used on the residuals of this time series with 10 delays. Table (3) shows the heteroscedasticity test results: Considering F and chi-squared statistics, chemical products and investment industries had autoregressive conditional heteroscedasticity (ARCH) effects; therefore, they are dealt with in the next steps for modeling conditional heteroscedasticity. Moreover, only mean models will be estimated for oil products and metal products.

Long-Term Memory
The Gewek-Porter-Hudak (GPH) test is employed to determine the existence of long-term memory in the time series of the selected industries. If the test statistic is not significantly different from zero, the null hypothesis stating the nonexistence of long-term memory cannot be rejected. Table 4 shows the results of using this test: According to the GPH test value, the existence of long-term memory is confirmed in returns on the index of each industry at a confidence level of 10%. At the same time, a positive value of lower than 0.5 was obtained for the long-term memory parameter; therefore, the durability (d) of time series is reconfirmed for the return variables of all industries. As a result, ARMA(p,q) becomes ARFIMA(p,d,q).
In the next step, the three Box-Jenkins steps were taken to perform the ARFIMA modeling process. After that, the Hannan-Quinn criterion (HQC) was revised. The final model of the indices of industries are as follows:  After the effects of ARCH and GARCH were confirmed on chemical products and investment industries, five GARCH models were estimated through two distributions t-student and GED 2 . In total, 10 models were analyzed. The following table shows the estimated models of mean and conditional variance for the above two industries.

Estimation of GARCH Models
According to a review of all the estimated models for the designated industries based on t-student and GED distributions, the conditional variance followed the GARCH structure in all industries. Moreover, all the mean and variance coefficients were significant at a confidence level of 10% based on the t statistics. Table (6) and (7) demonstrates the results of ARFIMA-GARCH models for the chemical industry.

Estimation of Markov Switching Models
Among all the designated industries, two industries lacked the ARCH effect; therefore, their mean models were estimated without considering their variance models. Table (8) shows the mean model results of oil products and metal products by considering the switching effect. Furthermore, the numbers inside parentheses indicate the regime, whereas the numbers outside parentheses indicate the model delays.  According to the results and considering the insignificant coefficients of variables for the previous period in the regime, both industries (metal products and oil products) are under no effects of the switching regime. After GARCH models were estimated for chemical products and investment industries, each model was estimated by the switching regime. Table (9) demonstrates the results of estimating Markov switching-GARCH models for the chemical industry.  In the above tables, 0 and 0 indicate y-intercepts of all models in Regime 1 and Regime 2, respectively. Moreover, and show the values about the variances of the previous period ( ) in conditional variance models in Regime 1 and Regime 2, respectively. Moreover, and refer to the values of squared disruptive expressions of GARCH and IGARCH, respectively, showing the coefficient of | | in EGARCH. Parameters and indicate the leverage coefficients in EGARCH, and θ shows the longmemory coefficient in the conditional variance model. According to the results of estimating the models presented in the above table, all of the above coefficients are significant at a confidence level of 10% in both regimes.

Determining Optimal Model for Industry
After five models were estimated for investment, chemical, and automotive industries simply under the switching assumption, the appropriate VaR estimation model was determined. For this purpose, the model with the maximum likelihood logarithm value was selected in each industry. Based on the Garcia-Perron likelihood ratio test for distribution functions, the optimal model was then extracted. Tables 11 and 12 show the results of these tests. According to the above table, FIGARCH yielded the maximum likelihood logarithm value among the other estimated models in the chemical and investment industries, in which it is considered the optimal model. In the next step, exceeded at the 5% level; therefore, t-student distribution was selected as the optimal distribution of stock returns in the investment industry. The steps in determining the optimal model and distribution for the stock return variable of the designated industries in the presence of switching effects are similar to those in the absence of switching effects.

Determining Final Optimal Models for Designated Industries
In this step, the optimal model and distribution are selected for each of the two industries in both switching and non-switching states through the above test. Table 13 indicates optimal models for the chemical products and investment industries having ARCH effects. Considering the test statistic, it can be concluded that all values exceeded at the 5% confidence level. In other words, the EGARCH-t model is optimal for each of the above industries by considering the switching model effects.

VaR Measurement in Designated Industries
After the optimal model and distribution are were determined for each industry through VaR calculation, the total index of fluctuations in the optimal model of each industry to measure the daily VaR of each industry at the 95% confidence level. Therefore, VaR values can be extracted from the following equations.

√
(21) In this equation, µ indicates the mean returns on indices of different industries, whereas h refers to the time series of stock returns in different industries, and shows the critical value of the normal distribution. Figures 1  and 2 show the VaR of the return rate in different industries within the 2008/12/14-2019/06/10 period. Moreover, the VaR diagrams for oil products and chemical products can be found in Appendix B in Ref. 13.

Metal Products Industry
Since this industry lacks ARCH effects and follows one regime, its trend is analyzed through simple modeling. According to Figure (1), there is no relationship between the return disruption components of this industry, and there is no complicated process in return. Therefore, the risk of this industry was below 0.06% of loss during the research period.

Investment Industry
According to a review of the risk time series in this industry as shown in Figure  4, the loss rate range between -1% and -2.5% within the 2008-2019 period. In fact, the investment industry risk showed a descending trend from September 2016 to September 2018.

VaR Estimation in All Designated Industries
After VaR was calculated in each of the designated industries by using the sliding window method, the corresponding VaR time series was estimated for a 7-35-week period in both effective and ineffective switching regimes. Finally, the resultant values were employed to calculate the portfolio VaR in that period.

Determining Optimal Investment Portfolio
In this section, Equation 1 was employed to develop an optimal portfolio with an emphasis on the portfolio VaR minimization. For this purpose, the correlation matrix was created for the indices of the designated industries. Table 16 presents the results of this matrix. According to the above table, there are positive and negative correlations between returns on the studied induces, except for a few in which coefficients are close to zero. Therefore, these coefficients cannot be neglected. With the assumption of a correlation between industries, the portfolio VaR will be obtained from the following equation: The nonlinear programming method was used in LINGO to obtain the weights of optimal portfolios and their VaR in each of the time horizons .  Tables 15 and 16 show the values of the optimal portfolio and VaR. According to the above tables, the results indicate a changing trend in the optimal weights of each of the six industries in the investment portfolio within the 7-35-week time horizon. Hence, it can be concluded that the optimal weights of the industries decreased in this period if their VaR increased. In the optimal portfolio, the highest weight belonged to the stocks which had highly expected returns and the lowest VaR of all the indices among the designated industries. Also, it can be concluded that the values of optimal weights of optimal portfolios for each of these industries differed in two regimes and nonregime states in each time horizon.

Portfolio Performance Evaluation
The sliding window approach was employed for each week in the posttest analysis of this study. The return-to-risk ratio was used to show the superiority of the optimal portfolio with return fluctuations calculated through switching effects over the optimal portfolio with return fluctuations determined without regime effects. As expected, the modeled approach yielded more appropriate conditions than the values obtained from the ratio. According to the research findings and a comparison drawn between the resultant VaR determined by considering the switching regime effects and disregarding regime effects for the calculation of the entire portfolio risk, it can be stated that the VaR obtained from MRS-EGARCH-t was superior in the optimal portfolio selection. Table 17 shows the results.

Discussion and Conclusion
In this study, MRS-GARCH (1,1), MRS-IGARCH(1,1), MRS-EGARCH(1,1), MRS-FIGARCH(1,d,1), MRS-FIEGARCH (1,d, 1) models were employed to estimate VaR and stock returns in each of the designated industries of oil products, investment, metal products, and chemical products. After that, the investment portfolio optimization problem was solved through the portfolio VaR minimization approach. According to the results, MRS-FIEGARCH was not selected as the optimal model for any of the designated industries to measure fluctuations in stock returns. This finding is consistent with the results reported by Almasi et al. (2017), whereas it is inconsistent with the results reported by Fakhafi et al. (2016) who employed FIEGARCH and showed that negative news had greater impacts on conventional banks than Islamic banks and that negative shocks persisted longer in conventional banks. In contrast with the results reported by Bidgoli et al. (2013), FIEGARCH model with the skewed t-student distribution outperformed the other parametric models in VaR prediction.
In consistence with the results reported by Kaporal and Zekich (2018) (2017), Rostami et al. (2018), and Sanzo (2018), the results showed that only chemical products and investment industries followed the regime transition function. Hence, based on calculation results and the optimal MRS-EGARCH-t model, higher weights of a portfolio belong to the industries with lower fluctuations in their stock returns (in other words, they have lower VaR). Moreover, the optimal shares of industries declined in the investment portfolio when returns fluctuations were higher, and vice versa. According to the results, it is recommended to invest in the industries with higher stability in stock prices and lower fluctuations in stock returns over time to create an optimal portfolio. This recommendation is consistent with the aim of the investment portfolio optimization problem, which is to minimize the investment portfolio risk for specific returns. It also indicates the high accuracy of the proposed model in VaR estimation. Finally, it is recommended to use other long-term memory models of the GARCH family such as FITGARCH and FIAPARCH in future studies to enhance the efficiency of the designed process and model the index risk of industries by considering the effects of macroeconomic variables on the risk of a portfolio consisting of stock indices of industries. Furthermore, a wide range of industries should be employed to measure VaR for portfolio optimization. It is also recommended to use the stocks of companies classified as subordinates to chemical industries and metal products to measure VaR for portfolio optimization.
Funding: This research received no external funding.