ROOT  6.06/08
Reference Guide
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
RooStats::ProfileLikelihoodTestStat Class Reference

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 &paramsOfInterest)
 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 &paramsOfInterest)
 
virtual void EnableDetailedOutput (bool e=true, bool withErrorsAndPulls=false)
 
virtual const RooArgSetGetDetailedOutput (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 RooAbsPdfGetPdf () 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

RooFitResultGetMinNLL ()
 

Private Attributes

RooAbsPdffPdf
 
RooAbsRealfNll
 
const RooArgSetfCachedBestFitParams
 
RooAbsDatafLastData
 
LimitType fLimitType
 
Bool_t fSigned
 
bool fDetailedOutputEnabled
 
bool fDetailedOutputWithErrorsAndPulls
 
RooArgSetfDetailedOutput
 
RooArgSet fConditionalObs
 
TString fVarName
 
Bool_t fReuseNll
 
TString fMinimizer
 
Int_t fStrategy
 
Double_t fTolerance
 
Int_t fPrintLevel
 
Bool_t fLOffset
 

Static Private Attributes

static Bool_t fgAlwaysReuseNll = kTRUE
 

#include <RooStats/ProfileLikelihoodTestStat.h>

+ Inheritance diagram for RooStats::ProfileLikelihoodTestStat:
+ Collaboration diagram for RooStats::ProfileLikelihoodTestStat:

Member Enumeration Documentation

§ LimitType

Enumerator
twoSided 
oneSided 
oneSidedDiscovery 

Definition at line 59 of file ProfileLikelihoodTestStat.h.

Constructor & Destructor Documentation

§ ProfileLikelihoodTestStat() [1/2]

RooStats::ProfileLikelihoodTestStat::ProfileLikelihoodTestStat ( )
inline

Definition at line 62 of file ProfileLikelihoodTestStat.h.

§ ProfileLikelihoodTestStat() [2/2]

RooStats::ProfileLikelihoodTestStat::ProfileLikelihoodTestStat ( RooAbsPdf pdf)
inline

Definition at line 83 of file ProfileLikelihoodTestStat.h.

§ ~ProfileLikelihoodTestStat()

virtual RooStats::ProfileLikelihoodTestStat::~ProfileLikelihoodTestStat ( )
inlinevirtual

Definition at line 104 of file ProfileLikelihoodTestStat.h.

Member Function Documentation

§ EnableDetailedOutput()

virtual void RooStats::ProfileLikelihoodTestStat::EnableDetailedOutput ( bool  e = true,
bool  withErrorsAndPulls = false 
)
inlinevirtual

§ Evaluate()

virtual Double_t RooStats::ProfileLikelihoodTestStat::Evaluate ( RooAbsData data,
RooArgSet nullPOI 
)
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.

§ EvaluateProfileLikelihood()

Double_t RooStats::ProfileLikelihoodTestStat::EvaluateProfileLikelihood ( int  type,
RooAbsData data,
RooArgSet paramsOfInterest 
)
virtual

§ GetDetailedOutput()

virtual const RooArgSet* RooStats::ProfileLikelihoodTestStat::GetDetailedOutput ( void  ) const
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::RatioOfProfiledLikelihoodsTestStat::Evaluate(), and RooStats::MinNLLTestStat::GetDetailedOutput().

§ GetMinNLL()

RooFitResult * RooStats::ProfileLikelihoodTestStat::GetMinNLL ( )
private

Definition at line 276 of file ProfileLikelihoodTestStat.cxx.

Referenced by GetPdf().

§ GetPdf()

virtual RooAbsPdf* RooStats::ProfileLikelihoodTestStat::GetPdf ( ) const
inlinevirtual

§ GetVarName()

virtual const TString RooStats::ProfileLikelihoodTestStat::GetVarName ( ) const
inlinevirtual

§ IsOneSidedDiscovery()

bool RooStats::ProfileLikelihoodTestStat::IsOneSidedDiscovery ( ) const
inline

Definition at line 118 of file ProfileLikelihoodTestStat.h.

§ IsTwoSided()

bool RooStats::ProfileLikelihoodTestStat::IsTwoSided ( ) const
inline

§ SetAlwaysReuseNLL()

void RooStats::ProfileLikelihoodTestStat::SetAlwaysReuseNLL ( Bool_t  flag)
static

Definition at line 31 of file ProfileLikelihoodTestStat.cxx.

Referenced by IsOneSidedDiscovery().

§ SetConditionalObservables()

virtual void RooStats::ProfileLikelihoodTestStat::SetConditionalObservables ( const RooArgSet set)
inlinevirtual

§ SetLOffset()

void RooStats::ProfileLikelihoodTestStat::SetLOffset ( Bool_t  flag = kTRUE)
inline

Definition at line 123 of file ProfileLikelihoodTestStat.h.

Referenced by RooStats::MinNLLTestStat::SetLOffset().

§ SetMinimizer()

void RooStats::ProfileLikelihoodTestStat::SetMinimizer ( const char *  minimizer)
inline

§ SetOneSided()

void RooStats::ProfileLikelihoodTestStat::SetOneSided ( Bool_t  flag = true)
inline

Definition at line 112 of file ProfileLikelihoodTestStat.h.

Referenced by RooStats::MinNLLTestStat::SetOneSided().

§ SetOneSidedDiscovery()

void RooStats::ProfileLikelihoodTestStat::SetOneSidedDiscovery ( Bool_t  flag = true)
inline

§ SetPrintLevel()

void RooStats::ProfileLikelihoodTestStat::SetPrintLevel ( Int_t  printlevel)
inline

§ SetReuseNLL()

void RooStats::ProfileLikelihoodTestStat::SetReuseNLL ( Bool_t  flag)
inline

§ SetSigned()

void RooStats::ProfileLikelihoodTestStat::SetSigned ( Bool_t  flag = true)
inline

Definition at line 114 of file ProfileLikelihoodTestStat.h.

§ SetStrategy()

void RooStats::ProfileLikelihoodTestStat::SetStrategy ( Int_t  strategy)
inline

§ SetTolerance()

void RooStats::ProfileLikelihoodTestStat::SetTolerance ( double  tol)
inline

§ SetVarName()

virtual void RooStats::ProfileLikelihoodTestStat::SetVarName ( const char *  name)
inlinevirtual

Definition at line 158 of file ProfileLikelihoodTestStat.h.

Referenced by RooStats::MinNLLTestStat::SetVarName().

Member Data Documentation

§ fCachedBestFitParams

const RooArgSet* RooStats::ProfileLikelihoodTestStat::fCachedBestFitParams
private

§ fConditionalObs

RooArgSet RooStats::ProfileLikelihoodTestStat::fConditionalObs
private

Definition at line 185 of file ProfileLikelihoodTestStat.h.

Referenced by SetConditionalObservables().

§ fDetailedOutput

RooArgSet* RooStats::ProfileLikelihoodTestStat::fDetailedOutput
private

§ fDetailedOutputEnabled

bool RooStats::ProfileLikelihoodTestStat::fDetailedOutputEnabled
private

Definition at line 182 of file ProfileLikelihoodTestStat.h.

Referenced by EnableDetailedOutput(), and ProfileLikelihoodTestStat().

§ fDetailedOutputWithErrorsAndPulls

bool RooStats::ProfileLikelihoodTestStat::fDetailedOutputWithErrorsAndPulls
private

Definition at line 183 of file ProfileLikelihoodTestStat.h.

Referenced by EnableDetailedOutput(), and ProfileLikelihoodTestStat().

§ fgAlwaysReuseNll

Bool_t RooStats::ProfileLikelihoodTestStat::fgAlwaysReuseNll = kTRUE
staticprivate

Definition at line 189 of file ProfileLikelihoodTestStat.h.

§ fLastData

RooAbsData* RooStats::ProfileLikelihoodTestStat::fLastData
private

Definition at line 175 of file ProfileLikelihoodTestStat.h.

Referenced by ProfileLikelihoodTestStat().

§ fLimitType

LimitType RooStats::ProfileLikelihoodTestStat::fLimitType
private

§ fLOffset

Bool_t RooStats::ProfileLikelihoodTestStat::fLOffset
private

Definition at line 195 of file ProfileLikelihoodTestStat.h.

Referenced by ProfileLikelihoodTestStat(), and SetLOffset().

§ fMinimizer

TString RooStats::ProfileLikelihoodTestStat::fMinimizer
private

Definition at line 191 of file ProfileLikelihoodTestStat.h.

Referenced by ProfileLikelihoodTestStat(), and SetMinimizer().

§ fNll

RooAbsReal* RooStats::ProfileLikelihoodTestStat::fNll
private

§ fPdf

RooAbsPdf* RooStats::ProfileLikelihoodTestStat::fPdf
private

Definition at line 172 of file ProfileLikelihoodTestStat.h.

Referenced by GetPdf(), and ProfileLikelihoodTestStat().

§ fPrintLevel

Int_t RooStats::ProfileLikelihoodTestStat::fPrintLevel
private

Definition at line 194 of file ProfileLikelihoodTestStat.h.

Referenced by ProfileLikelihoodTestStat(), and SetPrintLevel().

§ fReuseNll

Bool_t RooStats::ProfileLikelihoodTestStat::fReuseNll
private

Definition at line 190 of file ProfileLikelihoodTestStat.h.

Referenced by ProfileLikelihoodTestStat(), and SetReuseNLL().

§ fSigned

Bool_t RooStats::ProfileLikelihoodTestStat::fSigned
private

Definition at line 178 of file ProfileLikelihoodTestStat.h.

Referenced by ProfileLikelihoodTestStat(), and SetSigned().

§ fStrategy

Int_t RooStats::ProfileLikelihoodTestStat::fStrategy
private

Definition at line 192 of file ProfileLikelihoodTestStat.h.

Referenced by ProfileLikelihoodTestStat(), and SetStrategy().

§ fTolerance

Double_t RooStats::ProfileLikelihoodTestStat::fTolerance
private

Definition at line 193 of file ProfileLikelihoodTestStat.h.

Referenced by ProfileLikelihoodTestStat(), and SetTolerance().

§ fVarName

TString RooStats::ProfileLikelihoodTestStat::fVarName
private

Definition at line 187 of file ProfileLikelihoodTestStat.h.

Referenced by GetVarName(), ProfileLikelihoodTestStat(), and SetVarName().


The documentation for this class was generated from the following files: