Logo ROOT  
Reference Guide
RooStats::MaxLikelihoodEstimateTestStat Class Reference

MaxLikelihoodEstimateTestStat: TestStatistic that returns maximum likelihood estimate of a specified parameter.

Definition at line 39 of file MaxLikelihoodEstimateTestStat.h.

Public Member Functions

 MaxLikelihoodEstimateTestStat ()
 
 MaxLikelihoodEstimateTestStat (RooAbsPdf &pdf, RooRealVar &parameter)
 
virtual Double_t Evaluate (RooAbsData &data, RooArgSet &)
 Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. More...
 
virtual const TString GetVarName () const
 
virtual void PValueIsRightTail (bool isright)
 
virtual bool PValueIsRightTail (void) const
 Defines the sign convention of the test statistic. Overwrite function if necessary. More...
 
virtual void SetConditionalObservables (const RooArgSet &set)
 interface to set conditional observables. If a test statistics needs them it will re-implement this function More...
 
- Public Member Functions inherited from RooStats::TestStatistic
virtual ~TestStatistic ()
 
virtual Double_t Evaluate (RooAbsData &data, RooArgSet &nullPOI)=0
 Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. More...
 
virtual const RooArgSetGetDetailedOutput () 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 =0
 
virtual bool PValueIsRightTail (void) const
 Defines the sign convention of the test statistic. Overwrite function if necessary. More...
 
virtual void SetConditionalObservables (const RooArgSet &)
 interface to set conditional observables. If a test statistics needs them it will re-implement this function More...
 
virtual void SetGlobalObservables (const RooArgSet &)
 interface to set global observables. If a test statistics needs them it will re-implement this function More...
 

Private Attributes

RooArgSet fConditionalObs
 
TString fMinimizer
 
RooRealVarfParameter
 
RooAbsPdffPdf
 
Int_t fPrintLevel
 
Int_t fStrategy
 
bool fUpperLimit
 

#include <RooStats/MaxLikelihoodEstimateTestStat.h>

Inheritance diagram for RooStats::MaxLikelihoodEstimateTestStat:
[legend]

Constructor & Destructor Documentation

◆ MaxLikelihoodEstimateTestStat() [1/2]

RooStats::MaxLikelihoodEstimateTestStat::MaxLikelihoodEstimateTestStat ( )
inline

Definition at line 44 of file MaxLikelihoodEstimateTestStat.h.

◆ MaxLikelihoodEstimateTestStat() [2/2]

RooStats::MaxLikelihoodEstimateTestStat::MaxLikelihoodEstimateTestStat ( RooAbsPdf pdf,
RooRealVar parameter 
)
inline

Definition at line 57 of file MaxLikelihoodEstimateTestStat.h.

Member Function Documentation

◆ Evaluate()

virtual Double_t RooStats::MaxLikelihoodEstimateTestStat::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 70 of file MaxLikelihoodEstimateTestStat.h.

◆ GetVarName()

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

Implements RooStats::TestStatistic.

Definition at line 138 of file MaxLikelihoodEstimateTestStat.h.

◆ PValueIsRightTail() [1/2]

virtual void RooStats::MaxLikelihoodEstimateTestStat::PValueIsRightTail ( bool  isright)
inlinevirtual

Definition at line 144 of file MaxLikelihoodEstimateTestStat.h.

◆ PValueIsRightTail() [2/2]

virtual bool RooStats::MaxLikelihoodEstimateTestStat::PValueIsRightTail ( void  ) const
inlinevirtual

Defines the sign convention of the test statistic. Overwrite function if necessary.

Reimplemented from RooStats::TestStatistic.

Definition at line 145 of file MaxLikelihoodEstimateTestStat.h.

◆ SetConditionalObservables()

virtual void RooStats::MaxLikelihoodEstimateTestStat::SetConditionalObservables ( const RooArgSet )
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 149 of file MaxLikelihoodEstimateTestStat.h.

Member Data Documentation

◆ fConditionalObs

RooArgSet RooStats::MaxLikelihoodEstimateTestStat::fConditionalObs
private

Definition at line 155 of file MaxLikelihoodEstimateTestStat.h.

◆ fMinimizer

TString RooStats::MaxLikelihoodEstimateTestStat::fMinimizer
private

Definition at line 157 of file MaxLikelihoodEstimateTestStat.h.

◆ fParameter

RooRealVar* RooStats::MaxLikelihoodEstimateTestStat::fParameter
private

Definition at line 154 of file MaxLikelihoodEstimateTestStat.h.

◆ fPdf

RooAbsPdf* RooStats::MaxLikelihoodEstimateTestStat::fPdf
private

Definition at line 153 of file MaxLikelihoodEstimateTestStat.h.

◆ fPrintLevel

Int_t RooStats::MaxLikelihoodEstimateTestStat::fPrintLevel
private

Definition at line 159 of file MaxLikelihoodEstimateTestStat.h.

◆ fStrategy

Int_t RooStats::MaxLikelihoodEstimateTestStat::fStrategy
private

Definition at line 158 of file MaxLikelihoodEstimateTestStat.h.

◆ fUpperLimit

bool RooStats::MaxLikelihoodEstimateTestStat::fUpperLimit
private

Definition at line 156 of file MaxLikelihoodEstimateTestStat.h.

Libraries for RooStats::MaxLikelihoodEstimateTestStat:
[legend]

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