Obtaining the chi square value from a multigaussian fit
Show older comments
I am using the Matlab fit function to fit data with several gaussian functions. It seems to work, I obtain the gaussian parameters but I cannot find the way to get also the chi square of the fit. Should I calculate but myself? No way to have it in the output? Thanks for any suggestion Renzo
Answers (1)
Provided you have the right toolbox:
Otherwise, use the residuals of your fit and do the test yourself.
Categories
Find more on Linear and Nonlinear Regression 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!