How is possible to calculate error for a fitted graph?
2 次查看(过去 30 天)
显示 更早的评论
Could you please guide me is there any command to calculate error for a fitted scattered data?
4 个评论
dpb
2020-2-28
See the links to postprocessing fit results...it is, unfortunately, the weak link in MATLAB curve fitting.
The Curve Fitting Tool, cftool has the goodness of fit table shown if you build the model inside it which you can then export. There are a few supplied functions that take the fit object created above and return some statistics that are linked to from the postprocessing link or through the cfit object link of the output variable from fit, but none of those functions will build a nice ANOVA table or the like for you similar to SAS or other stat packages, unfortunately.
Otherwise, you're forced to build those additional results from basic principles. The PostProcessing link shows how to do some of the most basic.
As noted, big weakness in MATLAB Statistics and Fitting toolboxes in general. Pretty easy to compute the answers, not so easy for most to analyze/use the results as all you get for the most part is the most basic info.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!