Algorithm for R square
이전 댓글 표시
Hello,
I wish to know the algorithm which MATLAB uses for determining R^2 in the following expressions?
- rsq2 = 1 - norm(p1-p)^2 / norm(p1-mean(p1))^2
- R = corrcoef(p,p1); Rsq = R(1,2).^2
In the above expressions, p respresents the model fitted value and p1 represents the experimental data.
Thanking you in advance.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Pole and Zero Locations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!