## R-Squared in Curve-fitting Tool

Mohamed Amine Ben El Mechri

### Mohamed Amine Ben El Mechri (view profile)

さんによって質問されました 2019 年 10 月 10 日

### Prabhan Purwar (view profile)

さんによって 回答されました 2019 年 10 月 16 日
Hello,
to evaluate my modell i am using the Curve fitting Tool. I loaded my data. And i want to calculate the R-Squared .So i set a Polynom first degree (y = x) as a reference.
The problem is, for every Robust mode ( Off , bisquare , LAR) i get a different R-squared value even though data and the reference ( line y= x) didn#t change.
Do you have an explanation ?
Thanks.

#### 0 件のコメント

サインイン to comment.

## 1 件の回答

### Prabhan Purwar (view profile)

on 16 Oct 2019

Hello,
Different methods weight the residuals differently while Fitting the curve, leading to a different curve, which is responsible for the change in the R^2 value.
• The LAR scheme finds a curve that minimizes the absolute difference of the residuals, rather than the squared differences. Therefore, extreme values have a lesser influence on the fit.
• The Bisquare method minimizes a weighted sum of squares, where the weight given to each data point depends on how far the point is from the fitted line. Points near the line get full weight. Points farther the line get reduced weight. Points that are farther from the line than would be expected by random chance get zero weight.
Thus a dataset with large number of outliers leads to more variation in R^2.
Refer to the following link for further information:

#### 0 件のコメント

サインイン to comment.