![]() |
ROOT 6.12/07 Reference Guide |
ProfileLikelihoodTestStat is an implementation of the TestStatistic interface that calculates the profile likelihood ratio at a particular parameter point given a dataset.
It does not constitute a statistical test, for that one may either use:
Definition at line 32 of file ProfileLikelihoodTestStat.h.
Public Member Functions | |
ProfileLikelihoodTestStat () | |
ProfileLikelihoodTestStat (RooAbsPdf &pdf) | |
virtual | ~ProfileLikelihoodTestStat () |
virtual void | EnableDetailedOutput (bool e=true, bool withErrorsAndPulls=false) |
virtual Double_t | Evaluate (RooAbsData &data, RooArgSet ¶msOfInterest) |
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. More... | |
virtual Double_t | EvaluateProfileLikelihood (int type, RooAbsData &data, RooArgSet ¶msOfInterest) |
internal function to evaluate test statistics can do depending on type: 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 RooAbsPdf * | GetPdf () const |
virtual const TString | GetVarName () const |
bool | IsOneSidedDiscovery () const |
bool | IsTwoSided () const |
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 | SetLOffset (Bool_t flag=kTRUE) |
void | SetMinimizer (const char *minimizer) |
void | SetOneSided (Bool_t flag=true) |
void | SetOneSidedDiscovery (Bool_t flag=true) |
void | SetPrintLevel (Int_t printlevel) |
void | SetReuseNLL (Bool_t flag) |
void | SetSigned (Bool_t flag=true) |
void | SetStrategy (Int_t strategy) |
void | SetTolerance (double tol) |
virtual void | SetVarName (const char *name) |
![]() | |
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 Types | |
enum | LimitType { twoSided, oneSided, oneSidedDiscovery } |
Private Member Functions | |
RooFitResult * | GetMinNLL () |
find minimum of NLL using RooMinimizer More... | |
Static Private Attributes | |
static Bool_t | fgAlwaysReuseNll = kTRUE |
#include <RooStats/ProfileLikelihoodTestStat.h>
|
private |
Enumerator | |
---|---|
twoSided | |
oneSided | |
oneSidedDiscovery |
Definition at line 34 of file ProfileLikelihoodTestStat.h.
|
inline |
Definition at line 37 of file ProfileLikelihoodTestStat.h.
|
inline |
Definition at line 58 of file ProfileLikelihoodTestStat.h.
|
inlinevirtual |
Definition at line 79 of file ProfileLikelihoodTestStat.h.
|
inlinevirtual |
Definition at line 113 of file ProfileLikelihoodTestStat.h.
|
inlinevirtual |
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 106 of file ProfileLikelihoodTestStat.h.
|
virtual |
internal function to evaluate test statistics can do depending on type:
Definition at line 56 of file ProfileLikelihoodTestStat.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 119 of file ProfileLikelihoodTestStat.h.
|
private |
find minimum of NLL using RooMinimizer
Definition at line 300 of file ProfileLikelihoodTestStat.cxx.
|
inlinevirtual |
Definition at line 140 of file ProfileLikelihoodTestStat.h.
|
inlinevirtual |
Implements RooStats::TestStatistic.
Definition at line 138 of file ProfileLikelihoodTestStat.h.
|
inline |
Definition at line 93 of file ProfileLikelihoodTestStat.h.
|
inline |
Definition at line 92 of file ProfileLikelihoodTestStat.h.
Definition at line 47 of file ProfileLikelihoodTestStat.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 131 of file ProfileLikelihoodTestStat.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 135 of file ProfileLikelihoodTestStat.h.
Definition at line 98 of file ProfileLikelihoodTestStat.h.
|
inline |
Definition at line 100 of file ProfileLikelihoodTestStat.h.
Definition at line 87 of file ProfileLikelihoodTestStat.h.
Definition at line 88 of file ProfileLikelihoodTestStat.h.
Definition at line 103 of file ProfileLikelihoodTestStat.h.
Definition at line 97 of file ProfileLikelihoodTestStat.h.
Definition at line 89 of file ProfileLikelihoodTestStat.h.
Definition at line 101 of file ProfileLikelihoodTestStat.h.
|
inline |
Definition at line 102 of file ProfileLikelihoodTestStat.h.
|
inlinevirtual |
Definition at line 137 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 153 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 164 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 163 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 161 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 162 of file ProfileLikelihoodTestStat.h.
Definition at line 169 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 165 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 154 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 156 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 175 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 171 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 152 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 151 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 174 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 170 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 157 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 172 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 173 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 167 of file ProfileLikelihoodTestStat.h.