Multivariate goodness-of-fit?
Show older comments
Does MatLab/MathWorks support procedure(s) to assess goodness-of-fit for simulation models producing outputs of multiple types?
Answers (1)
prabhat kumar sharma
on 3 Jun 2024
0 votes
Hi William,
Parametric Models and Goodness-of-Fit Statistics: https://www.mathworks.com/help/curvefit/evaluating-goodness-of-fit.html
Using the Curve Fitting Toolbox
The Curve Fitting Toolbox in MATLAB simplifies the process of fitting models to data and evaluating their goodness-of-fit. Here's a basic workflow:
- Fit a Model to Your Data: Use functions like fit to fit a curve or surface to your data.
- Evaluate the Fit: Use the goodnessOfFit function or access properties of the fitted model object to obtain R-squared, adjusted R-squared, RMSE, and SSE.
- Visualize the Fit: Utilize plotting functions to create visualizations that can help in assessing the fit.
Visualizations for Goodness-of-Fit:
- Plot of Residual
- Fit Plot
- Prediction Bounds
I hope it helps!
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!