Goodness of fit in ROOFIT

How can i obtain chi2/d.o.f after a fitting by roofit?
The roofit use likelihood method to fit a pdf to data.

can chi2 = xframe->chiSquare() work? it seems the value of it
is not right for i only have 70 bins but the chiSquare() alway greater than 1000 and the fit seems ok.

i

Please submit RooFit questions to “Stats and Math tools”

Rene