[ROOT-4722] Chisquare method for TH1 Created: 24/Nov/12 Updated: 15/May/19 Resolved: 03/Dec/13
|Affects Version/s:||< v5-28-00|
|Reporter:||Erkcan Ozcan||Assignee:||Lorenzo Moneta|
|External issue ID:||bugs99058|
|External issue URL:||https://savannah.cern.ch/bugs/?99058|
Could we please have a chisquare method for TH1 the same way we have for TGraph?
Of course I am aware that I can do a fit, but imagine I fix the parameters of a function manually and want to get the chisquare, there is no way of doing it (unless I compute the chisquare by hand).
I have tried fitting to a function with no parameters or with parameters but all parameters fixed, but these yield zero.
|Comment by Lorenzo Moneta [ 27/Nov/12 ]|
Your requests make sense. The chi2 should also be computed in case all the parameters are fixed. I will try to fix also that case
Thanks for your report
|Comment by Lorenzo Moneta [ 03/Dec/13 ]|
A new function, TH1::Chisquare is now implemented in 5.34 patches and master