Fuzzy Forecast Based on Fuzzy Time Series

This chapter mainly uses fuzzy time series for interval prediction and long-term significance level analysis. In this study, the Taiwan Shipping and Transportation Index (Taiwan STI) is used to illustrate the prediction process. Nine steps have been used to establish the interval prediction of the Taiwan Shipping and Transportation Index (Taiwan STI), and Δ S is called a long-term significance level (up/down/ stable) is used to illustrate the long-term prediction significance level. By means of interval prediction and long-term prediction significance level, the future trends for this index and more internal messages related to this index can be provided to relevant researchers.


Introduction
In 1965, Zadeh [1] proposed the concept of fuzzy sets as a tool to test the unknown degree of membership. Many fuzzy studies then attempted to use this method as a theoretical framework, which is widely used in the research fields of natural sciences and social sciences, obtaining good study achievements . The fuzzy time series is also an analysis method derived from the concept of fuzzy sets. In 1993, Song and Chissom [18][19][20][21] successfully combined the concept of fuzzy sets with the time series model and began studies on fuzzy time series. Chen [3] proposed the simplified and easy-to-calculate method for Song and Chissom's model [18][19][20][21], so that the computation complexity of fuzzy time series is dramatically reduced. Lee and Chou [14] also proposed that rational settings of the lower and upper boundary in intervals of the universal set for fuzzy time series have improved their accuracy and reliability. Liaw [17] proposed a simple test method for whether a fuzzy time series has a fuzzy trend, in which the method is used to determine whether the data for analysis is in a steady state. Chou [12] added to Chen and Hsieh's defuzzification method [2] in the fuzzy time series, so that the long-term level for the series can be obtained, and the model originally used for single-point prediction can be applied to long-term prediction and interval prediction. This article mainly uses the algorithmic method of Chou's [12] research process for illustrating the fuzzy time series, taking the Taiwan Shipping and Transportation Index (STI) [23] as an example.
The remainder of this chapter is organized as follows. Section 2 presents the definition of fuzzy time series and Section 3 defines the long-term predictive significance level process. A numerical example of STI is shown in Section 4, and concluding remarks are mentioned in conclusion.

Definition of fuzzy time series
Fuzzy sets, presented by Zadeh [1], have numerous presentations, such as in fuzzy sets, fuzzy decision analysis, and fuzzy time series. The concept is also widely applied in social science article and applications . Fuzzy time series is developed rapidly since their introduction by Song and Chissom [18][19][20][21]. Current fuzzy time series methods have benefited from both theoretical developments as well as relevant applications in research , which has led to more diverse uses. This trend indicates that the development of fuzzy time series has markedly improved. The definitions of the fuzzy time series used in this article are described as follows.
Definition 1 [18][19][20][21]. A fuzzy number on the real line ℜ is a fuzzy subset of ℜ that is normal and convex.
Definition 2 [18][19][20][21]. Let Y t ð Þ t ¼ …; 0; 1; 2; … ð Þ , a subset of ℜ, be the universe of discourse on which the fuzzy sets f i t [18][19][20][21]. Let I and J be the index sets Definition 4 [18][19][20][21]. If, for any f j t À 1 ð Þ∈ F t ð Þ, where j ∈ J, there exists where i ∈ I, and a fuzzy relation R ij t; t À 1 ð Þ, such that where ∪ is the union operator. Then, R t; t À 1 ð Þis called the fuzzy relation between F t ð Þ and F t À 1 ð Þ. Thus, we define this as the following fuzzy relational equation: Definition 5 [18][19][20][21]. Suppose that This relation can be expressed as the following fuzzy relational equation: F t ð Þ ¼ F t À 1 ð Þ∘ R 0 t; t À m ð Þ , which is called the first-order model ofF t ð Þ. Definition 7 [18][19][20][21]. Suppose that F t ð Þ is simultaneously caused by F t À 1 ð Þ, F t À 2 ð Þ, …, and F t À m ð Þ m . 0 ð Þ. This relation can be expressed as the following fuzzy relational equation Þ ∘ R a t; t À m ð Þ , which is called the m th -order model of F t ð Þ. Definition 8 [3]. F t ð Þ is fuzzy time series if F t ð Þ is a fuzzy set. The transition is denoted as F t À 1 ð Þ!F t ð Þ. Definition 9 [7]. Let d t ð Þ be a set of real numbers: d t ð Þ ⊆ R. We define an exponential function where Definition 10 [14]. The universe of discourse Þ¼α. Definition 11 [14]. Assuming that there are m linguistic values under consideration, let A i be the fuzzy number that represents the i th linguistic value of the linguistic variable, where 1 ≤ i ≤ m. The support of A i is defined as follows: Definition 12 [17]. For a test H 0 : nonfuzzy trend against H 1 : fuzzy trend, where the critical region , the initial value of the significance level α is 0.2.
Definition 16 [8]. Let d t ð Þ ⊆ R. The least lower interval of d t ð Þ is a number min satisfying: 1. min is a lower interval for d t ð Þ such that x ≥ min for all x ∈ d t ð Þ and.

