ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::ProfileLikelihoodTestStat

class RooStats::ProfileLikelihoodTestStat: public RooStats::TestStatistic


ProfileLikelihoodTestStat is an implementation of the TestStatistic interface that calculates the profile likelihood ratio at a particular parameter point given a dataset. It does not constitute a statistical test, for that one may either use:

  • the ProfileLikelihoodCalculator that relies on asymptotic properties of the Profile Likelihood Ratio
  • the Neyman Construction classes with this class as a test statistic
  • the Hybrid Calculator class with this class as a test statistic



Function Members (Methods)

Data Members

private:
const RooArgSet*fCachedBestFitParams
RooAbsData*fLastData
RooNLLVar*fNll!
Bool_tfOneSided
RooAbsPdf*fPdf
RooProfileLL*fProfile!
Bool_tfReuseNll
static Bool_tfgAlwaysReuseNll

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

ProfileLikelihoodTestStat()
 Proof constructor. Do not use.
ProfileLikelihoodTestStat(RooAbsPdf& pdf)
virtual ~ProfileLikelihoodTestStat()
       delete fRand;
       delete fTestStatistic;
void SetOneSided(Bool_t flag = true)
{fOneSided = flag;}
void SetAlwaysReuseNLL(Bool_t flag)
{ fgAlwaysReuseNll = flag ; }
void SetReuseNLL(Bool_t flag)
{ fReuseNll = flag ; }
Double_t Evaluate(RooAbsData& data, RooArgSet& paramsOfInterest)
 Main interface to evaluate the test statistic on a dataset
const TString GetVarName() const
{return "Profile Likelihood Ratio";}