Skip to main content
MethodsX logoLink to MethodsX
. 2020 Dec 14;8:101184. doi: 10.1016/j.mex.2020.101184

A method for estimating width bands of variables in economics under uncertainty conditions

Reza Ashraf Ganjoei a,, Hossein Akbarifard b, Mashaallah Mashinchi c, Sayyed Abdol Majid Jalaee Esfandabadi d
PMCID: PMC7753204  PMID: 33364183

Abstract

This study develops a method to estimate the width bands of variables in economics by fuzzy logic. One of its important features is flexibility in the conditions of economic uncertainty, which can be used to model the uncertainty of external and internal factors on economic variables. In this study, for example, the effect of uncertainty of external factors on the Gini coefficient (income distribution) is investigated. For this purpose, we use the fuzzy logistic smooth transition autoregressive (FLSTAR) model and the Gini coefficient is estimated in three bounds (high, middle and low). The result of this estimation suggest that by appropriate policy making the Gini coefficient can be decreased to the lower bound. Another results of this study is that the authorities should prevent the increase of the Gini coefficient in the middle and upper bands with proper planning for the future. In brief,

  • This study introduces a novel method for estimating high, low and middle bounds of economic variables under uncertainty conditions.

  • One practical results of this method is to compare high, medium, and low bands of the variables with their current trends, which is a benchmark for policymaking and evaluating the effectiveness of government's policies.

  • Programs designed with this method are fast and have low cost

Keywords: FLSTAR model, Bounds, Gini coefficient

Graphical abstract

Image, graphical abstract


Specifications table

Subject Area: Economics and Finance
More specific subject area: Fuzzy Logic; Modeling uncertainty in economics
Method name: Fuzzy logistic smooth transition autoregressive (FLSTAR)
Name and reference of original method:
  • [1]

    Zadeh, Lofti A. Fuzzy sets, Information and Control 8.3 (1965): 338–353.‏

  • [2]

    Terasvirta, T., 1994. Specification, estimation, and evaluation of smooth transition auto- regressive models. Journal of the American Statistical Association 89, 208–218.

  • [3]

    Tsay, Ruey S. Testing and modeling threshold autoregressive processes. Journal of the American Statistical Association 84.405 (1989): 231–240

Resource availability: www.cbi.ir
www.mathwork.com

Data description

In this research, using the annual data during 1997- 2017 presented by the Central Bank of Iran (CBI; https://tsd.cbi.ir/DisplayEn/Content.aspx in [1]), the effect of foreign trade [2] as the degree of economic openness (OPEN), foreign direct investment (FDI), and integration of international trade (IIT), which represents the size of export and import of a country with other countries, is investigated via the Gini coefficient in Iran. Fig. 1-A, B and C shows FDI, OPEN and IIT, in which OPEN is decreasing over time and FDI has an unstable behavior. IIT fluctuates over time, but has declined in recent years. Fig. 1-D shows the trend of the Gini coefficient over time. The trend of this variable is stable over time.

Fig. 1.

Fig 1

A: Foreign direct investment (FDI), B: Degree of economic openness (OPEN), C: Integration of international trade (IIT), D: Gini coefficient.

Method details

Autoregressive models

One view on autoregressive models is that they provide good first-order approximations to the dynamics of the data-generating process. Statistical modeling of time series [3] is one of the oldest and most successful tools for predicting the future values of a time series as a combination of past values. Box and Jenkins [4] stated the future values of a time series as a linear combination of its past values in the form of an autoregressive (AR) model based on p ≥ 1 lagged values of yt, where p is the maximum order of the lag, as defined in (1):

yt=bxt+εt=b0+b1yt1++bpytp+εt,t=1,2,,n (1)

where b is vector of parameters, The symbol ´on the vector means its transpose vector Xt =(1,yt1,,ytp)andεtN(0,σ2) is usually known as white noise (or a random signal). For this model we write, yt ~AR)p), and {yt} generated from this model is called the AR)p) process. Model (1) indicates the current status of yt through the past values of yt1,,ytp in terms of a linear regression. This explicitly specifies the relationship between its current and past values. Box and Jenkins' [3,4] method covers a wide range of scientific fields such as biology, astronomy, and econometrics. Tong [5] proposed a nonlinear model called the threshold autoregressive model (TAR) which is divided into several models based on space-state idea and each is modeled by the autoregressive model. A TAR model with k (k 2) regimes is defined as (2):

yt=i=1kbiXtI(StAi)+εt=i=1k{bi,0+bi,1yt1+bi,pytp}I(StAi)+εt, (2)

where St is threshold variable, I is indicator function with values 0 and 1, bi is a vector of parameters, and {Ai} are the partition of the real line R= (-∞, ∞), so that:

i=1kAi=(,)andAiAj=,ij, (3)

Here for each set Ai=(ri1,ri) of the partition R, the model is expressed in an autoregressive form. This the partition is characterized by the threshold variable St and the threshold limits ri, where=r0<r1<<rk= [3].

Smooth transition autoregressive model

One of the key features of threshold autoregressive models is the discontinuous correlation of the autoregressive model. An alternative model called smooth transition autoregressive (STAR) model was proposed by Teräsvirta [3,6]. This model with k numbers of regimes is defined in (4),

yt=i=1kbiXtfi(St;i)+εt, (4)

wherebi is a vector of parameters, fi(St;i) is transition function,i consists of two variables γ and c, where γ represents the transition velocity between two bounds, and c is the transition point and {εt}~ N(0,σ2)usually known as white noise (equivalent to a random signal with a flat power spectral density)

The STAR model in (4) can be re-written as in (5),

yt=i=1kbiXtF(St;γi,ci)+εt, (5)

where, γi represents the transition velocity and ci is the transition point [3].

Fuzzy logic methodology

