ROOT 6.10/09 Reference Guide |
TestStatistic class that returns -log(L[null] / L[alt]) where L is the likelihood.
It is often called as the LEP Test statistic.
Definition at line 24 of file SimpleLikelihoodRatioTestStat.h.
Public Member Functions | |
SimpleLikelihoodRatioTestStat () | |
SimpleLikelihoodRatioTestStat (RooAbsPdf &nullPdf, RooAbsPdf &altPdf) | |
SimpleLikelihoodRatioTestStat (RooAbsPdf &nullPdf, RooAbsPdf &altPdf, const RooArgSet &nullParameters, const RooArgSet &altParameters) | |
virtual | ~SimpleLikelihoodRatioTestStat () |
virtual void | EnableDetailedOutput (bool e=true) |
virtual Double_t | Evaluate (RooAbsData &data, RooArgSet &nullPOI) |
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. More... | |
virtual const RooArgSet * | GetDetailedOutput (void) const |
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will not loose validity until another call to Evaluate. More... | |
virtual const TString | GetVarName () const |
bool | ParamsAreEqual () |
void | SetAltParameters (const RooArgSet &altParameters) |
virtual void | SetConditionalObservables (const RooArgSet &set) |
void | SetNullParameters (const RooArgSet &nullParameters) |
void | SetReuseNLL (Bool_t flag) |
Public Member Functions inherited from RooStats::TestStatistic | |
virtual | ~TestStatistic () |
virtual bool | PValueIsRightTail (void) const |
Defines the sign convention of the test statistic. Overwrite function if necessary. More... | |
Static Public Member Functions | |
static void | SetAlwaysReuseNLL (Bool_t flag) |
Private Attributes | |
RooArgSet * | fAltParameters |
RooAbsPdf * | fAltPdf |
RooArgSet | fConditionalObs |
RooArgSet * | fDetailedOutput |
bool | fDetailedOutputEnabled |
bool | fFirstEval |
RooAbsReal * | fNllAlt |
transient copy of the null NLL More... | |
RooAbsReal * | fNllNull |
RooArgSet * | fNullParameters |
RooAbsPdf * | fNullPdf |
Bool_t | fReuseNll |
Static Private Attributes | |
static Bool_t | fgAlwaysReuseNll = kTRUE |
transient copy of the alt NLL More... | |
#include <RooStats/SimpleLikelihoodRatioTestStat.h>
|
inline |
Definition at line 29 of file SimpleLikelihoodRatioTestStat.h.
|
inline |
Definition at line 44 of file SimpleLikelihoodRatioTestStat.h.
|
inline |
Definition at line 71 of file SimpleLikelihoodRatioTestStat.h.
|
inlinevirtual |
Definition at line 96 of file SimpleLikelihoodRatioTestStat.h.
|
inlinevirtual |
Definition at line 151 of file SimpleLikelihoodRatioTestStat.h.
|
virtual |
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest.
Implements RooStats::TestStatistic.
Definition at line 30 of file SimpleLikelihoodRatioTestStat.cxx.
|
inlinevirtual |
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will not loose validity until another call to Evaluate.
Reimplemented from RooStats::TestStatistic.
Definition at line 152 of file SimpleLikelihoodRatioTestStat.h.
|
inlinevirtual |
Implements RooStats::TestStatistic.
Definition at line 154 of file SimpleLikelihoodRatioTestStat.h.
|
inline |
Definition at line 125 of file SimpleLikelihoodRatioTestStat.h.
|
inline |
Definition at line 117 of file SimpleLikelihoodRatioTestStat.h.
Definition at line 28 of file SimpleLikelihoodRatioTestStat.cxx.
|
inlinevirtual |
Definition at line 146 of file SimpleLikelihoodRatioTestStat.h.
|
inline |
Definition at line 109 of file SimpleLikelihoodRatioTestStat.h.
Definition at line 106 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 163 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 161 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 164 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 168 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 167 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 165 of file SimpleLikelihoodRatioTestStat.h.
transient copy of the alt NLL
Definition at line 172 of file SimpleLikelihoodRatioTestStat.h.
|
private |
transient copy of the null NLL
Definition at line 171 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 170 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 162 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 160 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 173 of file SimpleLikelihoodRatioTestStat.h.