# Chi2 in RooFit: why no error on prediction?

**URL:** <https://root-forum.cern.ch/t/chi2-in-roofit-why-no-error-on-prediction/12635>\
**Category:** Roofit and RooStats\
**Created:** [June 22, 2011, 12:53pm UTC](https://root-forum.cern.ch/t/chi2-in-roofit-why-no-error-on-prediction/12635 "2011-06-22T12:53:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlp](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jlp](https://root-forum.cern.ch/u/jlp)\
**Post date:** [June 22, 2011, 12:53pm UTC](https://root-forum.cern.ch/t/chi2-in-roofit-why-no-error-on-prediction/12635/1 "2011-06-22T12:53:42Z")

</div>

Hello,

I wonder why a chi2 fit in RooFit does not take the error on prediction into account. AFAIK the denominator, eg. the error, is that of the data only.  
Is there a reason not to consider the error on prediction as well (eg. finite statistics if using MC, other sources of errors if using data-driven models etc.)?

Thanks and cheers,

jl

---

<div class="post-metadata">

**Author:** ![jlp](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jlp](https://root-forum.cern.ch/u/jlp)\
**Post date:** [June 27, 2011, 11:46am UTC](https://root-forum.cern.ch/t/chi2-in-roofit-why-no-error-on-prediction/12635/2 "2011-06-27T11:46:09Z")

</div>

Hello,

Any piece of info from the authors or someone knowledgeable would be greatly appreciated.

Thanks,

jl
