Boscovich fuzzy regression line
Abstract
We introduce a new fuzzy linear regression method. The method is capable of approximating fuzzy relationships between an independent and a dependent variable. The independent and dependent variables are expected to be a real value and triangular fuzzy numbers, respec-tively. We demonstrate on twenty datasets that the method is reliable, and it is less sensitive to outliers, compare with possibilistic-based fuzzy regression methods. Unlike other commonly used fuzzy regression methods, the presented method is simple for implementation and it has linear time-complexity. The method guarantees non-negativity of model parameter spreads.
Full text
mathematics Article Boscovich Fuzzy Regression Line Pavel Škrabánek 1,* , Jaroslav Marek 2and Alena Pozdílková 2 Citation: Škrabánek, P.; Marek, J.; Pozdílková, A. Boscovitch Fuzzy Regression Line. Mathematics 2021,9, 685. https://doi.org/10.3390/ math9060685 Academic Editors: Fabrizio Maturo and Basil Papadopoulos Received: 27 February 2021 Accepted: 19 March 2021 Published: 23 March 2021 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). 1Institute of Automation and Computer Science, Brno University of Technology, Technická 2896/2, 616 69 Brno, Czech Republic 2Department of Mathematics and Physics, University of Pardubice, Studentská 95, 532 10 Pardubice, Czech Republic; jaroslav.mar[email protected] (J.M.); [email protected] (A.P.) *Correspondence: [email protected] Abstract: We introduce a new fuzzy linear regression method. The method is capable of approximating fuzzy relationships between an independent and a dependent variable. The independent and dependent variables are expected to be a real value and triangular fuzzy numbers, respectively. We demonstrate on twenty datasets that the method is reliable, and it is less sensitive to outliers, compare with possibilistic-based fuzzy regression methods. Unlike other commonly used fuzzy regression methods, the presented method is simple for implementation and it has linear time-complexity. The method guarantees non-negativity of model parameter spreads. Keywords: fuzzy linear regression; non-symmetric triangular fuzzy number; least absolute value; Boscovich regression line; outlier 1. Introduction A regression model approximates the functional relationship between a dependent y and independent variables x . Parameters of a regression model are estimated using a set of observations of x and y . The model with the estimated parameters can be used to predict a dependent variable value for a specific combination of the independent variables. In practice, statistical regression models are most often used for this purpose, but their usage is limited by an assumption that any deviation of a prediction from a corresponding observation is due to a random error. In many practical applications, the deviations are a result of imprecise observations, an indefiniteness of the system structure and parameters [ 1 , 2 ], or the vagueness of human perception of the model (in contrast with the statistical regression where the errors are associated with observations) [ 3 ]. There are also cases where the observations are inherently fuzzy, e.g., if the observations are described by linguistic terms [ 4 – 6 ]. In such cases, the deviations are not due to randomness, but they are due to fuzziness and fuzzy regression should be used. The fuzzy regression can be also used when statistical distributional assumptions cannot be justified, or if the representation of the regression model is poor [ 3 ]. The fuzzy regression is an efficient alternative to statistical regression whenever a dataset is insufficient to support statistical regression analysis [7]. The fuzzy regression approximates the relationship between the dependent y and the independent variables x using a fuzzy regression model. Once the underlying regression relationship is known, an appropriate parametric fuzzy regression model (e.g., linear [ 8 ], polynomial [ 9 ], and logistic [ 10 ] ) can be used for the approximation of the relationship. If the relationship is unknown, it is possible to utilize a nonparametric fuzzy regression model. Such as a model based on k -nearest neighbour smoothing [ 11 ], kernel smoothing [ 11 ], local linear smoothing [12], and adaptive neuro-fuzzy inference systems [13]. In fuzzy regression analysis, the relationship is typically approximated as a linear dependence by a model with all fuzzy parameters [ 2 , 14 – 24 ], but other fuzzy linear models are used as well [ 8 ]. For example, the model with all fuzzy parameters can be extended Mathematics 2021,9, 685. https://doi.org/10.3390/math9060685 https://www.mdpi.com/journal/mathematics
Mathematics 2021,9, 685 2 of 14 with a fuzzy error term [ 22 ], or some of the parameters can be real value numbers [ 8 ]. Models with all fuzzy parameters are known for a dependence of model prediction spreads on absolute values of x [ 8 , 23 ]. In the case that all parameters, except a y-intercept or the fuzzy error term, are real value numbers, the model prediction spreads are constant in the whole range of xvalues [8]. For estimation of unknown parameters of a fuzzy model, possibilistic and statistics-based approaches are frequently used. Possibilistic fuzzy estimators minimize a total spread of the fuzzy model predictionssubject toconstraints thatarise from observations [1,3,15,16,19,21,25,26] . The statistics-based solutions adopt concepts that are used in statistics such as the ordinary least squares method [ 17 , 18 , 20 , 27 – 33 ], the least absolute deviations method [ 22 – 24 , 34 – 37 ], and adaptive smoothing methods [11,12]. Some fuzzy estimators combine the possibilistic and the statistics-based approaches [38]. Several limitations were observed for some fuzzy estimators. As pointed out by many authors [ 22 , 24 , 39 – 41 ], numerous fuzzy estimators are sensitive to outliers. This criticism resulted in a number of fuzzy estimators that are more or less resilient to outliers [3,11,12,24,26,41–44]. A serious issue of some estimators is the fact that they do not guarantee non-negativity of spreads [ 35 , 41 , 45 , 46 ]. A certain disadvantage is also the computational complexity of the estimators. Depending on a used fuzzy estimator, matrix operations [ 18 ], linear programming [ 1 , 3 , 15 , 16 , 19 , 21 , 24 , 44 ], quadratic programming [26,27,32,38] , or a general constrained optimization problem [ 25 , 29 – 31 , 33 ] must be solved to obtain estimates of the unknown parameters. Some methods employ customized iterative optimization algorithms [20,41]. Herein, we propose a new fuzzy estimator intended for a simple fuzzy regression model with real value independent and fuzzy dependent variables. We based the estimator on the Boscovich regression line [ 47 , 48 ], hence we named it Boscovich fuzzy regression line. The original Boscovich regression line was a pioneering regression method based on minimization criterion, i.e., it is a predecessor of today’s statistical regression methods. The method was characterized by extremely low computing demands. The presented Boscovich fuzzy regression line inherited this property. Moreover, the used fuzzy linear model guaranties non-negativity of the model parameter spreads by its nature, and spreads of model predictions are not influenced by independent variable values. Even with its simplicity, the presented fuzzy estimator provides regression models in a quality comparable to other fuzzy regression methods. 2. Materials and Methods The Boscovich regression method [ 48 ] was designed for the simple theoretical linear regression model y=β0+β1x, (1) where β0 and β1 are unknown parameters of the model. The estimation of β0 , β1 is based on n imprecise observations (xi , yi) , where i∈I , and I={ 1,2, . . . , n} . The estimator introduced by Boscovich was based on two constraints [49]: (1) the sum of the positive and negative residuals (in the sense of yaxis) shall be equal, (2) the sum of the best absolute values of all the residuals shall be as small as possible. The constraint (1) implies that the regression line should pass through the centroid (x,y)formed by the observations, i.e., y=ˆ β∗ 0+ˆ β∗ 1x, (2) where ˆ β∗ 0 , ˆ β∗ 1 are the best estimates of the unknown regression coefficients β0 , β1 with respect to the constraints (1) and (2). As follows from the constraint (1), the coordinates of the centroid can be expressed as x=1 n n ∑ i=1 xi,y=1 n n ∑ i=1 yi. (3)
Mathematics 2021,9, 685 3 of 14 Thus, the best estimate of the unknown regression coefficient β0 can be expressed on the base of (2) as ˆ β∗ 0=y−ˆ β∗ 1x. (4) Naturally, only one point, (x , y) , is insufficient to form any line. Therefore, at least one other point is needed. Boscovich suggested using one of the observations as the second point of the regression line. Whereas n observations are available, n regression lines can be constructed in such a way. The k-th regression line is clearly determined by Lk:yk=y+ˆ β(k) 1∆xk, (5) where ˆ β(k) 1 is the k -th estimate of β1 based on the k -th observation (xk , yk) , and ∆xk=xk−x . On the basis of (5), the k-th estimate of β1can be expressed as ˆ β(k) 1=∆x−1 k(yk−y). (6) Altogether, n estimates of β1 are obtained in such a way. The selection of the best one can be carried out using an evaluation function J based on the constraint (2), i.e., for the k-th regression line, it holds that J(k)= n ∑ i=1yi−ˆ y(k) i= n ∑ i=1yi−y−ˆ β(k) 1∆xi, (7) where ˆ y(k) i is the i -th prediction of the dependent variable y using the k -th regression model (5). Boscovich expressed a premise that one of the n regression lines is the best approximation of the model (1). Considering constraint (2), the best estimate of the unknown regression coefficient β1is given by ˆ β∗ 1=arg min ˆ β(k) 1,∀k∈I n ∑ i=1yi−y−ˆ β(k) 1∆xi. (8) 3. Fuzzy Set Preliminaries Definition 1. A fuzzy subset ˜ A defined on R with membership function µ˜ A:R→[ 0,1 ] is called a fuzzy number if (a) µ˜ A(x)is normal, i.e., ∃x0∈Rwith µ˜ A(x0) = 1, (b) µ˜ A(x)is fuzzy convex, (c) µ˜ A(x)is upper semi-continuous on R, (d) µ˜ A(x) is compactly supported, i.e., cl{x∈R;µ˜ A(x)>0} is compact, where cl(A) denotes the closure of the set A. Definition 2. Let L and R be continuous decreasing functions L , R:[0, +∞)→[ 0,1 ] fulfilling L( 0 ) = R( 0 ) = 1and L( 1 ) = R( 1 ) = 0, invertible on [ 0,1 ] . Moreover, let mL ˜ A , mR ˜ A∈R , where mL ˜ A≤mR ˜ A , and α˜ A , β˜ A∈R+ ; then a fuzzy set ˜ A is said to be an L-R type fuzzy number if its membership function is µ˜ A(x) = LmL ˜ A−x α˜ A,for mL ˜ A−α˜ A<x<mL ˜ A, 1, for mL ˜ A≤x≤mR ˜ A, Rx−mR ˜ A β˜ A,for mR ˜ A<x<mR ˜ A+β˜ A, 0, otherwise, (9)
Mathematics 2021,9, 685 4 of 14 where mL ˜ A and mR ˜ A are the left and the right points of the core and α˜ A and β˜ A are the left and the right spread of the fuzzy number ˜ A. Symbolically, ˜ A=mL ˜ A,mR ˜ A,α˜ A,β˜ ALR. (10) In the case that the functions L and R are linear, and mL ˜ A=mR ˜ A=m˜ A , then the L-R fuzzy number is called a triangular fuzzy number and its membership function is µ˜ A(x) = m˜ A−x α˜ A,m˜ A−α˜ A<x≤m˜ A, x−m˜ A β˜ A,m˜ A<x<m˜ A+β˜ A, 0, otherwise, (11) where m˜ A is the mean of the triangular fuzzy number ˜ A . The triangular fuzzy number ˜ A is sufficiently represented by the triplet ˜ A=(m˜ A,α˜ A,β˜ A)T. (12) Let the set of all triangular fuzzy numbers be denoted as RT , where T is a symbol for a triangular fuzzy number. Definition 3. Let ˜ A=(m˜ A,α˜ A,β˜ A)T be the triangular fuzzy number where ˜ A∈RT and λ is a real number. Then their scalar multiplication can be, on the basis of the extension principle, defined as λ·˜ A=((λm˜ A,λα ˜ A,λβ ˜ A)Tλ≥0, (λm˜ A,−λβ ˜ A,−λα ˜ A)Tλ<0. (13) For any λ,ν∈Rand any ˜ A∈RT, it holds that (λν)·˜ A=λ·(ν·˜ A). (14) Definition 4. The opposite of a triangular fuzzy number ˜ A=(m˜ A,α˜ A,β˜ A)T , where ˜ A∈RT , is the triangular fuzzy number −˜ A=−1·˜ A=(−m˜ A,β˜ A,α˜ A)T. (15) The fuzzy numbers ˜ A and −˜ A are symmetrical with respect to the axis x =0. Definition 5. For the triangular fuzzy numbers ˜ A=(m˜ A,α˜ A,β˜ A)T , ˜ B=(m˜ B,α˜ B,β˜ B)T , and ˜ C=m˜ C,α˜ C,β˜ CT , where ˜ A , ˜ B , ˜ C∈RT , the sum of ˜ A and ˜ B can be, on the basis of the extension principle, defined as ˜ A⊕˜ B=(m˜ A+m˜ B,α˜ A+α˜ B,β˜ A+β˜ B)T. (16) The operation for ˜ A,˜ B,˜ C∈RTis: (a) commutative, i.e., ˜ A⊕˜ B=˜ B⊕˜ A, (b) associative, i.e., ˜ A⊕(˜ B⊕˜ C) = ( ˜ A⊕˜ B)⊕˜ C. Furthermore, it holds: (a) for any λ,ν∈Rwith λν ≥0and any ˜ A∈RTthat (λ+ν)·˜ A=λ·˜ A⊕ν·˜ A, (17) (b) for any λ∈Rand any ˜ A,˜ B∈RTthat λ·(˜ A⊕˜ B) = λ·˜ A⊕λ·˜ B, (18)
Mathematics 2021,9, 685 5 of 14 (c) for any ˜ A∈RTand λ∈Rthat ˜ A−λ=(m˜ A−λ,α˜ A,β˜ A)T, (19) and ˜ A+λ=(m˜ A+λ,α˜ A,β˜ A)T. (20) Definition 6. The average value of n triangular fuzzy numbers ˜ A1,˜ A2, . . . , ˜ An∈RTis ˜ A=1 n n ∑ i=1 ˜ Ai=1 n·˜ A1⊕˜ A2⊕ · · · ⊕ ˜ An, (21) where ˜ Ai=m˜ Ai,α˜ Ai,β˜ AiTfor ∀i∈[1, n],˜ A=m˜ A,α˜ A,β˜ AT∈RT. 4. Boscovich Fuzzy Regression Line The presented fuzzy regression method is intended for datasets where observations of the independent variable x are real value numbers and observations of the dependent variable yare triangular fuzzy numbers ˜ Y, i.e., a set of nobservations is given as O=(xi,˜ Yi)∀i∈I, (22) where xi is the i -th real value observation of the independent variable x , ˜ Yi is the i -th fuzzy observation of the dependent variable y , ˜ Yi= (yi , υi , υi)T , yi is the mean, υi is the left, and υiis the right spread of ˜ Yi. For the approximation of a linear dependence between x and ˜ Y , we use a simple fuzzy linear model ˜ Y=˜ A0+a1x, (23) where ˜ A0 and a1 are unknown model parameters, ˜ A0∈RT , a1∈R , ˜ A0= (a0 , α0 , α0)T , a0 is the mean, α0 is the left, and α0 is the right spread of ˜ A0 . As the y-intercept ˜ A0 is the only fuzzy parameter of the model (23), the fuzziness of model predictions is independent of model input x[8]. Following the Boscovich idea (see Section 2, constraint (1)), the best estimate of the fuzzy regression line (23) shall pass through a centroid formed by the observations O , i.e., ˜ Y=ˆ ˜ A∗ 0+ˆ a∗ 1x, (24) where ˆ ˜ A∗ 0 , ˆ a∗ 1 are the best estimates of the unknown regression coefficients ˜ A0 and a1 according to the constraints (1) and (2); ˜ Y is the y coordinate of the centroid, and x is its x coordinate. The coordinates of the centroid formed by the observations (22) are given as x=1 n n ∑ i=1 xi,˜ Y=1 n n ∑ i=1 ˜ Yi, (25) therefore x∈R,˜ Y∈RT. Let us express the estimate of the unknown fuzzy regression coefficient ˜ A0 , using the Formula (24), as ˆ ˜ A∗ 0=˜ Y−ˆ a∗ 1x. (26) As in the case of the Boscovich regression line, n fuzzy regression lines can be constructed using the observations (22). The k -th fuzzy regression line, based on the k -th observation xk,˜ Ykis given as ˜ Lk:˜ Yk=˜ Y+ˆ a(k) 1∆xk, (27)
Mathematics 2021,9, 685 6 of 14 where ˆ a(k) 1 is the slope of the k -th fuzzy regression line (i.e., the k -th estimate of a1 ), and ∆xk=xk−x. The model (27) uses the trick used in the ordinary least squares method. Specifically, we relate the explanatory variable to the centre of gravity using the relation ∆xk=xk−x . The y coordinate of the centroid ˜ Y incorporates the fuzziness of the underling relationship (25), which is reflected in the intercept of the regression line ˆ ˜ A∗ 0 (26). The intercept is the only fuzzy coefficient of the linear function in our model. Such a constructed line, fulfilling the first Boscovich assumption (Section 2, constraint (1)), is going through the centroid, which is a necessary constraint for an unbiased estimate of the regression line. Considering this, we can construct an estimate of the slope of the k -th regression line on the basis of the mean values of the fuzzy numbers ˜ Ykand ˜ Y L0 k:m˜ Yk=m˜ Y+ˆ a(k) 1∆xk, (28) where m˜ Yk is the mean of the k -th observation of ˜ Y , and m˜ Y is the mean of the y coordinate of the centroid ˜ Y. The k-th estimate of the slope a1is then given as ˆ a(k) 1=∆x−1 k˜ Yk−m˜ Y. (29) For the selection of the best estimate of the slope a1 , an appropriate evaluation function has to be formulated (see Section 2, constraint (2)). As follows from the relaxed Equation (28), the criterion is given as J(k) F= n ∑ i=1m˜ Yi−m˜ Y−a(k) 1∆xi, (30) and the best estimate of a1is given as ˆ a∗ 1=arg min ˆ a(k) 1,∀k∈I n ∑ i=1m˜ Yi−m˜ Y−a(k) 1∆xi. (31) The proposed fuzzy estimator can be written using a pseudocode as an Algorithm 1. Algorithm 1 Boscovich fuzzy regression line 1: function BFRL(O) Require: The set of nobservations O=(xi,˜ Yi)∀i∈I Ensure: The best estimates of ˜ A0and a1 2: x←1 n∑n i=1xi 3: ˜ Y←1 n∑n i=1˜ Yi 4: ∆xi←xi−x,∀i∈I 5: ˆ a(i) 1←∆x−1 im˜ Yi−m˜ Y,∀i∈I 6: J(k) F←∑n i=1m˜ Yi−m˜ Y−ˆ a(k) 1∆xi,∀k∈I 7: ˆ a∗ 1←arg min ˆ a(k) 1,∀k∈I J(k) F.Best estimate of a1 8: ˆ ˜ A∗ 0←˜ Y−ˆ a∗ 1x.Best estimate of ˜ A0 9: return ˆ ˜ A∗ 0,ˆ a∗ 1 10: end function
Mathematics 2021,9, 685 7 of 14 5. Numerical Examples We compared the presented Boscovich fuzzy regression line (BFRL) with several possibilistic and statistics-based fuzzy regression methods. As representatives of the possibilistic family, we selected a possibilistic linear regression (PLR) analysis [ 16 ], a PLR combined with an omission approach (OPRL) [ 44 ], and a multi-objective fuzzy linear regression (MOFLR) [ 26 ]. The OPRL and MOFLR were designed to be less sensitive to outliers. We implemented the OPRL for detection of one outlier. Each of these three methods requires setting of one parameter by a decision maker. The decision maker must set up a threshold value h in the cases of PRL and OPRL, where h∈[ 0,1 ) . The threshold value indicates a degree of fitness of an estimated fuzzy regression model [ 16 ]. MOFLR requires presenting of a weighting coefficient ω , where ω∈( 0,1 ) . The weighting coefficient determines a trade off between outlier penalization ( ω→ 1) and data fitting (ω→0) [26] . From the statistics-based methods, we considered a fuzzy least squares (FLS) [ 18 ], a fuzzy least absolute linear regression (FLAR) [ 24 ], and a robust fuzzy regression (RFR) analysis [41]. Note that the RFR requires at least six observations to estimate parameters of a simple fuzzy linear model and it employs a customized iterative optimization method. BFRL was designed as a parameter estimator of the fuzzy linear model (23). PLR, OPLR, MOFLR, FLS, FLAR and FLS expect a fuzzy linear model with all fuzzy parameters. For one real value independent variable x, the model is given as ˜ Y=˜ A0+˜ A1·x, (32) where ˜ A0 and ˜ A1 are unknown model parameters, ˜ A0 , ˜ A1∈RT , ˜ A1= (a1 , α1 , α1)T , a1 is the mean, α1is the left, and α1is the right spread of ˜ A1. RFR uses a different approach to model prediction calculation. The i -th prediction of y,˜ Yi= (yi,υi,υi)T, is given as ˜ Yi= yi=fa, υi=byi+d, υi=gyi+h, (33) where a,b,d,gand hare unknown model parameters, and f=1xi. We evaluated performance of the aforementioned methods on various datasets. The possibilistic approaches (PRL, OPRL, MOFLR) were designed for symmetric fuzzy numbers. To allow comparison of all the methods, we involved datasets with symmetric fuzzy observations into the evaluation process. We used data from example 1 published in [ 16 ] and from example 2 published in [ 18 ]. We labelled the datasets SFN-1 and SFN-2, respectively. The presented BFRL, as well as the statistics-based methods (FLS, FLAR, RFR), are also capable of processing non-symmetric fuzzy numbers. To fully examine performance of these methods, we included three datasets with non-symmetric fuzzy observations of the dependent variable into the evaluation process. Specifically, we used data from example 1 published in [ 45 ], from example 2 published in [ 50 ], and from example 3 published in [ 51 ]. We labelled the datasets NFN-1, NFN-2, and NFN-3, respectively. The datasets SFN-1, SFN-2, NFN-1, NFN-2, and NFN-3 consist of 5, 8, 16, 8 and 8 observations, respectively. We evaluated performance of the methods using a total error E which we defined as a sum of absolute errors, i.e., E= n ∑ i=1 Di, (34) where D is a difference between membership functions of observed and estimated fuzzy responses. For the i-th observation, the difference is given as Di=ZS˜ Yi∪Sˆ ˜ Yiµ˜ Yi(y)−µˆ ˜ Yi(y)dy, (35)
Mathematics 2021,9, 685 8 of 14 where µ˜ Yi(y) and µˆ ˜ Yi(y) are the membership functions of the i -th observed ˜ Yi and the i -th estimated response ˆ ˜ Yi , respectively; and S˜ Yi and Sˆ ˜ Yi represent supports of µ˜ Yi(y) and µˆ ˜ Yi(y) , respectively [ 52 ]. Total errors (34) of the examined fuzzy regression methods are summarized in Table 1. The errors are organized with respect to fuzzy regression methods (columns) and datasets (rows). For PRL and OPRL, we used threshold values h= 0 and h= 0.5. For MOFLR, we considered ω∈ { 0.1,0.5,0.99 } . Note that RFR cannot be applied on SFN-1 since the dataset consists of 5 observations only. Since PRL, OPRL and MOFLR return biased results on datasets with non-symmetric fuzzy observations, the results were not included into Table 1. Table 1. Total errors of the possibilistic linear regression (PLR), the PLR combined with the omission approach (OPRL), the multi-objective fuzzy linear regression (MOFLR), the fuzzy least squares (FLS), the fuzzy least absolute linear regression (FLAR), the robust fuzzy regression (RFR) analysis, and the Boscovich fuzzy regression line (BFRL). Testing done on datasets with symmetric (SFN-1, n= 5 and SFN-2, n= 8) and non-symmetric fuzzy numbers (NFN-1, n= 16; NFN-2, n= 8 and NFN-3, n=8). Settings of adjustable parameters hand ωare stated under method abbreviations. PLR OPRL MOFLR FLS FLAR RFR BFRL h=0h=0.5 h=0h=0.5 ω=0.1 ω=0.5 ω=0.99 SFN-1 12.40 17.89 12.40 17.89 220.42 35.35 14.53 10.14 9.50 - 9.17 SFN-2 3.86 6.45 3.51 4.78 73.73 11.89 5.09 3.23 3.24 3.23 3.61 NFN-1 - - - - - - - 144.13 133.81 151.98 161.09 NFN-2 - - - - - - - 15.21 14.09 14.57 15.30 NFN-3 - - - - - - - 2.98 2.29 2.90 3.03 We also investigated the sensitivity of the methods on outliers. We considered three types of outliers: (a) outliers with respect to centres of the fuzzy dependent variable ˜ Y (o1), (b) outliers with respect to spreads of ˜ Y (o2), and (c) outliers with respect to both the centres and the spreads (o3). To examine the sensitivity, we created from each above stated dataset, three new sets where each new set contained one outlier. The outliers in the datasets are specified in Table 2by their serial numbers i , means yi , left spreads υi and right spreads υi . Their original values are written in normal text while the changed ones are in bold. Table 2. Outliers of type o1 (columns 3–5), o2 (columns 6 - 8) and o3 (columns 9–11) in datasets (column 1) are identified by their serial numbers i (column 2). Original values of means m˜ Y , right spreads α˜ Y and left spreads β˜ Y of the observations ˜ Y are in normal text and the changed values are in bold. o1 o2 o3 Dataset i yiυiυiyiυiυiyiυiυi SFN-1 3 11.8 1.8 8 35 35 1 35 35 SFN-2 4 40.4 0.4 2 1.6 1.6 4 1.6 1.6 NFN-1 7 170 12 12 70.9 65 77 170 65 77 NFN-2 6 31.5 1.7 22 10 0.01 3 10 0.01 NFN-3 1 9.5 0.17 0.4 2.5 3 4 9.5 3 4 Total errors of acquired fuzzy regression models on the modified datasets with symmetric and non-symmetric fuzzy observations are summarized in Tables 3and 4, respectively. The results are organized with respect to fuzzy regression methods (columns) and datasets (rows). Settings of adjustable parameters are given under method abbreviations. Asterisk marked results point to the situation when outliers were correctly recognized by OPRL (Table 3).
Mathematics 2021,9, 685 9 of 14 Table 3. Total errors of the possibilistic linear regression (PLR), the PLR combined with the omission approach (OPRL), the multi-objective fuzzy linear regression (MOFLR), the fuzzy least squares (FLS), the fuzzy least absolute linear regression (FLAR), the robust fuzzy regression (RFR) analysis, and the Boscovich fuzzy regression line (BFRL). Method tested on datasets with symmetric fuzzy numbers SFN-1 and SFN-2 affected by outliers of type o1, o2 and o3 (first column). Settings of adjustable parameters h and ω are stated under method abbreviations. Asterisk indicates correctly recognized outliers by OPRL. PLR OPRL MOFLR FLS FLAR RFR BFRL h=0h=0.5h=0h=0.5ω=0.1ω=0.5ω=0.99 SFN-1-o1 35.99 56.88 35.99 23.03 * 220.58 39.57 22.50 15.74 14.17 - 14.59 SFN-2-o1 7.58 12.70 4.33 * 6.29 * 73.74 12.29 5.82 3.76 3.01 3.76 3.49 SFN-1-o2 131.05 131.05 42.03 * 44.30 * 836.00 132.99 79.48 52.97 41.08 - 53.02 SFN-2-o2 8.21 10.17 - 5.62 * 96.52 15.44 6.51 3.90 3.82 4.60 3.97 SFN-1-o3 132.57 132.38 42.56 * 45.06 * 836.13 145.87 81.79 54.64 42.06 - 54.61 SFN-2-o3 10.70 15.72 5.23 * 6.96 * 96.54 16.10 7.69 4.80 3.93 5.64 4.60 Table 4. Total errors of the fuzzy least squares (FLS), the fuzzy least absolute linear regression (FLAR), the robust fuzzy regression (RFR) analysis, and the Boscovich fuzzy regression line (BFRL) (first row) tested on datasets with non-symmetric fuzzy numbers, NFN-1, NFN-2, and NFN-3, affected by outliers of type o1, o2 and o3 (first column). FLS FLAR RFR BFRL NFN-1-o1 180.45 146.88 166.43 189.74 NFN-2-o1 19.23 15.34 20.14 19.14 NFN-3-o1 5.30 2.29 5.32 5.03 NFN-1-o2 207.69 183.84 192.53 214.43 NFN-2-o2 15.74 14.89 17.04 16.54 NFN-3-o2 5.86 4.94 6.57 6.15 NFN-1-o3 259.93 205.94 393.57 259.24 NFN-2-o3 25.98 19.47 28.62 25.64 NFN-3-o3 11.63 5.58 11.69 10.60 The obtained parameter estimates by PRL and OPRL on datasets with symmetric fuzzy numbers are summarized in Table 5. Estimates provided by MOFLR on the same datasets are given in Table 6. Settings of adjustable parameters h and ω are stated under method abbreviations. The estimates of model parameters generated by FLS, FLAR, RFR and BFRL on datasets with symmetric and non-symmetric fuzzy observations are summarized in Tables 7and 8, respectively. We implemented all the fuzzy regression methods in MATLAB R2016a. We used default setting of optimization functions which were used within the calculations. It means that interior point methods were utilized to solve both linear and quadratic programming problems.