How to evaluate the fitting result is good?

Hi expert.
I have a question.
When i was fitting the histogram, how can i evaluate the fitting result is good or not?


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


I think you already asked this once. But anyway, @moneta can probably help you

But I’m not sure about that Chi square can evaluate it or not.

Anyway thanks for reply.

Hi,
You can check first of the return status of the fit result is zero. If it is zero it means the fit converged… It could be that the result is not good because the function model does not represent the histogram. Then you need to check if the chi2 value is reasonable, i.e… close to 1 when divided by the number of degree of freedom

Cheers

Lorenzo

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.