# Test how compatible two tgraphs are

**URL:** <https://root-forum.cern.ch/t/test-how-compatible-two-tgraphs-are/44427>\
**Category:** Newbie\
**Created:** [April 15, 2021, 2:40pm UTC](https://root-forum.cern.ch/t/test-how-compatible-two-tgraphs-are/44427 "2021-04-15T14:40:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ROOTer1](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@ROOTer1](https://root-forum.cern.ch/u/ROOTer1)\
**Post date:** [April 15, 2021, 2:40pm UTC](https://root-forum.cern.ch/t/test-how-compatible-two-tgraphs-are/44427/1 "2021-04-15T14:40:24Z")

</div>

Dear,

I have two tgraphs that can not be fitted with a function, but I was to perform a test on how compatible they are with each other. Is there any function in ROOT to do that?

Cheers!

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [April 15, 2021, 3:27pm UTC](https://root-forum.cern.ch/t/test-how-compatible-two-tgraphs-are/44427/2 "2021-04-15T15:27:35Z")

</div>

What about [this](https://root.cern/doc/master/namespaceTMath.html#a2dcadfdb80ed8b7413ca84b71cb56434) ?

---

<div class="post-metadata">

**Author:** ![ROOTer1](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@ROOTer1](https://root-forum.cern.ch/u/ROOTer1)\
**Post date:** [April 16, 2021, 1:44am UTC](https://root-forum.cern.ch/t/test-how-compatible-two-tgraphs-are/44427/3 "2021-04-16T01:44:09Z")

</div>

Thank you very much!
