how can i find R2 (Rsquared) for regression problem in matlab?

4 ビュー (過去 30 日間)
NN
NN 2021 年 6 月 12 日
回答済み: Sulaymon Eshkabilov 2021 年 6 月 12 日
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

回答 (1 件)

Sulaymon Eshkabilov
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

カテゴリ

Help Center および File ExchangeRegression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by