Question about Goodness of Fit
3 views (last 30 days)
Show older comments
Hello,
I've been using nlinfit using a Boltzmann equaion to fit a simoid to my data. I'm trying to determine the goodness of fit and it seems there are a varity of ways to do this and I'm not exactly sure what to do. It seems R^2 is not longer accepted in terms of non-linear fits. Can anyone help out?
Also, I'm kind of confused as to what to do with the extra nlifit output, other than beta.
Can someone explain in layman's terms what each variable means? [beta,R,J,CovB,MSE,ErrorModelInfo]
The image is the fit to my data - the larger circles are the mean of the smaller circles at each x value.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/280966/image.png)
0 Comments
Answers (1)
Athul Prakash
on 3 Apr 2020
Please refer to the documentation on nlinfit which explains each of the output arguments in depth.
Furthermore, the Statistical Toolbox provides many ways to asses Goodness of Fit, all of which is once again outlined in the documentation:
0 Comments
See Also
Categories
Find more on Get Started with Curve Fitting Toolbox 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!