ROOT 6.14/05 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) |
interface to set conditional observables. If a test statistics needs them it will re-implement this function More... | |
virtual void | SetGlobalObservables (const RooArgSet &set) |
interface to set global observables. If a test statistics needs them it will re-implement this function More... | |
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 |
RooArgSet | fGlobalObs |
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 155 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 156 of file SimpleLikelihoodRatioTestStat.h.
|
inlinevirtual |
Implements RooStats::TestStatistic.
Definition at line 158 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 |
interface to set conditional observables. If a test statistics needs them it will re-implement this function
Reimplemented from RooStats::TestStatistic.
Definition at line 146 of file SimpleLikelihoodRatioTestStat.h.
|
inlinevirtual |
interface to set global observables. If a test statistics needs them it will re-implement this function
Reimplemented from RooStats::TestStatistic.
Definition at line 150 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 167 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 165 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 168 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 173 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 172 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 170 of file SimpleLikelihoodRatioTestStat.h.
transient copy of the alt NLL
Definition at line 177 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 169 of file SimpleLikelihoodRatioTestStat.h.
|
private |
transient copy of the null NLL
Definition at line 176 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 175 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 166 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 164 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 178 of file SimpleLikelihoodRatioTestStat.h.