ROOT
6.06/09
Reference Guide
|
IntervalCalculator is an interface class for a tools which produce RooStats ConfIntervals.
The interface currently assumes that any interval calculator can be configured by specifying:
a model, a data set, a set of parameters of interest, a set of nuisance parameters (eg. parameters on which the model depends, but are not of interest), and a confidence level or size of the test (eg. rate of Type I error).
The interface allows one to pass the model, data, and parameters via a workspace and then specify them with names. The interface will be extended so that one does not need to use a workspace.
After configuring the calculator, one only needs to ask GetInterval, which will return a ConfInterval pointer.
The concrete implementations of this interface should deal with the details of how the nuisance parameters are dealt with (eg. integration vs. profiling) and which test-statistic is used (perhaps this should be added to the interface).
The motivation for this interface is that we hope to be able to specify the problem in a common way for several concrete calculators.END_HTML
Definition at line 58 of file IntervalCalculator.h.
Public Member Functions | |
virtual | ~IntervalCalculator () |
virtual ConfInterval * | GetInterval () const =0 |
Main interface to get a ConfInterval, pure virtual. More... | |
virtual Double_t | Size () const =0 |
Get the size of the test (eg. rate of Type I error) More... | |
virtual Double_t | ConfidenceLevel () const =0 |
Get the Confidence level for the test. More... | |
virtual void | SetData (RooAbsData &)=0 |
Set the DataSet ( add to the the workspace if not already there ?) More... | |
virtual void | SetModel (const ModelConfig &)=0 |
Set the Model. More... | |
virtual void | SetTestSize (Double_t size)=0 |
set the size of the test (rate of Type I error) ( e.g. 0.05 for a 95% Confidence Interval) More... | |
virtual void | SetConfidenceLevel (Double_t cl)=0 |
set the confidence level for the interval (e.g. 0.95 for a 95% Confidence Interval) More... | |
#include <RooStats/IntervalCalculator.h>
|
inlinevirtual |
Definition at line 62 of file IntervalCalculator.h.
|
pure virtual |
Get the Confidence level for the test.
Implemented in RooStats::BayesianCalculator, RooStats::HypoTestInverter, RooStats::CombinedCalculator, RooStats::NeymanConstruction, RooStats::MCMCCalculator, RooStats::HypoTestInverterOriginal, and RooStats::FeldmanCousins.
|
pure virtual |
Main interface to get a ConfInterval, pure virtual.
Implemented in RooStats::BayesianCalculator, RooStats::CombinedCalculator, RooStats::HypoTestInverter, RooStats::MCMCCalculator, RooStats::ProfileLikelihoodCalculator, RooStats::FeldmanCousins, RooStats::NeymanConstruction, and RooStats::HypoTestInverterOriginal.
set the confidence level for the interval (e.g. 0.95 for a 95% Confidence Interval)
Implemented in RooStats::BayesianCalculator, RooStats::HypoTestInverter, RooStats::MCMCCalculator, RooStats::NeymanConstruction, RooStats::CombinedCalculator, RooStats::FeldmanCousins, and RooStats::HypoTestInverterOriginal.
|
pure virtual |
Set the DataSet ( add to the the workspace if not already there ?)
Implemented in RooStats::CombinedCalculator, RooStats::HypoTestInverter, RooStats::BayesianCalculator, RooStats::NeymanConstruction, RooStats::MCMCCalculator, RooStats::FeldmanCousins, and RooStats::HypoTestInverterOriginal.
|
pure virtual |
set the size of the test (rate of Type I error) ( e.g. 0.05 for a 95% Confidence Interval)
Implemented in RooStats::BayesianCalculator, RooStats::HypoTestInverter, RooStats::MCMCCalculator, RooStats::NeymanConstruction, RooStats::CombinedCalculator, RooStats::FeldmanCousins, and RooStats::HypoTestInverterOriginal.
|
pure virtual |
Get the size of the test (eg. rate of Type I error)
Implemented in RooStats::BayesianCalculator, RooStats::HypoTestInverter, RooStats::CombinedCalculator, RooStats::MCMCCalculator, RooStats::NeymanConstruction, RooStats::HypoTestInverterOriginal, and RooStats::FeldmanCousins.