# SumW2 gives unexpected errors in RooMCStudy

**URL:** <https://root-forum.cern.ch/t/sumw2-gives-unexpected-errors-in-roomcstudy/59196>\
**Category:** Roofit and RooStats\
**Tags:** bug, roofit\
**Created:** [May 2, 2024, 8:39pm UTC](https://root-forum.cern.ch/t/sumw2-gives-unexpected-errors-in-roomcstudy/59196 "2024-05-02T20:39:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mwilkins](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/mwilkins/32/28332_2.png) [@mwilkins](https://root-forum.cern.ch/u/mwilkins)\
**Post date:** [May 6, 2024, 8:24pm UTC](https://root-forum.cern.ch/t/sumw2-gives-unexpected-errors-in-roomcstudy/59196/6 "2024-05-06T20:24:34Z")

</div>

Also, as confirmed in [your answer #2 here](https://root-forum.cern.ch/t/sumw2error-gives-unexpected-results-with-unweighted-datasets-batchmode/47206/2), I thought `SumW2Errors` was not supposed affect the errors when fitting unweighted datasets…?

---

_[View the full topic](https://root-forum.cern.ch/t/sumw2-gives-unexpected-errors-in-roomcstudy/59196)._