Fuzzy sets were introduced by L. A. Zadeh [7]. After introducing this notion, the fuzzy data were used for modeling uncertain information in the databases. Fuzzy logic involves a wide range of theories and techniques that are generally based on four concepts: fuzzy sets, verbal variables, membership function, and fuzzy if-then rules [8,9]. The fuzzy logic consists of three stages as fuzzification, fuzzy process (fuzzy inference) and defuzzification [10]. In this Section, we will review the application of fuzzy logic in prediction and modeling.

Fuzzy-based models

Fuzzy systems are knowledge or rule-based systems [3,11]. The heart of a fuzzy system is a knowledge based that is formed by fuzzy if-then rules. A fuzzy if-then rule is a conditional expression which is specified by continuous membership functions [3]. The fuzzy inference system (IFS) produces outputs based on inputs and by using fuzzy rules [3]. While dealing with time series problems, the Takagi-Sugeno-Kang (TSK) model is preferred to the other types. The TSK type fuzzy rule [3] is as in (6),

IFx1isA1ANDx2isA2ANDANDxpisApTHENy=bxt=b0+b1x1+b2x2++bpxp, (6)

wherexj is input variable and Aj is a fuzzy set. Given the fuzzy argumentation mechanism for the TSK rules, the firing strength of the ith rule is obtained as the t-norm (usually, multiplication operator) of the membership values of the premise part terms of the linguistic variables as in (7),

ω(x)=j=1pμAj(xj),withx=(x1,,xp) (7)

The membership function μAjcan be selected from a wide range of functions [3]. One of the most common ones is the Gaussian bell shaped as presented in (8):

μA(x)=1σ2πe12((xμ)/σ)2, (8)

However, it can also be a logistic function [3] as in (9):

μA(x)=11+exp(cxσ) (9)

The consequent is calculated as the average weight or total output weight of the rules. In the case of the total weight, the output is stated as in (10):

yt=G(xt;Ψ)=i=1RbiXtωi(xt), (10)

where G is the general nonlinear function with parameters ᴪ and R is the number of fuzzy rules in the system [3]. When a univariate time series {yt} is used for modeling or predicting, the TSK type fuzzy-based rules are expressed as in rule (11); all the variables yti are lagged values of the time series {yt}.

IFyt1isA1ANDyt2isA2ANDANDytpisApTHENyt=b0+b1yt1+b2yt2++bpytp. (11)

THE modelling CYCLE

In Sections 4.1, we summarize the basics of nonlinear models and fuzzy rules. The main focus here is the expression of the steps of the modelling cycle for calculating the upper, middle and lower bands of the Gini coefficient performed in Windows 10, 64-bit and MATLAB R2019a, which are as follows [12]:

Specifications of the LSTAR model

The logistic smooth transition autoregressive (LSTAR) model regime switches are associated with small and large values of the transition variable St relative to c. In certain applications it may be more appropriate to specify the transition function such that the regimes are associated with small and large absolute values of St (again relative to c). The transition variable St is a stochastic variable that is selected from among the independent variables or dependent variable [3] .In the LSTAR model, the transition function F(St;γi,ci)in Equation (12)isdefinedas:

