Command in Script for Data Comparison

조회 수: 2 (최근 30일)
Lasfitri Rosanty Sinaga
Lasfitri Rosanty Sinaga 2021년 6월 30일
댓글: Lasfitri Rosanty Sinaga 2021년 7월 20일
Hi Everyone,
I need really help.
I have already command in Script for Fit Data (Parameterfitting the model and data) by multiple parameter-fitting (n>1) and now I want to compare the identified model to measured data so I can get any values such as RMSE, AIC and BIC through the same command window. Usually I use the Task Data Comparison in the Fit Data-Tool using Simbiology, but I want to apply this through the script.
Would you mind helping me to find which command should I write on the script to implement the Task Data Comparison in so I can get the value such as RMSE, AIC and BIC?
Thank you in advance.

채택된 답변

Arthur Goldsipe
Arthur Goldsipe 2021년 6월 30일
Hi,
Are you using the functions sbiofit or sbiofitmixed? If so, you will find RMSE, AIC, and BIC as properties on the first output returned from these functions. Specifically, AIC and BIC are the names of properties on this object. For results form sbiofit, MSE is the name of the relevant property. For sbiofitmixed, you can look at resultsObject.stats.rmse. You can read more about these results objects on their reference pages (NLMEResults for sbiofitmixed and LeastSquaresResults for sbiofit).
-Arthur
  댓글 수: 1
Lasfitri Rosanty Sinaga
Lasfitri Rosanty Sinaga 2021년 7월 20일
This is literally a big help. Thank you very very much for your answer!
_Lasfitri

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Import Data에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by