MATLAB Answers

0

What are 'R2' and MSe parameters for and how can I show them ?

Asked by Krzysztof on 19 Aug 2013
Hello I'd like to know what they are (what for do we use them or want to see their values) and how can I see their values.
Thanks in anticipation

  0 Comments

Sign in to comment.

3 Answers

Answer by Amith Kamath on 19 Aug 2013

If you do have Curve Fitting Toolbox, http://www.mathworks.com/help/curvefit/evaluating-goodness-of-fit.html should help explain what these terms are. One of the outputs of the FIT function is 'gof' which is elaborated in http://www.mathworks.com/help/curvefit/fit.html#outputarg_fitobject. This provides all the measures you're interested in.

  0 Comments

Sign in to comment.


Answer by Shashank Prasanna on 19 Aug 2013

Scroll down and take a look at the 'Definitions' and properties section:
More information about the concept itself:
Its a way to understand how good your fit is

  0 Comments

Sign in to comment.


Answer by dpb
on 19 Aug 2013

See
for a basic definition for R2. In short, R2=1-SSE/SST is the amount of the total variance "explained" by the regression.
It's one measure of how well a model represents the data.
Displaying same in Matlab depends on what toolset you used to get the estimation.

  0 Comments

Sign in to comment.