min is the least lower interval for
Definition 17 [8]. The long-term predictive value interval (min , max ! ) is called the static long-term predictive value interval. Definition 18 [2].
, …, n, be n triangular fuzzy numbers. By using the graded mean integration representation (GMIR) method, the GMIR value

Procedure of fuzzy time series forecasting
This section proposes a method to forecast the long-term predictive significance level by Chou. The stepwise procedure of the proposed method consists the following steps [8], illustrated as a flowchart in Figure 1 [5][6][7][8][9][10][11][12].
Step 1. Let d t ð Þ be the data under consideration and let F t ð Þ be fuzzy time series. Following Definition 11, a difference test is performed to determine whether stability of the information. Recursion is performed until the information is in a stable state, where the critical region is Step 2. Determine the universe of discourse U ¼ D L ; D U ½ . Figure 1.
Procedure of the proposed model.
Step 3. Define A i by letting its membership function be as follows: Step Step 5. Derive the transition rule from period t À 1 to t and denote it as Aggregate all transition rules. Let the set of rules be Step 6. The value of d t ð Þ can be predicted using the fuzzy time series F t ð Þ as follows.
be the set of rules fired by d t ð Þ, where supp P j À Á is the support of P j . Let supp P j À Á be the median of supp P j À Á . The Step 7. The long-term predictive value interval for d t ð Þ is given as (min , max ! ).