Fi(St;γi,ci)={1fl(St;γi,ci)ifi=1,fl(St;γi,ci)fl(St;γi+1,ci+1)if1<i<k,fl(St;γi,ci)ifi=k, (12)

where the transition function is specified as in (13), Where fl(St;γi,ci)=(1+exp(γi(Stci)))1. The LSTAR model can be consequently rewritten as

yt=i=1kbixtF(St;γi,ci)+εt, (13)

where the transition function is specified as in (12). Parameters ci in (13)can be interpreted as the threshold between two regimes, in the sense that the logistic function changes monotonically from 0 to1as Stincreases and F(St;γi,ci)= 0.5. Parameterγi determines the smoothness of the transition from one regime to another. As γi becomes very large, the logistic function approaches the indicator function I (•); hence the change of F(St;γi,ci) from 0 to 1 becomes instantaneous at St → c. The LSTAR threshold autoregressive (TAR) models as a special case. Furthermore, when γ → 0 the LSTAR model reduces to a linear AR model [3].In this section, we will extend the methods used in previous studies [13,14]. The methodological proposal is to use a fuzzy rule-based system (FRBS) on a smooth transition autoregressive (STAR) model, the transition function of which is specified as the first-order logistic function [15].

G(St;v,c)=(1+exp{v(Stc)})1,v>0(identifyingrestriction),

where:

  • St is a transition variable, chosen in this manuscript as the so-called “degree of economic openness” (OPEN),

  • v is a parameter determining the smoothness of the change in the value of the logistic function, and

  • c is a threshold parameter.

If the transition function is specified as

G(St;v,c)=1ev(Stc)2,v>0,

then the resulting model is referred to as exponential STAR (ESTAR) model.

The novelty of this study is to present a method for estimating the width bands of the variables in economics under uncertainty conditions. Modeling the uncertainty of economic variables is very important. Via using the fuzzy rule-based system (FRBS) on LSTAR models with exogenous variables, suitable conditions are provided to investigate the effect of the uncertainty of the variables on the economy. When modeling every problem (for example, modeling the uncertainty of the variables in economics), although there are very complex theoretical foundations, all the complexities of economic system in modeling can be considered by the fuzzy rule-based system (FRBS) on LSTAR models with exogenous variables; this causes an increase in the accuracy of the answers.

Steps of the modeling cycle for the methodology LSTAR models

The main focus in this section is on modeling the nonlinear behavior of the variables in economics. For this purpose EViews software is used [16]. EViews can be used for general statistical analysis and econometric analyses, such as cross-section, panel data analysis and time series estimation, and forecasting. The EViews software handles nonlinear time series modeling. The input variables include: degree of economic openness (OPEN), foreign direct investment (FDI), and integration of international trade (IIT). In this study, the nonlinear LSTAR model is used to evaluate the behavior of the variables. In order to select the appropriate nonlinear model (LSTAR) in EViews software, we use Taylor's third-degree expansion, Lagrange multiplier (LM)-type tests and testing hypothesis, respectively [17], [18], [19], [20]. The steps of the modeling cycle for the methodology LSTAR models are as follows

Step 0 - stable variables: In the time series, the augmented Dickey Fuller test is the test trying to analyze whether the variables have unit roots or not. In 1974, Granger and Newbold found that there could have been a spurious regression problem if the variables are not stable.

ADF unit root test regression equation;

ΔYt=(ρ1)Yt1+ut=δYt1+ut

where Δ denotes the first difference value of the variable. The model is estimated as a result of the analysis and then the hypothesis H0: δ= 0 is applied to the variables. Since the variables in the serie are connected to a random variable, the H0 hypothesis can be interpreted that the unit root exists, that is, the variables are non-stationary. As the residual values are used in the ADF unit root test, t statistic with a special table is used instead of the standard t statistic value [21].

Step 1 - Testing linearity: One of the most important steps in estimating a smooth transfer regression model is to test the linear model against the nonlinear. The main question is that if the model is nonlinear, which process (ESTAR or LSTAR model) does it follow? Therefore, the null hypothesis based on the linear is defined as H0=0,v>0 [9,17]. In Eq. (14) when v=0, the LSTAR model reduces to a linear regression [18,20]:

G(st;v,c)=(1+exp{v(stc)})1,v>0. (14)

In this case, the parameters St and c are indefinite. The solution that Luukkonen et al. (1988) [17] and Teräsvirta (1994) [7] have proposed to solve this problem is to replace the transfer function with Taylor's approximation. After replacing the transition function by its third-order Taylor approximation around v = 0, the auxiliary regression model is obtained. Taylor's third-degree expansion is based on the suggestion made by Luukkonen et al. (1988) [17]. Thus, auxiliary regression of Relation (15) is written [22,23] as:

Yt=β0zt+i=1kβkz¯tstk+vt, (15)

where zt=(Wt,Xt) is a vector of explanatory variables, Wt=(1,yt1,yt2,,ytp)and Xt=(x1t,,xkt) are vectors of exogenous variables, St is the transfer variable, β0 linear coefficients of the auxiliary model, βknon-linear coefficients of the auxiliary model, zt=(1,zt¯), where zt¯ is a (m × 1) vector and vtiid (0, σ2), where the Lagrange multiplier (LM)-type tests is defined as:

LMW=T(SSR0SSR1)SSR0,

where, SSR0 is the sum of residuals squared, SSR1 is the sum of squared residuals and, T is time period. (LM)-type test can carried out in stages [3]:

  • (1)

    Regress yt on xt and compute the residual sum of squares SSR0=t=1Tσ^t2 where σ is the variance of ɛ

  • (2)

    Regress σ^t on xt and on the m (degrees of freedom) nonlinear regressors of (16). Compute the residual sum of squaresSSR1=t=1Tτ^t2

where τ^t2 is contains all the nonlinear regressors in (16),

yt=πxt+i=1Pj=1Pβijxixj+i=1Pj=iPk=jPβijkxixjxk+εt* (16)

where βij,βijk are coefficients,ε*=b1xtR(xt;γ,c),which means that ε*=ɛ under the null hypothesis. In this case, the null hypothesis is related to the linear relationship written as Eq. (13).

H0=β1=β2=β3=0

We use Akaike, Bayesian or Schwarz, and Hannan-Quinn criteria (henceforth AIC, BIC, and HQ) for determine the optimal lag. According to this criterion, the optimal lag for the variables is one. Table 1 presents the results of criteria AIC, BIC, and HQ.

Table 1.

Optimal lag determination.

The number of lag Criteria
AIC BIC HQ
0 −3.615 −4.019 −3.527
1 −4.718* −4.834* −5.230
2 −3.507 −3.516 −4.540
3 −4.315 −3.314 −3.517

Note: Computing Akaike, Bayesian (AIC) or Schwarz (BIC), and Hannan-Quinn (HQ) criteria for the optimal lag.

We now write the functions required for Taylor's first to third approximations that we need in this study. In Eqs. (17) to (28), βit, i = 0, 1, 2, 3 and t = 1, 2 , … , 5 are real coefficients to be estimated, GinitisGinicoefficient, FDI is foreign direct investment, IIT is integration of international trade and OPEN is the degree of economic openness and Ginit1 is Gini coefficient of the previous period (estimation results are in appendix). For the foreign direct investment variable, the first to third Taylor's approximations are as (17), (18), (19),

Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(FDIt1*Ginit1)+β12(FDIt12)+β13(FDIt1*OPENt1)+β14(FDIt1*IITt1)+εt, (17)
Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(FDIt1*Ginit1)+β12(FDIt12)+β13(FDIt1*OPENt1)+β14(FDIt1*IITt1)+β21(Ginit1*FDIt12)+β22(FDIt13)+β23(OPENt1*FDIt12)+β24(IITt1*FDIt12)+εt, (18)
Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(FDIt1*Ginit1)+β12(FDIt12)+β13(FDIt1*OPENt1)+β14(FDIt1*IITt1)+β21(Ginit1*FDIt12)+β22(FDIt13)+β23(OPENt1*FDIt12)+β24(IITt1*FDIt12)+β31(Ginit1*FDIt13)+β32(FDIt14)+β33(FDIt13*OPENt1)+β34(FDIt13*IITt1)+εt. (19)

For the degree of economic openness, Taylor's first to third approximations are as (20), (21), (22),

Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(OPENt1*Ginit1)+β12(OPENt1*FDIt1)+β13(OPENt12)+β14(OPENt1*IITt1)+εt, (20)
Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(OPENt1*Ginit1)β12(OPENt1*FDIt1)+β13(OPENt12)+β14(OPENt1*IITt1)+β21(Ginit1*OPENt12)+β22(FDIt1*OPENt12)+β23(OPENt13)+β24(IITt1*OPENt12)+εt, (21)
Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(OPENt1*Ginit1)+β12(OPENt1*FDIt1)+β13(OPENt12)+β14(OPENt1*IITt1)+β21(Ginit1*OPENt12)+β22(FDIt1*OPENt12)+β23(OPENt13)+β24(IITt1*OPENt12)+β31(Ginit1*OPENt13)+β32(FDIt1*OPENt13)+β33(OPENt14)+β34(IITt1*OPENt13)+εt. (22)

for the integration of international trade, Taylor's first to third approximations are as (23), (24), (25); and

Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(IITt1*Ginit1)+β12(IITt1*FDIt1)+β13(IITt1*OPENt1)+β14(IITt12)+εt, (23)
Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(IITt1*Ginit1)+β12(IITt1*FDIt1)+β13(IITt1*OPENt1)+β14(IITt12)+β21(Ginit1*IITt12)+β22(FDIt1*IITt12)+β23(OPENt1*IITt12)+β24(IITt13)+εt, (24)
Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(IITt1*Ginit1)+β12(IITt1*FDIt1)+β13(IITt1*OPENt1)+β14(IITt12)+β21(Ginit1*IITt12)+β22(FDIt1*IITt12)+β23(OPENt1*IITt12)+β24(IITt13)+β31(Ginit1*IITt13)+β32(FDIt1*IITt13)+β33(OPENt1*IITt13)+β34(IITt14)+εt. (25)

for Gini coefficient with one the of lag, Taylor's first to third approximations are as (26), (27), (28).

Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(Ginit12)+β12(FDIt1*Ginit1)+β13(OPENt1*Ginit1)+β14(IITt1*Ginit1)+εt, (26)
Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(Ginit12)+β12(FDIt1*Ginit1)+β13(OPENt1*Ginit1)+β14(IITt1*Ginit1)+β21(Ginit13)+β22(FDIt1*Ginit12)+β23(OPENt1*Ginit12)+β24(IITt1*Ginit12)+εt, (27)
Ginit=β01+β02Ginit1+β03FDIt1+β04OPENt1+β05IITt1+β11(Ginit12)+β12(FDIt1*Ginit1)+β13(OPENt1*Ginit1)+β14(IITt1*Ginit1)+β21(Ginit13)+β22(FDIt1*Ginit12)+β23(OPENt1*Ginit12)+β24(IITt1*Ginit12)+β31(Ginit14)+β32(FDIt1*Ginit13)+β33(OPENt1*Ginit13)+β34(IITt1*Ginit13)+εt. (28)

Step 2 - Choice of the transition variable: In order to select the transfer variable, according to Taylor's first to third approximations, LMW statistic [20] is calculated for each of the independent variables. The variable that has the highest LMW test statistic among the other variables is selected as the transfer variable [19]. For further reading see [19,24].

Step 3 - Choice of the transition function: If the model is non-linear, the appropriate form must be selected for the transfer function. For this purpose, the following hypotheses are tested in order:

H1:β3=0H2:β2=0|β3=0H3:β1=0|β2=0,β3=0

where | the term is conditional.

If the H1 hypothesis is rejected, the model will have the LSTAR pattern, and if the H1 hypothesis is accepted, the H2 hypothesis is tested. If this hypothesis is rejected, the model will have the ESTAR model, otherwise, the hypothesis H3will be tested. IfH3 is rejected, the model will have the LSTAR model.

Step 4 - Transition velocity v and transition pointci are determined by using the Newton-Raphson algorithm [21]. Transfer point c and transfer velocity point v, are calculated based on Eq. (28), where αi, i = 0,1,…,4 and βi, i = 0,1,…,4; also, αi and βi are real coefficients of the linear and non-linear parts of the model (29), respectively, the estimates of which are provided in Appendix, Table 13, p.31. GinitisGinicoefficient, FDI is foreign direct investment, IIT is integration of international trade and OPEN is the degree of economic openness and Ginit1 is Gini coefficient of the previous period. Thus, we guess the initial approximations of these two points to achieve the convergence among them (estimation results are in Appendix).

Gini=α0+α1Ginit1+α2FDIt1+α3IITt1+α4OPENt1+(β0+β1Ginit1+β2FDIt1+β3IITt1+β4OPENt1)*(1+exp{v(OPENt1c)})1+εt, (29)

Step 5 - The threshold values of the transition function are calculated based on the following relationship

G(st;v,c)=(1+exp{v(stc)})1,v>0.

The LSTAR model as a regime-switching model can include two thresholds. The amount of thresholds depends on the amount of transition function, so that the value of the transfer function can have values 0 and 1. Parameter c can be interpreted as the thresholds between two regimes. The threshold value in the LSTAR model is related to small and large absolute values of st (again relative to c). See [20,24,25].

Modeling cycle for the methodology FRBS in the framework of LSTAR models

Today, fuzzy systems are extensively used in various sciences. In this study, MATLAB software [12], is used present the manner of to design a fuzzy model. To enter the fuzzy environment in MATLAB software, we use the fuzzy command. Then the following page appears.

On this page, there are input membership functions (input1), output membership functions (output 2), and inference engine (Mamdani) Fig. 2. Fuzzy rules are used in inference engine for creating the acceptable answer. In the previous steps (1–5) the LSTAR modeling method was described. In Step 6 the LSTAR estimation method is expressed using fuzzy logic.

Fig. 2.

Fig 2:

Input membership functions (input1), output membership functions (output2), and inference engine (Mamdani).

Step 6 - The modeling cycle for the methodology FRBS in the framework of LSTAR models is as follows. The construction of the fuzzy inference system consists of four parts, which are shown in Fig. 3. For more information.

Fig. 3.

Fig 3

Main components of a fuzzy inference system [10].

A-Fuzzifier: The first step in creating a fuzzy system is to define inputs and membership functions. Membership functions should be structured in such a way that they clearly convey the meanings of the relevant linguistic words. In this study, the input and output membership functions is of the Gaussian type written as follows:

μA(x)=exp(xc)22σ2,

where x input value σ is the standard deviation and c is the mean inputs. Fig. 4-C, D, E, F and G represents the input membership functions. Fig. 4-H represents the output membership function (as presented in Appendix).

Fig. 4.

Fig 4

C: membership functions FDI, D: membership functions IIT, E: membership functions OPEN, F: membership functions TR G: Gini coefficient, H: membership functions Gini coefficient with one lag Gini t-1.

B-Rule Base: Fuzzy rule base is a phrase with an if-then structure. The number of rules required depends on the number of indicators and the number of classes in each indicator and is calculated according to the I = m tob power n, where m is the number of status and n number of input.

Fuzzy rules have two parts: "if part" and "then part"; they are mainly expressed as the following statements:

ifx1isA1randx2isA2randxnisAnrthenisBr,

Air are fuzzy sets such as large, medium, positive large, and r represents the rth rule. B is the output of the system. In this study, fuzzy rules are written based on Table 2. The representation of the rules in MATLAB software is shown in Fig. 5 (as presented in Appendix).

Table 2.

Inference rules of FIS.

Rules IF
THEN
FDI IIT OPEN GINIt-1 TR Gini coefficient Degree
1 High High High middle Low High 1
2 High High middle Low Low High 1
3 High High Low middle Low High 1
4 middle High High High Low Middle 1
5 middle High middle Low Low Middle 1
6 middle High Low middle Low Middle 1
7 Low High High Low Low Middle 1
8 Low High middle High Low Middle 1
9 Low High Low Low Low Low 1
. . . . . . . .
. . . . . . . .
. . . . . . .
243 Low Low Low middle middle Low 1

Note: Fuzzy rules based on input variables included: foreign direct investment, degree of economic openness, integration of international trade and output variable Gini coefficient.

Fig. 5.

Fig 5

Rule representation of the proposed FIS.

C-Inference engine: Inference engine is a component of the system that applies logical rules to the knowledge base in order to deduce new information.

D-Defuzzification: In this section, the fuzzy output obtained in the previous section is converted into a non-fuzzy number. There are five common ways to do this: centroid, bisector, middle of maximum, smallest of maximum, and largest of maximum.

In this study, the centroid method is used in the defuzzification, and the irregularity is covered by the desired fuzzy number. The centroid method is as follows:

output=x.μ(x)dxμ(x)dx,

where μ is the fuzzy number membership function of the input.

Step 7  -In order to estimate the Gini coefficient of high, middle and low bands in accordance with (30), the inputs are initially analyzed according to the fuzzy-rules base [11] as in (3). The transfer function consists of three parameters of c˜, v˜, and S˜t.

Gini˜i,t(Gini˜tj,FDI˜,OPEN˜,IIT,˜S˜it,c,˜v˜)=j=1nαjGini˜tj+j=1nαjFDI˜tj+j=1nαjOPEN˜tj+j=1nαjIIT˜tj+G˜(S˜it,v˜,c˜)*{j=1nαjGini˜tj+j=1nαjFDI˜tj+j=1nαjOPEN˜tj+j=1nαjIIT˜tj}G˜(S˜it,v˜,c˜)=11+exp(v˜(S˜itc˜)) (30)

where i = 1, 2, … , N, where N = 3 and N is number of width bands, t = 1, 2, … , T, where T is the last year studied, namely 2017, j = 1, 2, … , n, where n = 20, and n is the range of the study period (1997–2017),where Gini coefficient Gini˜, the effect of foreign trade as the degree of economic openness (OPEN),(Ginit1) Gini coefficient of the previous period, foreign direct investment (FDI, integration of international trade (IIT), transition variable S˜, transition point c˜, transition velocity v˜ all of which are fuzzified. Note that ~ means the notion used is fuzzified.

Applying the modeling cycle of FRBS in the framework of LSTAR models for estimating gini coefficient bands

Step 0 - Stable variables in Table 3, the unit root test shows that the null hypothesis can only be rejected after the first order differencing (1) for all the selected variables at one and 1 per cent level of significance. This is evidenced by ADF test result at the ordinary level, which shows that the computed negative ADF test statistics for each variable, is less than the Mackinnon (1991) critical value in the absolute term. Thus, the null hypothesis is accepted at level series indicating that all the variables are non-stationary at level but only became stationary after the first order unit root differencing (screening).

Table 3.

Summary of the unit root test result.

Variables At Level
First Order Difference
ADF Test Stat Order of Integration ADF Test Stat Order of Integration
Gini −2.612 −4.667 (1)
FDI −2.594 −3.756 (1)
IIT −1.387 −3.942 (1)
OPEN −2.294 −4.651 (1)
Note: Critical Value:
1% = −3.737
5% = −2.991
10% = −2.634
Critical Value:
1% = −3.737
5% = −2.991
10% = −2.635

Note: Estimations for the unit root test result

* = 10% level of significance

** = 5% level of significance

*** = 1% level of significance.

Step 1 - The LM test results for linear and nonlinear models are shown in Table 4, where the values of K = 1, K = 2, K = 3 represent the first-, second-, and third-order Taylor's approximations, respectively.

Table 4.

Selecting transition variables using Taylor's approximation.

Variables Values
K = 1 K = 2 K = 3
IIT 3.31
(0.039)
3.65
(0.044)
2.97
(0.038)
OPEN 3.99
(0.017)
4.74
(0.009)
5.44
(0.005)
FDI 3.97
(0.017)
3.64
(0.037)
3.41
(0.042)
GINI t-1 3.51
(0.031)
3.37
(0.025)
3.42
(0.041)

Note: The LM test results for selecting linear or non-linear models and transfer variable.

Step 2 - According to Table 4, the statistical value for OPEN is higher than the critical value of other variables. So, it is selected as the transfer variable. Transition means that it has the most nonlinear behavior compared to other variables.

Step 3 - According to the description of Step 3 of the modeling cycle in Sub-section 5.2, the LSTAR transition function is selected, as shown in Table 5.

Table 5.

Selecting the transition function.

Test statistics F3 F2 F1 Proposed model
Statistics LM (prob) 2.17
(0.864)
2.82
(0.632)
3.77
(0.037)
LSTAR

Note: P-values and F test results for selecting LSTAR transition function.

Step 4 - The values of velocity and transfer point are estimated at 0.541 and 0.432, respectively, as shown in Table 6. See the EViews output in Appendix, Table 13, p.31.

Table 6.

The velocity and transition points using Newton Raphson's algorithm.

Transition velocity γ Transition pointci
0.541 0.432

Note: Calculating transfer point c and transfer velocity point v, based on the initial approximations.

Step 5 - The low threshold is calculated as 0.41. and the high threshold is calculated as 0.47. All the calculations of Steps 1–5 are performed in Windows 10, 64-bit and Eviews10 software.

Step 6 - We used fuzzy logic to calculate the transition function values, as in Table 2, in three classes as high, middle, and low bounds. Accordingly, when the transition function is in the high bound, the value of the Gini coefficient is in the high bound (high width). Similarly, when the transition function is in the middle bound, the Gini coefficient is in the middle bound (front). When the transition function is in the low bound, the Gini coefficient is in the low bound (low width).

Transition variable (OPEN) and nonlinear tests are chosen according to [9,19,26]. The innovation of this study is in using the logistic smooth transition autoregressive model in the form of fuzzy-based rules and fuzzy database. Accordingly, the logistic smooth transition autoregressive model that is generalized by [18,19,27] will be as in (31). To study the calculations on fuzzy numbers refer to [28].

Gini˜i,t(Gini˜tj,FDI˜,OPEN˜,IIT,˜S˜it,c,˜v˜)=j=1nαjGini˜tj+j=1nαjFDI˜tj+j=1nαjOPEN˜tj+j=1nαjIIT˜tj+G˜(S˜it,v˜,c˜)*{j=1nαjGini˜tj+j=1nαjFDI˜tj+j=1nαjOPEN˜tj+j=1nαjIIT˜tj}G˜(S˜it,v˜,c˜)=11+exp(v˜(S˜itc˜)), (31)

In model (31), i = 1, 2, … , N, where N = 3 and N is number of width bands, t = 1, 2, … , T, where T is the last year studied, namely 2017, j = 1, 2, … , n, where n = 20, and n is the range of the study period (1997–2017), where Gini˜i,t,Gini˜tj,FDI˜,OPE˜,IIT,˜S˜it,c,˜v˜, respectively, refers to the Gini coefficient, the Gini coefficient of the previous period, foreign direct investment, degree of economic openness, integration of international trade, transition variable, transition point,and transition velocity, all of which are fuzzified. In this study, OPEN˜ is the transition variable, and G˜ is the transition function (TR). In order to obtain the transaction function in high, low, and middle bounds, in accordance with (31), the inputs are initially analyzed based on fuzzy- rules as shown in Fig. 6.

Fig. 6.

Fig 6:

Transition function parameters (input) and transition function (output) using the fuzzy database.in Table 3.

The transfer function consists of three parameters as c˜, v˜, and S˜it. The value of the transfer function is calculated using the fuzzy logic and according to Table 7.

Table 7.

Calculating transition function based on input parameters.

Bounds Transition function parameters (input)
Transition function (output)
Transition point c Transition velocity v Transition variable S (OPEN)
Low bound (0, 0.25) (0, 0.21) (0, 0. 38) (0, 0.339)
Middle bound (0.25, 0.375) (0.21, 0.5) (0. 38, 0. 67) (0.339, 0.5)
High bound (0.375, 0.75) (0.5, 0.99) (0. 67, 1) (0.5, 1)

Note: Computing the value of transition function in three classes as high, middle, and low bounds based on parameters as c˜, v˜, and S˜it.

The values of transition function in three classes as high, middle, and low bounds are estimated. Accordingly, when the transition function is in the high bound, the value of the Gini coefficient is in the high bound (high width). Similarly, when the transition function is in the middle bound, the Gini coefficient is in the middle bound (front), and when the transition function is in the low bound, the value of Gini coefficient is in the low bound (low width). The Gaussian function is used for the membership function related to the output variable of the transition function; The Gaussian function is used because the covered domain can be carefully adjusted. It should be noted that in the present study, there are 3 fuzzy sets (low, middle, and high) and the number of input variables is 3 which are c˜, v˜, and S˜it. Therefore, the number of the required rules will be 27 [29]. Fig. 7-A shows the transition function (degree of economic openness is the transition variable). The effect of the other parameters of the transition function along with the transition variable on the transition function is shown in Fig. 7-B,C.

Fig. 7.

Fig 7

A: Transition function in terms of the transition variable (degree of economic openness, B: Transition function in terms of the transition velocity and transition point and C: Transition function in terms of the transition variable and transition point.

After determining the bounds of the transition function, in the next stage, a domain is determined on each of the input variables (foreign direct investment, degree of economic openness, and integration of international trade). For this purpose, all the data are initially transferred to the values in [0,1]. Prior to drawing the membership functions, in order to specify the range of linguistic variables (foreign direct investment, degree of economic openness, and integration of international trade), the mean values, mean difference from standard deviation, and total mean and standard deviation of each variable must be calculated. In this case, the range of low linguistic variable will be from the mean to 0. The range of middle linguistic variable will be from total standard deviation and mean to the difference of standard deviation and mean. Finally, the range of high linguistic variable will be from the mean to 1. In Table 8, the values are presented for the three variables.

Table 8.

Descriptive statistical indicators for input variables based on the calculation by the authors.

Descriptive statistical indicators Foreign Direct Investment (FDI) Integration of International Trade (IIT) Degree of economic Openness (OPEN) Gini coefficient with one the of lag (Gini t-1)
Mean 0.523 0.731 0.038 0.398
Standard deviation 0.354 0.138 0.028 0.010
Total mean and standard deviation 0.877 0.869 0.067 0.387
Difference of standard deviation and mean 0.168 0.592 0.009 0.408

Note: Determined domain for each of the input variables included: foreign direct investment, degree of economic openness, integration of international trade for high, middle, and low bounds.

In the fuzzy inference stage, the required linguistic rules must be determined to link the input and output variables. In this study, following previous studies such as [29], to fuzzify of the above (Table 8) variables, in the first stage, the low (L), middle (M), and high (H) linguistic expressions are used for each of the input and output variables. Then, the Gaussian membership function is used for each of the linguistic expressions in each of the input variables [6,29]. Now, based on fuzzy logic and in accordance with Fig. 8, the effectiveness of transition function and independent variables for the Gini coefficient are specified. To calculate the value of the high, low, and middle bounds (proportional to the high, low, and front width) for the Gini coefficient, in accordance with Table 14 three situations (presented in Appendix) are considered for the transition function (the number of the required rules will be 243). Table 14 is obtained based on [30]. Fig. 9-A shows the effect of the transition function and transition variable (OPEN) on the Gini coefficient. The effect of other independent variables such as foreign direct investment, integration of international trade, and transition function on the Gini coefficient is shown in Fig. 9-B and C (presented in Appendix). The three-dimensional space is better for examining the effect of the two variables. In Fig. 7-A, by increasing TR and OPEN, the Gini coefficient first increases, and, again, by increasing TR and OPEN, the effect becomes constant. Finally, it decreases the Gini coefficient. In Fig. 7-B, by increasing IIT and OPEN, the Gini coefficient first increases, again by increasing IIT and OPEN, the effect becomes constant. Finally, it decreases. In Fig. 7-C, by increasing FDI and OPEN, the Gini coefficient first increases, again by increasing FDI and OPEN, the effect becomes constant and finally decreases the Gini coefficient.

Fig. 8.

Fig 8:

Transition function, independent variables (input) and Gini coefficient (output) using fuzzy database.

Fig. 9a.

Fig 9

A: Effect of transition variable (OPEN) and transition function on the Gini coefficient using Eq. (31).

Fig. 9bc.

Fig 9bc

B: Effect of transition variable (OPEN) and integration of international trade on the Gini coefficient by using Eq. (31) and C: Effect of transition variable (OPEN) and foreign direct investment on the Gini coefficient by using Eq. (31).

Step 7 - In the next stage, which is the defuzzification stage, the value of Gini coefficient is obtained. In this study, the linguistic rules are used and the linguistic dataset [6,30] is shown in Table 14. All the relevant calculations are performed on Windows 10, 64-bit and MATLAB R2018a [12].

These results are presented in Table 9. The high, low, and middle width of the Gini coefficient is calculated and compared with the traditional value of the Gini coefficient appeared in Fig. 10.

Table 9.

Traditional value of Gini coefficient of high, low, and middle calculated by the author using Eq. (31).

Year Gini coefficient Gini bound low Gini bound middle Gini bound high
1997 0.402 0.382 0.434 0.476
1998 0.396 0.344 0.456 0.483
1999 0.400 0.319 0.443 0.497
2000 0.399 0.308 0.468 0.488
2001 0.398 0.347 0.449 0.519
2002 0.419 0.411 0.472 0.524
2003 0.415 0.365 0.481 0.517
2004 0.399 0.348 0.476 0.501
2005 0.402 0.378 0.48 0.505
2006 0.400 0.385 0.448 0.541
2007 0.404 0.389 0.493 0.53
2008 0.385 0.321 0.464 0.468
2009 0.393 0.351 0.462 0.541
2010 0.381 0.368 0.497 0.517
2011 0.375 0.334 0.49 0.499
2012 0.383 0.341 0.491 0.507
2013 0.395 0.321 0.498 0.508
2014 0.399 0.374 0.475 0.499
2015 0.398 0.391 0.478 0.491
2016 0.404 0.343 0.486 0.521
2017 0.400 0.365 0.481 0.51

Note: Comparing traditional value of Gini coefficient with the high, low, and middle width of the Gini coefficient.

Fig. 10.

Fig 10:

Comparing traditional value of Gini coefficient with high, low, and middle width by using Eq. (31).

Conclusion

In this paper, a method is presented for estimating the bands of economic variables under uncertainty conditions. A practical example is given for estimating Gini coefficient of high, middle and low bands. For this purpose, the fuzzy logistic smooth transition autoregressive (FLSTAR) mode, is used which presents the application of fuzzy sets in regression. One of the merits of FLSTAR model is flexibility in modeling and strong explanatory power, because by calculating the bands of variables in economics, for example, the Gini coefficient, comparing it with the traditional value of Gini coefficient in different years, and calculating the difference between this value and other bounds (high, low, and middle), the adverse effect of long-term class gap can be specifically considered. These results are important as, they can be a guide for policy makers, because the value of the Gini coefficient can be reduced until the low width, and its current trend is not compatible with the optimal use of facilities. Therefore, in the foreign policies, it is suggested that the state pursues the policies of removing barriers to free trade and membership in World Trade Organization. The proposed approach is just one application of FLSTAR and it can be applied in the subjects such as insurance, taxes, tariffs, subsidies, and commerce.

Declaration of Competing Interest

The authors declare that they have no known competing for financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Funding source

None

Footnotes

Supplementary material associated with this article can be found, in the online version, at doi:10.1016/j.mex.2020.101184.

Contributor Information

Reza Ashraf Ganjoei, Email: ashrafganjoei@aem.uk.ac.ir.

Hossein Akbarifard, Email: hakbarifard@uk.ac.ir.

Mashaallah Mashinchi, Email: mashinchi@uk.ac.ir.

Sayyed Abdol Majid Jalaee Esfandabadi, Email: jalaee@uk.ac.ir.

Appendix. Supplementary materials

mmc1.docx (224.5KB, docx)

References

  • 1.www.cbi.ir.
  • 2.Lim G.C., McNelis PD. Income Inequality, Trade and Financial Openness. Proceedings of the joint RES-SPR Conference on Macroeconomic Challenges Facing Low-Income Countries; Washington, DC; International Monetary Fund; 2014. January 30 - 31. [Google Scholar]
  • 3.Aznarte J.L., Medeiros MC., Benítez JM. Linearity testing for fuzzy rule-based models. Fuzzy Sets Syst. 2010;161.13:1836–1851. [Google Scholar]
  • 4.Young W.L. The Box-Jenkins approach to time series analysis and forecasting: principles and applications. RAIRO-Operations Research-Recherche Opérationnelle. 1977;11(2):129–143. [Google Scholar]
  • 5.H. Tong, K.S. Lim, Threshold autoregression, limit cycles and cyclical data. In: Exploration Of A Nonlinear World: An Appreciation of Howell Tong's Contributions to Statistics. 2009. p. 9–56.‏
  • 6.Teräsvirta T. Specification, estimation, and evaluation of smooth transition autoregressive models. J. Am. Stat. Assoc. 1994;89.425:208–218. [Google Scholar]
  • 7.Zadeh LA. Fuzzy sets. Inf. Control. 1965;8.3:338–353. [Google Scholar]
  • 8.Lindström T. A fuzzy design of the willingness to invest in Sweden. J. Econ. Behav. Organ. 1998;36.1:1–17. [Google Scholar]
  • 9.Villavicencio A.L. Nonlinearities or outliers in real exchange rates? Econ. Model. 2008;25.4:714–730. [Google Scholar]
  • 10.Pourjavad E., Shahin A. The application of Mamdani fuzzy inference system in evaluating green supply chain management performance. Int. J. Fuzzy Syst. 2018;20.3:901–912. [Google Scholar]
  • 11.Aznarte J.L. Diss. Universidad de Granada; 2008. Modelling Time Series Through Fuzzy Rule-Based models: a Statistical Approach.https://digibug.ugr.es/bitstream/handle/10481/2061/17674591.pdf [Google Scholar]
  • 12.www.mathwork.com.
  • 13.Ganjoei R.A. Estimation of upper and lower bounds of Gini coefficient by fuzzy data. Data Brief. 2020;29 doi: 10.1016/j.dib.2020.105288. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Dubois D., Prade H. Systems of linear fuzzy constraints. Fuzzy Sets Syst. 1980;3.1:37–48. [Google Scholar]
  • 15.Aznarte J.L. Fuzzy autoregressive rules: towards linguistic time series modeling. Econom. Rev. 2011;30.6:646–668. doi: 10.1080/07474938.2011.553569. [DOI] [Google Scholar]
  • 16.www.eviews.com.
  • 17.Luukkonen R., Saikkonen P., Teräsvirta T. Testing linearity against smooth transition autoregressive models. Biometrika. 1988;75.3:491–499. [Google Scholar]
  • 18.Teräsvirta T. Handbook of Applied Economic Statistics. Marcel Dekker; New York: 1998. Modelling economic relationships with smooth transition regressions; pp. 507–552. [Google Scholar]
  • 19.Tsay RS. Testing and modeling threshold autoregressive processes. J. Am. Stat. Assoc. 1989;84.405:231–240. [Google Scholar]
  • 20.Dijk D., Teräsvirta T., Franses. P.H. Smooth transition autoregressive models—A survey of recent developments. Econom. Rev. 2002;21.1:1–47. [Google Scholar]
  • 21.Enders W. John Wiley & Sons; 2008. Applied Econometric Time Series. [Google Scholar]
  • 22.Bonga-Bonga L. Forward exchange rate puzzle: joining the missing pieces in the Rand-US Dollar exchange market. Stud. Econ. Econom. 2009;33.2:33–48. [Google Scholar]
  • 23.Teräsvirta T. Smooth transition regression modeling. In: Lutkepohl H., Kratzig M., editors. Applied time series econometrics. China Machine Press; 2009. pp. 172–187. [Google Scholar]
  • 24.Teräsvirta T., Anderson HM. Characterizing nonlinearities in business cycles using smooth transition autoregressive models. J. Appl. Econom. 1992;7.S1:S119–S136. [Google Scholar]
  • 25.Skalin J., Teräsvirta T. Modeling asymmetries and moving equilibria in unemployment rates. Macroecon. Dyn. 2002;6.2:202–241. [Google Scholar]
  • 26.Milanovic B. Can We Discern the Effect of Globalization on Income Distribution? Evidence from Household Surveys. World Bank Econ. Rev. 2010;19(1):21–44. 2005. [Google Scholar]
  • 27.Hesamian G., Akbari M.G. Semi-parametric partially logistic regression model with exact inputs and intuitionistic fuzzy outputs. Appl. Soft. Comput. 2017;58:517–526. [Google Scholar]
  • 28.Mareš M. Weak arithmetics of fuzzy numbers. Fuzzy Sets Syst. 1997;91(2):143–153. [Google Scholar]
  • 29.Draeseke R., Giles D.E.A. A fuzzy logic approach to modelling the New Zealand underground economy. Math. Comput. Simul. 2002;59(1–3):115–123. [Google Scholar]
  • 30.Lee C-C. Fuzzy logic in control systems: fuzzy logic controller. I. IEEE Trans. Syst. Man Cybern. 1990;20.2:404–418. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

mmc1.docx (224.5KB, docx)

Articles from MethodsX are provided here courtesy of Elsevier

RESOURCES