ROOT
6.07/01
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:
the ProfileLikelihoodCalculator that relies on asymptotic properties of the Profile Likelihood Ratio the Neyman Construction classes with this class as a test statistic the Hybrid Calculator class with this class as a test statistic
Definition at line 57 of file ProfileLikelihoodTestStat.h.
Public Member Functions | |
ProfileLikelihoodTestStat () | |
ProfileLikelihoodTestStat (RooAbsPdf &pdf) | |
virtual | ~ProfileLikelihoodTestStat () |
void | SetOneSided (Bool_t flag=true) |
void | SetOneSidedDiscovery (Bool_t flag=true) |
void | SetSigned (Bool_t flag=true) |
bool | IsTwoSided () const |
bool | IsOneSidedDiscovery () const |
void | SetReuseNLL (Bool_t flag) |
void | SetLOffset (Bool_t flag=kTRUE) |
void | SetMinimizer (const char *minimizer) |
void | SetStrategy (Int_t strategy) |
void | SetTolerance (double tol) |
void | SetPrintLevel (Int_t printlevel) |
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) |
virtual void | EnableDetailedOutput (bool e=true, bool withErrorsAndPulls=false) |
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 void | SetConditionalObservables (const RooArgSet &set) |
virtual void | SetVarName (const char *name) |
virtual const TString | GetVarName () const |
virtual RooAbsPdf * | GetPdf () 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 Types | |
enum | LimitType { twoSided, oneSided, oneSidedDiscovery } |
Private Member Functions | |
RooFitResult * | GetMinNLL () |
Static Private Attributes | |
static Bool_t | fgAlwaysReuseNll = kTRUE |
#include <RooStats/ProfileLikelihoodTestStat.h>
|
private |
Enumerator | |
---|---|
twoSided | |
oneSided | |
oneSidedDiscovery |
Definition at line 59 of file ProfileLikelihoodTestStat.h.
|
inline |
Definition at line 62 of file ProfileLikelihoodTestStat.h.
|
inline |
Definition at line 83 of file ProfileLikelihoodTestStat.h.
|
inlinevirtual |
Definition at line 104 of file ProfileLikelihoodTestStat.h.
|
inlinevirtual |
Definition at line 138 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::EnableDetailedOutput(), and RooStats::RatioOfProfiledLikelihoodsTestStat::EnableDetailedOutput().
|
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 131 of file ProfileLikelihoodTestStat.h.
|
virtual |
Definition at line 33 of file ProfileLikelihoodTestStat.cxx.
Referenced by RooStats::MinNLLTestStat::Evaluate(), and Evaluate().
|
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 144 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::GetDetailedOutput().
|
private |
Definition at line 276 of file ProfileLikelihoodTestStat.cxx.
|
inlinevirtual |
Definition at line 161 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::MinNLLTestStat(), and RooStats::MinNLLTestStat::operator=().
|
inlinevirtual |
Implements RooStats::TestStatistic.
Definition at line 159 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::GetVarName().
|
inline |
Definition at line 118 of file ProfileLikelihoodTestStat.h.
|
inline |
Definition at line 117 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::HypoTestInverter::CreateResults().
Definition at line 31 of file ProfileLikelihoodTestStat.cxx.
|
inlinevirtual |
Definition at line 156 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::RatioOfProfiledLikelihoodsTestStat::SetConditionalObservables().
Definition at line 123 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::SetLOffset().
|
inline |
Definition at line 125 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::SetMinimizer(), and RooStats::RatioOfProfiledLikelihoodsTestStat::SetMinimizer().
Definition at line 112 of file ProfileLikelihoodTestStat.h.
Referenced by OneSidedFrequentistUpperLimitWithBands(), and RooStats::MinNLLTestStat::SetOneSided().
Definition at line 113 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::SetOneSidedDiscovery(), StandardFrequentistDiscovery(), and StandardHypoTestDemo().
Definition at line 128 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::SetPrintLevel(), RooStats::RatioOfProfiledLikelihoodsTestStat::SetPrintLevel(), and StandardHypoTestDemo().
Definition at line 122 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::SetReuseNLL(), and RooStats::RatioOfProfiledLikelihoodsTestStat::SetReuseNLL().
Definition at line 114 of file ProfileLikelihoodTestStat.h.
Definition at line 126 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::SetStrategy(), and RooStats::RatioOfProfiledLikelihoodsTestStat::SetStrategy().
Definition at line 127 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::SetTolerance(), and RooStats::RatioOfProfiledLikelihoodsTestStat::SetTolerance().
|
inlinevirtual |
Definition at line 158 of file ProfileLikelihoodTestStat.h.
Referenced by RooStats::MinNLLTestStat::SetVarName(), and StandardFrequentistDiscovery().
|
private |
Definition at line 174 of file ProfileLikelihoodTestStat.h.
Referenced by ProfileLikelihoodTestStat(), and ~ProfileLikelihoodTestStat().
|
private |
Definition at line 185 of file ProfileLikelihoodTestStat.h.
Referenced by SetConditionalObservables().
|
private |
Definition at line 184 of file ProfileLikelihoodTestStat.h.
Referenced by EnableDetailedOutput(), GetDetailedOutput(), ProfileLikelihoodTestStat(), and ~ProfileLikelihoodTestStat().
|
private |
Definition at line 182 of file ProfileLikelihoodTestStat.h.
Referenced by EnableDetailedOutput(), and ProfileLikelihoodTestStat().
|
private |
Definition at line 183 of file ProfileLikelihoodTestStat.h.
Referenced by EnableDetailedOutput(), and ProfileLikelihoodTestStat().
Definition at line 189 of file ProfileLikelihoodTestStat.h.
|
private |
Definition at line 175 of file ProfileLikelihoodTestStat.h.
Referenced by ProfileLikelihoodTestStat().
|
private |
Definition at line 177 of file ProfileLikelihoodTestStat.h.
Referenced by IsOneSidedDiscovery(), IsTwoSided(), ProfileLikelihoodTestStat(), SetOneSided(), and SetOneSidedDiscovery().
|
private |
Definition at line 195 of file ProfileLikelihoodTestStat.h.
Referenced by ProfileLikelihoodTestStat(), and SetLOffset().
|
private |
Definition at line 191 of file ProfileLikelihoodTestStat.h.
Referenced by ProfileLikelihoodTestStat(), and SetMinimizer().
|
private |
Definition at line 173 of file ProfileLikelihoodTestStat.h.
Referenced by ProfileLikelihoodTestStat(), and ~ProfileLikelihoodTestStat().
|
private |
Definition at line 172 of file ProfileLikelihoodTestStat.h.
Referenced by GetPdf(), and ProfileLikelihoodTestStat().
|
private |
Definition at line 194 of file ProfileLikelihoodTestStat.h.
Referenced by ProfileLikelihoodTestStat(), and SetPrintLevel().
|
private |
Definition at line 190 of file ProfileLikelihoodTestStat.h.
Referenced by ProfileLikelihoodTestStat(), and SetReuseNLL().
|
private |
Definition at line 178 of file ProfileLikelihoodTestStat.h.
Referenced by ProfileLikelihoodTestStat(), and SetSigned().
|
private |
Definition at line 192 of file ProfileLikelihoodTestStat.h.
Referenced by ProfileLikelihoodTestStat(), and SetStrategy().
|
private |
Definition at line 193 of file ProfileLikelihoodTestStat.h.
Referenced by ProfileLikelihoodTestStat(), and SetTolerance().
|
private |
Definition at line 187 of file ProfileLikelihoodTestStat.h.
Referenced by GetVarName(), ProfileLikelihoodTestStat(), and SetVarName().