Hello,
I wish to know the algorithm which MATLAB uses for determining R^2 in the following expressions?
  1. rsq2 = 1 - norm(p1-p)^2 / norm(p1-mean(p1))^2
  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.
Can anyone let me know whether the default algorithm is Levenberg-Marquardt?
Thanking you in advance.

 採用された回答

Steven Lord
Steven Lord 2019 年 10 月 15 日

1 投票

For the second one, see the "More About" section on the documentation page for the corrcoef function.

その他の回答 (0 件)

カテゴリ

質問済み:

2019 年 10 月 15 日

回答済み:

2019 年 10 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by