This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

RSquared

RSquared
is a possible value for the RegressionReport option for Regress and DesignedRegress which represents the coefficient of determination R2.
  • RSquared is the ratio of the model sum of squares to the total sum of squares.
  • RSquared gives the fraction of the variation of the response that is predicted by the model.
Needs["LinearRegression`"]
Sample data:
In[2]:=
Click for copyable input
RSquared for a linear regression:
In[3]:=
Click for copyable input
Out[3]=