![]() |
ROOT
6.06/08
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 () |
| void | SetReuseNLL (Bool_t flag) |
| void | SetNullParameters (const RooArgSet &nullParameters) |
| void | SetAltParameters (const RooArgSet &altParameters) |
| bool | ParamsAreEqual () |
| virtual void | SetConditionalObservables (const RooArgSet &set) |
| 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 void | EnableDetailedOutput (bool e=true) |
| 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 |
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 | |
| RooAbsPdf * | fNullPdf |
| RooAbsPdf * | fAltPdf |
| RooArgSet * | fNullParameters |
| RooArgSet * | fAltParameters |
| RooArgSet | fConditionalObs |
| bool | fFirstEval |
| bool | fDetailedOutputEnabled |
| RooArgSet * | fDetailedOutput |
| RooAbsReal * | fNllNull |
| RooAbsReal * | fNllAlt |
| transient copy of the null NLL More... | |
| Bool_t | fReuseNll |
Static Private Attributes | |
| static Bool_t | fgAlwaysReuseNll = kTRUE |
| transient copy of the alt NLL More... | |
#include <RooStats/SimpleLikelihoodRatioTestStat.h>
Inheritance diagram for RooStats::SimpleLikelihoodRatioTestStat:
Collaboration diagram for RooStats::SimpleLikelihoodRatioTestStat:
|
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.
Referenced by SetConditionalObservables().
|
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.
Referenced by Evaluate().
|
inline |
Definition at line 140 of file SimpleLikelihoodRatioTestStat.h.
Definition at line 17 of file SimpleLikelihoodRatioTestStat.cxx.
Referenced by ~SimpleLikelihoodRatioTestStat().
|
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.
Referenced by Evaluate(), ParamsAreEqual(), SetAltParameters(), SimpleLikelihoodRatioTestStat(), and ~SimpleLikelihoodRatioTestStat().
|
private |
Definition at line 184 of file SimpleLikelihoodRatioTestStat.h.
Referenced by Evaluate(), and SimpleLikelihoodRatioTestStat().
|
private |
Definition at line 187 of file SimpleLikelihoodRatioTestStat.h.
Referenced by Evaluate(), and SetConditionalObservables().
|
private |
Definition at line 191 of file SimpleLikelihoodRatioTestStat.h.
Referenced by EnableDetailedOutput(), Evaluate(), GetDetailedOutput(), SimpleLikelihoodRatioTestStat(), and ~SimpleLikelihoodRatioTestStat().
|
private |
Definition at line 190 of file SimpleLikelihoodRatioTestStat.h.
Referenced by EnableDetailedOutput(), Evaluate(), and SimpleLikelihoodRatioTestStat().
|
private |
Definition at line 188 of file SimpleLikelihoodRatioTestStat.h.
Referenced by Evaluate(), SetAltParameters(), SetNullParameters(), and SimpleLikelihoodRatioTestStat().
transient copy of the alt NLL
Definition at line 195 of file SimpleLikelihoodRatioTestStat.h.
Referenced by Evaluate(), and SetAlwaysReuseNLL().
|
private |
transient copy of the null NLL
Definition at line 194 of file SimpleLikelihoodRatioTestStat.h.
Referenced by Evaluate(), SimpleLikelihoodRatioTestStat(), and ~SimpleLikelihoodRatioTestStat().
|
private |
Definition at line 193 of file SimpleLikelihoodRatioTestStat.h.
Referenced by Evaluate(), SimpleLikelihoodRatioTestStat(), and ~SimpleLikelihoodRatioTestStat().
|
private |
Definition at line 185 of file SimpleLikelihoodRatioTestStat.h.
Referenced by Evaluate(), ParamsAreEqual(), SetNullParameters(), SimpleLikelihoodRatioTestStat(), and ~SimpleLikelihoodRatioTestStat().
|
private |
Definition at line 183 of file SimpleLikelihoodRatioTestStat.h.
Referenced by Evaluate(), and SimpleLikelihoodRatioTestStat().
|
private |
Definition at line 196 of file SimpleLikelihoodRatioTestStat.h.
Referenced by Evaluate(), SetReuseNLL(), and SimpleLikelihoodRatioTestStat().