RMSE to Error Variance convertion

Hey,
Is there a function that would convert the Root Mean Square Error to an Error Variance? I need to get the error value in terms of the R^2 error.

1 件のコメント

Ferd
Ferd 2011 年 12 月 16 日
or could anyone tell me the convertion factor(s).

サインインしてコメントする。

 採用された回答

the cyclist
the cyclist 2011 年 12 月 16 日

0 投票

This page has the conversion formula:
The diagram with the red and blue squares is helpful to understand the relationship.
SS_err is proportional to RMSE squared and SS_tot is proportional to "RMSE_0" squared, i.e. the squared error before any model has been applied.
So you can think of it as
R^2 = 1 - (RMSE^2)/(RMSE_0^2)
I can probably whip up a little sample code if that's not clear enough.

1 件のコメント

Ferd
Ferd 2011 年 12 月 16 日
Will check. If I have further questions, will reply here.
If not, a big thankyou.
Appreciate it The Cyclist!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2011 年 12 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by