The General Maximum Entropy Method by Shannon and Tsallis Measures for Estimating Parameters of a Kink Regression Model

In this paper, the parameters of the Kink regression model were estimated using the general maximum entropy method with the Shannon and Tsallis measures And its application for the analysis of economic exposure data and the Debt/GDP ratio in the Iraqi economy. The results of the analysis showed the preference of the Tsallis measure of the order (α = 3) compared with other estimation methods. The results show a decrease in the Debt/GDP ratio after seeing the cut, and this corresponds to the state of the economy in Iraq during the security conditions that Iraq went through for the period from 2014 to 2017.


Introduction
The Kink Regression is an important technique in statistical analysis because it deals with real phenomena in which the regression function is continuous with its explanatory variables related to the slope of the boundary and the Fixed limit parameter, but where the marginal trends are not continuous when observations of the relevant variable are observed, and that observation becomes is kink (Kink or Cut), And that the slope becomes has two values before and after the cut due to the lack of equality of the limit on the right side with the limited on the left side, and that the discontinuity of the marginal slope does not allow the use of normal regression to analyze the data of any phenomenon that has a cutoff point due to the inaccuracy of the results obtained, and it is useful to employ the Kink pieces When performing statistical analysis of this phenomenon as a support force to the regression model clearly and accurately. The process of employing Kink to obtain efficient results starts from including the regression model that cut, so the Kink regression model appeared, which is an extended method for the Regression Discontinuity model that appeared at the beginning of the problem, whether the regression was a parametric or not, despite its importance in analyzing most of the economic, health and social phenomena ... Etc. However, most of the research on this topic is few and lacks practical application and most of them use traditional estimation methods, the most famous of which is the least squares method LS [see 7], while the two researchers (Tarkhamtham and Yamaka 2018) [9] [10] presented the general maximum entropy method based on the Shannon and Tsallis measures.
As for the researchers (Böckerman, Kanninen, & Suoniemi, 2018) [1], they talked about the semi parametric Kink regression model and the estimation of its parameters in the Kernal method.
In this research, the parameters of the kink regression model will be estimated and applied to real data representing the phenomenon of economic exposure and the Debt/GDP ratio in the Iraqi economy by using the general maximum entropy method with the Shannon and Tsallis measures and different order.
The second topic of the research included the nature of the kink regression model and some of its characteristics as well as the general maximum entropy method by adopting the Shannon and Tsallis measures, while the third section included the results of analyzing real data on the phenomenon for economic exposure and its impact on the ratio of Debt/GDP in the Iraqi economy.

The Model
The kink regression model writes the existence of kink points whose number is K with the number of explanatory variables simultaneously as follows [10]: : It is the view value (i) of the observation of the response variable. X ji : It is the value of the observation (i) from the observations of the explanatory variable. X 0i : it is the value of the observation (i) from the observations of the explanatory variable associated with the fixed term, and its value is equal to one the same, (r 1 , ⋯ , r k ) The parameters of the points (Kink Point) [6].
an details of Model (1) is that it has two types of relationships, the first of which is a linear relationship between the response variable and the explanatory variable associated with the constant parameter X 0i , Which is often neglected for ease in the estimation process and the regression function in it is continuous, and the second type is non-linear between the response variable and the explanatory variables that have points (r 1 , ⋯ , r k ) Kink Points represent where the response variable is continuous with the variables X ki , but the marginal slope are not continuous at the cutoff point that represents an observation from the observations of the explanatory variable, so the marginal slope associated with the explanatory variables that have a kink cutoff have two values as well (Hansen:2017), The first symbol is denoted by the symbol (-), meaning the value of the marginal slope at the values of the explanatory variable observations before Kink, and by the symbol (+) for the value of the marginal slope at the values of the observations of the explanatory variable after cutting [7] [4].
Consistent with the nature of the phenomenon data that will be analyzed in the application side, which includes only one explanatory variable, we assume that the model (1) has one explanatory variable and one kink (r) only, as follows: It is noted from Model (2) that it cannot be written in the general form as in the traditional regression when it is written for n of the equations and the reason is that it is not possible to determine which of the observations of the explanatory variable that has Kink is to the right and left of it. Therefore, (Hansen:2017) method was adopted in writing Model (2) in terms of matrices as follows [7]: The researcher (Hansen: 2017) stated that testing the continuity hypothesis of the Kink regression model or not is one of the main steps that must be taken before estimating the parameters of the model (3), and because this step is difficult to implement, it was assumed that there is no continuity of the boundary slope function in the regression model according to the variables. Explanation associated with it, without going through testing this hypothesis and this approach will be adopted in this research also when estimating the parameters of the model (3) and determining the value of the Kink cutoff point.

