how can i find R2 (Rsquared) for regression problem in matlab?
조회 수: 4 (최근 30일)
이전 댓글 표시
how can i find R2 (Rsquared) for regression problem in matlab?I have my forecasted outputs and targets .How can i write code for plotting R2 for this?
Kindly advice
댓글 수: 0
답변 (1개)
Sulaymon Eshkabilov
2021년 6월 12일
R-squared can be computed easily from your derived fit model vs. your original data. Moreover, R-square can be computed in Statistics, Curve fitting and a few other toolboxes of matlab, as well.
Here is a nice doc of mathworks on it:
https://www.mathworks.com/help/stats/coefficient-of-determination-r-squared.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!