ROOT 6.08/07 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 47 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 52 of file SimpleLikelihoodRatioTestStat.h.
|
inline |
Definition at line 67 of file SimpleLikelihoodRatioTestStat.h.
|
inline |
Definition at line 94 of file SimpleLikelihoodRatioTestStat.h.
|
inlinevirtual |
Definition at line 119 of file SimpleLikelihoodRatioTestStat.h.
|
inlinevirtual |
Definition at line 174 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 19 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 175 of file SimpleLikelihoodRatioTestStat.h.
|
inlinevirtual |
Implements RooStats::TestStatistic.
Definition at line 177 of file SimpleLikelihoodRatioTestStat.h.
|
inline |
Definition at line 148 of file SimpleLikelihoodRatioTestStat.h.
|
inline |
Definition at line 140 of file SimpleLikelihoodRatioTestStat.h.
Definition at line 17 of file SimpleLikelihoodRatioTestStat.cxx.
|
inlinevirtual |
Definition at line 169 of file SimpleLikelihoodRatioTestStat.h.
|
inline |
Definition at line 132 of file SimpleLikelihoodRatioTestStat.h.
Definition at line 129 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 186 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 184 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 187 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 191 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 190 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 188 of file SimpleLikelihoodRatioTestStat.h.
transient copy of the alt NLL
Definition at line 195 of file SimpleLikelihoodRatioTestStat.h.
|
private |
transient copy of the null NLL
Definition at line 194 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 193 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 185 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 183 of file SimpleLikelihoodRatioTestStat.h.
|
private |
Definition at line 196 of file SimpleLikelihoodRatioTestStat.h.