Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Fitting Data' topicStudent Support Forum > General > Archives > "Fitting Data"

Next Comment >Help | Reply To Topic
Author Comment/Response
pinecones
03/05/12 07:29am

Hello, I have encountered a problem in mathematica... I am trying to evaluate the "goodness" of a fit. I have a set of data points, and I have a function with NO free parameters and I need to obtain a chi^2 statistic for the function- does anyone have suggestions on how to do this? (I can do this no problem if there is a free parameter in the equation using NonlinearModelFit and then taking the estimated variance, however I am having troubles when there are no free parameters.)
Right now, I am using NonlinearModelFit and just giving it a free parameter that doesn't actually appear in the equation. I am not very pleased with this solution, but I am having trouble finding a better function.
Thank you!

URL: ,

Subject (listing for 'Fitting Data')
Author Date Posted
Fitting Data pinecones 03/05/12 07:29am
Re: Fitting Data ES 03/06/12 10:44am
Next Comment >Help | Reply To Topic