# Uncertainty in fit parameters vs statistical uncertainity?

**URL:** <https://root-forum.cern.ch/t/uncertainty-in-fit-parameters-vs-statistical-uncertainity/59113>\
**Category:** Newbie\
**Created:** [April 24, 2024, 6:23am UTC](https://root-forum.cern.ch/t/uncertainty-in-fit-parameters-vs-statistical-uncertainity/59113 "2024-04-24T06:23:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![utkarsh-2000](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/e47774/32.png) [@utkarsh-2000](https://root-forum.cern.ch/u/utkarsh-2000)\
**Post date:** [April 24, 2024, 6:23am UTC](https://root-forum.cern.ch/t/uncertainty-in-fit-parameters-vs-statistical-uncertainity/59113/1 "2024-04-24T06:23:18Z")

</div>

Hi all,

I fit a histogram with an exponential function; ROOT gives the `Slope` and the `ERROR` in the slope.

My query is, is the error in the slope already including the statistical uncertainty 1/\sqrt(n), n is the histogram integral or is it purely coming from the (co)variances?

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [April 24, 2024, 7:03am UTC](https://root-forum.cern.ch/t/uncertainty-in-fit-parameters-vs-statistical-uncertainity/59113/2 "2024-04-24T07:03:15Z")

</div>

Dear @utkarsh-2000 ,

Thank you for reaching out to the forum! I will let @moneta comment on your query. Meanwhile, did you already have a look around the documentation? If this information is missing or unclear we could add it.

Cheers,  
Vincenzo

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [April 24, 2024, 8:44am UTC](https://root-forum.cern.ch/t/uncertainty-in-fit-parameters-vs-statistical-uncertainity/59113/3 "2024-04-24T08:44:54Z")

</div>

Hello,

The error in the slope (fit parameter) comes from the fit result covariance. Since the fit includes the statical error of the histogram bins, the covariance includes the statistical uncertainty from the bin content fluctuations.

Best regards

Lorenzo

---

<div class="post-metadata">

**Author:** ![utkarsh-2000](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/e47774/32.png) [@utkarsh-2000](https://root-forum.cern.ch/u/utkarsh-2000)\
**Post date:** [April 24, 2024, 9:20am UTC](https://root-forum.cern.ch/t/uncertainty-in-fit-parameters-vs-statistical-uncertainity/59113/4 "2024-04-24T09:20:39Z")

</div>

Thanks a lot @moneta
