RMSE to Error Variance convertion
조회 수: 2 (최근 30일)
이전 댓글 표시
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.
채택된 답변
the cyclist
2011년 12월 16일
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Power and Energy Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!