フィルターのクリア

quantifing goodness of fit between two data sets

21 ビュー (過去 30 日間)
yuval steinberg
yuval steinberg 2021 年 1 月 6 日
コメント済み: Star Strider 2021 年 1 月 7 日
Hi everyone,
I have two data sets, one is empirical data gathered from an experiment and the other is data from a model that is suppose to simulate the experiment. Eventually it's just two vectors. I want to quantify the goodness of fit between the model and empirical data to a single number. how can I do this?
Thanks!!

採用された回答

Star Strider
Star Strider 2021 年 1 月 6 日
If ‘Q’ are your data and ‘Qest’ are the model values, one option is to compute the Coefficient of determination () value:
RMSE = sqrt(mean((Q - Qest).^2)); % Compute RMSE
OLSCF = @(b) sum((Q-Qfcn(b,yez)).^2);
SStot = sum((Q - mean(Q)).^2);
SSres = OLSCF(B);
Rsq = 1 - (SSres/SStot); % Compute R-squared
.
  6 件のコメント
yuval steinberg
yuval steinberg 2021 年 1 月 7 日
sure, this is my first time on the forum:)
Star Strider
Star Strider 2021 年 1 月 7 日
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by