Student's T-Test in ROOT

Hi,
I’m wondering how I could perform a Student’s T-Test using ROOT. It is doable via some combination of RDataFram operations and RooStat calls to calculate the CDF. But that seems off. Is there a simpler way to run t-test in ROOT?


Please read tips for efficient and successful posting and posting code

ROOT Version: 6.18-9
Platform: Linux x64
Compiler: GCC


TMath::Student
TMath::StudentI
TMath::StudentQuantile