# R-Squared in Curve-fitting Tool

107 ビュー (過去 30 日間)
Mohamed Amine Ben El Mechri 2019 年 10 月 10 日

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 2019 年 10 月 16 日
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.

サインイン してこの質問に回答します。