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

2 views (last 30 days)
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

Answers (3)

Amith Kamath
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.

Shashank Prasanna
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

dpb
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.

Categories

Find more on Linear and Nonlinear Regression in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!