Greetings,
I have two histograms of the Co60 beta decay spectrum with me. One of them is simulated using geant4 and the other one is experimentally obtained. I have scaled the GEANT4 spectrum to the experimental count rate and visually they seem a good fit. But I would like to perform a quantitative measurement of the goodness of the fit. I could have performed the chi-square test or reduced chi-square test in root, but the problem is that both the histograms are having different binning. As far as I know, the chi-square fit works if the binnings are the same. Is there any other option in root for estimating the goodness of fit with different binning?
The data is stored as the bin center- bin content format in data files as follows
13.txt (7.1 KB)
14.txt (10.6 KB)
_ROOT Version:_ROOT 6.26/10
Platform: ubuntu~22.04
Compiler: gcc