- Yes. Look in the Statistics Toolbox functions. There are also functions in the Curve Fitting Toolbox, but I don’t have it. (With the Statistics and Optimization Toolboxes, I don’t need it.)
- That’s generally not a good idea, because with fewer data, there are fewer degrees-of-freedom and the parameter confidence limits with a small data set might be non-significant but with a larger data set would be significant. It doesn’t take MATLAB much longer to estimate the parameters of a full data set than a subset, especially for a linear problem. Give the regression functions all your data from the outset.
- I would not suggest that approach. If you want to use subsets of your data, there are a number of Resampling Techniques in the Statistics Toolbox that will do that reliably.
How good was a fit ?
1 次查看(过去 30 天)
显示 更早的评论
Hi,
1) Does Matlab have implemented R, R^2, S, K-S, or other tools that can indicate how good is a fit ?
2) This is a general question: What kind of indicator can I use to see how a small portion of a data set fit explains as good as a whole data set fitting ?
For example: I have, 100% of the data set, fitted (for example, linear). And, 10% (first part of the whole) of the same data set fitted (linearly too). Both of the fitted curves would "try" to explain the "almost" the same thing. Is there any kind of tool that I can use to compare this two data's ?
Andre
0 个评论
采纳的回答
Star Strider
2014-5-20
6 个评论
Star Strider
2014-5-20
My pleasure!
I’ll help if I can. It’s probably beneficial for me to review resampling techniques as well. I may ask you to post some of your data and describe what you want to do.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!