Clear Filters
Clear Filters

How to find out RMS error in a simbiology model fit?

1 view (last 30 days)
Hello, I am using the simbiology graphical window (not writing any actual code!) to fit a kinetic model to my experimental data. I have the fits and I get a number of output figures including the stimated parameters etc. However, I am wondering how can I get a measure of the goodness of my fit? For example, from where can I extract an R-squared value for the fit?

Answers (1)

Vijay
Vijay on 16 May 2018
Edited: Vijay on 16 May 2018
Hi Soumitra,
We currently do not calculate the R-squared value on the desktop, this change is scheduled for a future release. If you are looking to compare your fits we recommend using the Task Data Comparison tool which lists the AIC, BIC and RMSE among other metrics for fits.
To enable the Data Comparison Tool, click the Data Comparison button on the Fit Task. After a task has run, the Comparison table automatically populates with the metrics of the fit.
Additionally, you can manually calculate the R-squared value for your fit by exporting the fit results and data to the command line, using the Export context menu.
These links provide useful information about how to calculate the R-squared value for a fit.
Please let us know if you have further questions.

Communities

More Answers in the  SimBiology Community

Products

Community Treasure Hunt

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

Start Hunting!