The Generalized Maximum Entropy Method
The general maximum entropy method (GME) for estimating the parameters of the regression model in both linear and nonlinear types is based on directly reparametrized the regression model by reparametrized the parameters and errors in it as well as the Kink parameter in the form of predictions for random variables or in the form of a convex combination in terms of support points (S) whose limits are (2 ≤ S ≤ 7) and their number is determined according to the researcher's point of view or the nature of the data [7] [3] For short, we will deal here with the case of (S = 3) in the theoretical side and the practical side as follows [ 5]: Where the values of (s1, s2, s3) are a positive hypothetical numerical value between (0, ∞), and z j is directed from the order of (1xs) representing the support points for each parameter of the model β as well as the fixed term, q is directed from the order (1xs) ) Represents the support points of the parameter cutoff parameter Kink, , a vector of order (1xs), represents the support points for each of the random error items.
Several measures can be used when estimating model parameters (3) by the general maximum entropy method (GME), including the Shannon measure, the Tsallis measure, and the Renyi measure [10]. Here, the Shannon and Tsallis measures were chosen when estimating the GME method as follows:

1-Shannon General Maximum Entropy
Shannon has created a mathematical model that equates the amount of information while removing the ambiguity (uncertainty) [9]. Therefore, the Shannon Entropy function is generally written as follows: Whereas: p i (X = x i ) = p i and 0 ≤ p i ≤ 1 , , It is the probability mass function of the Shannon measure, ∑ p i = 1 i . (Tarkhamtham and Yamaka) stated that he prefers to deal with the Kink regression model without the variable to facilitate the estimation in GME method, so the parameters ( , 1 , 1 + , 1 − ) will be modeled only by writing them In the form of a convex combination for a number of support points S = 3 specified [5] [7] as follows: Where p 1m − represents a probability distribution of the S dimension of the region before the cutoff point Substituting (10) and (11) into (12) we get: By partially deriving equation (12) and finding the solution, we can find p 1m − , p 1m + , ω tm , and ĥ tm as follows The same method is calculated ω tm and ĥ 1m : … (17)

2-Tsallis General Maximum Entropy
The entropy function is defined according to the Tsallis measure as follows [3] [9]: Since α is order the function, and g is a fixed positive quantity, and most research tends to make it a value equal to 1 to facilitate the process of dealing with formula No. (26) [10]. It should be noted that when α → 1 approaches, the measure of Tsallis turns into a Shannon is defined by the formula (9), [12].
As is the case in Shannon Measure, the parameters (ε i , r, β 1 + , β 1 − ) are reparametrized by also writing them in the form of Convex Combination for a number of support points S and as it was written with equations (6), (7) and ( 8) and (9) Accordingly, the entropy function of the Tsallis measure is as follows [11]  In the same manner as was used in the Shannon scale, we find p 1m − , p 1m + , ω tm and ĥ tm .
Where γ represents the Lacrang coefficient.

Case Study
In this topic, real data will be analyzed that represent economic exposure (an explanatory variable) and the ratio of DEBT/GDP (response variable) for the Iraqi economy for the period (1996-2018) and data obtained from (Ministry of Planning / Iraqi Central Bureau of Statistics) and according to the model (3) By using the R program, the GME method was applied to the general maximum entropy of the two scales of Shannon and Tsallis with high order (α = 5, α = 4, α = 3, α = 2). Figure (1) shows the value of Kink, which is equal to (69.6), which is the standard point that makes the marginal slope (β) divided into two values ( − , + ):

Figure (1) shows the value of Kink
By applying SGME and TSGME estimation methods to estimate the kink regression model, the results were obtained: We note from the results of the above table that the estimators ( − , + ) have negative effects, and it is noticed that the estimate ( − ) has a negative effect except for the Tsallis estimator when the value of the order (α = 3) is before the kink point (69.6) and this continues Negative effect in any region after kink and for all methods Shannon and Tsallis for different orders (α), Therefore, we find that the most efficient method for estimating the parameters of the Kink regression model is the Tsallis method when the value of the order is (α = 3) using the MAE standard, which showed that it is the lowest of the rest of the methods. A positive effect before kink, then transformed into a negative effect after kink, which gives a comfortable impression that it is the most efficient estimate compared to other methods, and its MAE value has confirmed this.
Depending on Tsallis estimates of the rank (α = 3), the Debt/GDP ratio was affected by economic exposure before the value of Kink, and this increased during the year (2015), and this confirms the conditions that Iraq was exposed to during the war with terrorist groups. The decrease is confirmed by the negative sign (-) for the parameter estimator ( + ), since the Iraqi economy activity began to rise gradually.

Conclusion
In this research, the general maximum entropy method was applied to real data representing economic exposure and the Debt/GDP ratio that suffer from the presence of kink. The purpose of that was to estimate the parameters of the Kink regression model representing that phenomenon and to determine the optimal representation method to estimate its parameters. Absolute error MAE to determine the best estimation method, taking into account the notion that there is a higher order effect of the Tsallis in the presence of the Shannon method.