Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

@wikipedia


A real number characterising the real-value model prediction quality (goodness of fit):

LaTeX Math Block
alignmentleft
MSER^2 = 1 - \frac{MSD(x, \hat x)}{MSD(x, \bar x)} = 1 - \frac{1}{n} \sum_{i=1}^n (x_i -\hat \hat x_i)^2}{\sum_i (x_i -\bar x)^2}

where 

LaTeX Math Inline
bodyx = \{ x_1, \, x_2, \, x

a variable represented by data set 

_3 , ... x_N \}

observed  variable represented by a discrete datasetof numerical samples

LaTeX Math Inline
body\hat x = \{ \hat x_1, \, \hat x_2, \, \hat x_3 , ... \hat x_N \}

predictor of variable 

LaTeX Math Inline
bodyx

, represented by another discrete dataset of numerical samples,

with the same number of samples 

LaTeX Math Inline
bodyN
 predicted at the same conditions as the original samples 

LaTeX Math Inline
body \{ x_1, \, x_2, \, x_3 , ... x_N \}

discrete set of numerical samples of

LaTeX Math Inline
body--uriencoded--\bar x = \frac%7B1%7D%7BN%7D \sum_i x_i

mean value of the variable 

LaTeX Math Inline
bodyx

 

, which can be considered as some sort of extreme predictor with zero variability

LaTeX Math Inline
body

\{ \hat x_1, \

MSD(x, \hat

x_2, \, \hat x_3 , ... \hat x_N \}discrete set of predictors for the corresponding samples of variable 
LaTeX Math Inline
bodyx

x)

mean square deviation between a variable 

LaTeX Math Inline
bodyx
 and its predictor 
LaTeX Math Inline
body\hat x

LaTeX Math Inline
bodyMSD(x, \bar x)

mean square deviation between a variable 

LaTeX Math Inline
bodyx
 and its mean value 
LaTeX Math Inline
body\bar x


It is similar to Mean Square Deviation (MSD) but quantifies the model prediction efficiency in normalized way which is normally more suitable for assessment goodness of fit.


The coefficient of determination  

LaTeX Math Inline
bodyR^2
 normally ranges between :

  • 0, indicating that prediction error is within the variance of the observed variable around its mean value

and

  • 1, indicating a fine fit, fairly reproducing the variability of the 
    LaTeX Math Inline
    bodyx


The 

LaTeX Math Inline
bodyR^2
  values falling outside the above range indicate a substantial mismatch between variable
LaTeX Math Inline
bodyx
 and model prediction 
LaTeX Math Inline
body\hat x
 and have a meaning that gap between predicted and actual values is higher than the variance of the actual data.

See also

...

Formal science / Mathematics / Statistics / Statistical Metric