Numerical example of Shipping and Transportation Index in Taiwan
In this study, the Shipping and Transportation Index (STI) in Taiwan is used for a numerical example. The STI reflects the spot rates of the Taiwan Stock Exchange Corporation. The STI data are sourced from the Taiwan Stock Exchange Corporation [23], the historical data for which is defined here as the STI, and monthaveraged data for the period between January, 2015, and June, 2018, was collected.
Over these 42 data points, the analysis produces an average of 4.226, with a standard deviation of 0.172, maximum value of 4.571, and minimum value of 4.067. These descriptive statistics show that the STI has largely remained at the 1124.70 level. As shown in Figure 2, its current rate of return is negative. The following steps in the procedure are performed when using fuzzy time series to analyze STI.
Step 1. First, we take the logarithm of the STI data to reduce variation and improve the forecast accuracy, letting STIt ð Þ ¼ ln STI t ð Þ.
Step 2. Maintaining stationary data while forecasting helps to improve the forecast quality; therefore, we conduct a stationary test on the STI data. For fuzzy time series, a fuzzy trend test can measure whether the STI's fuzzy trend moves upward or downward. Using this fuzzy trend test, the STI data can be converted into a stationary series. If the original STI data exhibited a fuzzy trend, it can be eliminated by taking the difference. We then repeat the test after taking the first difference to measure if the STI data exhibits a fuzzy trend. If a fuzzy trend is again observed, then we take the second difference, and so on.
Letting STI t ð Þ be the historical data under consideration and fuzzy time series, a difference test is used (following Definition 11) to understand whether the stability of the information. Recursion is performed until the information is determined to be stable. Once the region ¼ 688:8, the STI data are considered in a stable state and are not rejected.
Step 3. According to the interval setting of the STI data, we define the upper and lower bounds, which facilitate dividing the linguistic value intervals later. From Definition 10, the discourse U ¼ D L ; D U ½ . From Table 1, D min ¼ 4:067 , D max ¼ 4:571, s ¼ 0:172, and n ¼ 42 can be obtained. Lettingα ¼ 0:05, since n is large than 30, a standard normal Z was used. Thus, Z 0:05 ¼ 1:645, Step 4. After defining the upper and lower bounds of the STI data in Step 3, we can define the SCFI range by determining the membership function as well as the linguistic values. We can also define the range of the subinterval for each linguistic value, assuming that the following linguistic values are under consideration: extremely few, very few, few, some, many, very many, and extremely many. According to Definition 11, the supports of fuzzy numbers that represent these linguistic values are given as follows: where A 1 = "extremely few," A 2 = "very few," A 3 = "few," A 4 = "some," A 5 = "many," A 6 = "very many," and A 7 = "extremely many." Thus, the supports are supp A 1 ð Þ  Table 1 shows the comparison between the actual SCFI data and the fuzzy enrollment data.
Step 6. We apply fuzzy theory to define the corresponding value for the intervals of the STI data, arrange the corresponding method for the STI data, and  Table 2 shows all transition rules obtained from Table 1. Step 7. We calculate each rule by determining all the rules of the STI, and the calculation results can be used to forecast future values. Table 1 shows the forecasting results from 201001 to 201806.
Step 8. The calculated STI rules can define the intervals of the STI data; using these intervals, we can determine the variation in future long-term intervals. The long-term predictive value interval for the STI is given as (3.726, 4.913). Thus, the long-term predictive interval for the STI is given as (41.506, 136.022). Therefore, the current long-term S STI is bounded by this interval. According to Step 8, the fuzzy STI of 201501 shown in Table 1 is A 5 , and from Table 2, we can see that the rules are the fuzzy logical relationships in Rule 8 of Table 2, in which the current state of fuzzy logical relationships is A 3 . Thus, the 201806 STI predictive value is 41.506.
Step   group. We used Table 1 data in our analysis according to the root mean square percentage error (R.M.S.P.E.) method, with an average prediction error of 1.708%. Figure 3 shows the forecast visitor arrivals determined through fuzzy time series analysis and the actual STI values. Based on the fuzzy time series results, the average STI is estimated to be 68.090 in 201806 ( Figure 3).

Conclusions and future work
In this article, a long-term predictive value interval model is developed for forecasting the STI. This model facilitates minimizing the uncertainties associated with fuzzy numbers. The method is examined by forecasting the STI by using data from which ΔS = 74.981 and ΔS >d t ð Þ is obtained. For index returns, the current rate of return is negative and its volatility is increasing. The long-term predictive significance level of the STI is at the ΔS level; the STI should thus exhibit extreme volatility.
The current model for the STI 201806 forecast level deviates insignificantly from the actual values for an average of 68.090 and is within the group; the prediction error does not exceed 1.708% of the significance level. By constructing a fuzzy time series forecasting model for the STI with an error of less than 1.708%, with the traditional fuzzy time excluded from the single-point forecast comparison, this model provides a long-term predictive significance level.
Furthermore, the proposed method can be computerized. Thus, by improving fuzzy linguistic assessments as well as the evaluation of fuzzy time series, decision makers can automatically obtain the final long-term predictive significance level.
The STI used in this chapter is used as a forecasting example. If you predict that the future will rise, you can use the buying strategy. For example, if the index returns in the future, you can use the selling strategy.
The four functions of management are mainly four functions: planning, organization, leadership and control. The fuzzy time series mode used in this chapter can be applied to controlled projects to compare and correct whether the re-executed work meets expectations. If you meet expectations, re-plan the original settings.