ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::SimpleLikelihoodRatioTestStat

class RooStats::SimpleLikelihoodRatioTestStat: public RooStats::TestStatistic



SimpleLikelihoodRatioTestStat: TestStatistic that returns -log(L[null] / L[alt]) where L is the likelihood.



Function Members (Methods)

Data Members

private:
RooArgSet*fAltParameters
RooAbsPdf*fAltPdf
static Bool_tfAlwaysReuseNll
boolfFirstEval
RooNLLVar*fNllAlt
RooNLLVar*fNllNull
RooArgSet*fNullParameters
RooAbsPdf*fNullPdf
Bool_tfReuseNll
RooWorkspacew

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

SimpleLikelihoodRatioTestStat()
SimpleLikelihoodRatioTestStat(RooAbsPdf& nullPdf, RooAbsPdf& altPdf)
SimpleLikelihoodRatioTestStat(RooAbsPdf& nullPdf, RooAbsPdf& altPdf, const RooArgSet& nullParameters, const RooArgSet& altParameters)
virtual ~SimpleLikelihoodRatioTestStat()
void setAlwaysReuseNLL(Bool_t flag)
{ fAlwaysReuseNll = flag ; }
void setReuseNLL(Bool_t flag)
{ fReuseNll = flag ; }
void SetNullParameters(const RooArgSet& nullParameters)
void SetAltParameters(const RooArgSet& altParameters)
bool ParamsAreEqual()
Double_t Evaluate(RooAbsData& data, RooArgSet& nullPOI)
const TString GetVarName() const