Dear experts,
When I try to make a langau fit to my histograms, for most of them, the fit works fine but for some of them, I get some strange behaviour which I cannot understand. Please can someone help?
Please have a look at the attached pdf which contains the figures and the fit output.
Meanwhile, do you know if there is an efficient way to give reasonable parameter values when one is fitting many distributions together? Meaning, say, I need to make these langau fits for energy distributions of ~1k electronic chips, for all of which the distribution is expected to be similar, meaning they peak at the nearly the same position etc. I guess it is possible that the start params for one distribution may not be ideal for the next…? If so, how can I solve this?
Yes, I had tried them in the past but somehow, they weren’t giving good results in some cases. I’ll try them again…
Thank you very much for your prompt help.
However, for the the other histogram (the blue one), I had 6 of them with this warning Warning in <Fit>: Abnormal termination of minimization.
and STATUS:FAILED
So I tried changing the start value of MPV to 35. instead of 40. and that resulted in all 6 of them getting fixed but a new one (which was fine before) getting bad . Changing start value to 34. or 36. does not help (infact they make worse the fits for others).
Finding good initial values is the most tricky part in minimization / fitting: it can determine success or failure and can change the result. I don’t think we have any generic recommendations here; this depends too much on the actual problem / distribution. So indeed your best option is likely to take these distributions and use the fit panel (right click the histogram in a pad) to come up with good initial parameter values for a landau distribution.