ROOT 6.14/05 Reference Guide |
Does a frequentist hypothesis test.
Hypothesis Test Calculator using a full frequentist procedure for sampling the test statistic distribution. The nuisance parameters are fixed to their MLEs. The use of ToyMCSampler as the TestStatSampler is assumed.
Definition at line 25 of file FrequentistCalculator.h.
Public Member Functions | |
FrequentistCalculator (const RooAbsData &data, const ModelConfig &altModel, const ModelConfig &nullModel, TestStatSampler *sampler=0) | |
~FrequentistCalculator () | |
const RooArgSet * | GetFitInfo () const |
void | SetConditionalMLEsAlt (const RooArgSet *c) |
set given nuisance parameters to a specific value that will be used instead of their profiled value for Alternate toys More... | |
void | SetConditionalMLEsNull (const RooArgSet *c) |
set given nuisance parameters to a specific value that will be used instead of their profiled value for Null toys More... | |
void | SetNToysInTails (int toysNull, int toysAlt) |
set least number of toys in tails More... | |
void | SetToys (int toysNull, int toysAlt) |
set number of toys More... | |
void | StoreFitInfo (bool val=true) |
Public Member Functions inherited from RooStats::HypoTestCalculatorGeneric | |
HypoTestCalculatorGeneric (const RooAbsData &data, const ModelConfig &altModel, const ModelConfig &nullModel, TestStatSampler *sampler=0) | |
Constructor. More... | |
~HypoTestCalculatorGeneric () | |
const ModelConfig * | GetAlternateModel (void) const |
const RooAbsData * | GetData (void) const |
virtual HypoTestResult * | GetHypoTest () const |
inherited methods from HypoTestCalculator interface More... | |
const ModelConfig * | GetNullModel (void) const |
TestStatSampler * | GetTestStatSampler (void) const |
virtual void | SetAlternateModel (const ModelConfig &altModel) |
virtual void | SetData (RooAbsData &data) |
virtual void | SetNullModel (const ModelConfig &nullModel) |
void | UseSameAltToys () |
to re-use same toys for alternate hypothesis More... | |
Public Member Functions inherited from RooStats::HypoTestCalculator | |
virtual | ~HypoTestCalculator () |
virtual void | SetCommonModel (const ModelConfig &model) |
Protected Member Functions | |
void | PostHook () const |
int | PreAltHook (RooArgSet *parameterPoint, double obsTestStat) const |
configure TestStatSampler for the Alt run More... | |
void | PreHook () const |
int | PreNullHook (RooArgSet *parameterPoint, double obsTestStat) const |
configure TestStatSampler for the Null run More... | |
Protected Member Functions inherited from RooStats::HypoTestCalculatorGeneric | |
virtual int | CheckHook (void) const |
Protected Attributes | |
const RooArgSet * | fConditionalMLEsAlt |
const RooArgSet * | fConditionalMLEsNull |
int | fNToysAlt |
int | fNToysAltTail |
int | fNToysNull |
int | fNToysNullTail |
Protected Attributes inherited from RooStats::HypoTestCalculatorGeneric | |
const ModelConfig * | fAltModel |
unsigned int | fAltToysSeed |
const RooAbsData * | fData |
TestStatSampler * | fDefaultSampler |
TestStatistic * | fDefaultTestStat |
const ModelConfig * | fNullModel |
TestStatSampler * | fTestStatSampler |
Private Attributes | |
RooArgSet * | fFitInfo |
bool | fStoreFitInfo |
#include <RooStats/FrequentistCalculator.h>
|
inline |
Definition at line 28 of file FrequentistCalculator.h.
|
inline |
Definition at line 46 of file FrequentistCalculator.h.
|
inlinevirtual |
Reimplemented from RooStats::HypoTestCalculatorGeneric.
Definition at line 81 of file FrequentistCalculator.h.
|
protectedvirtual |
Reimplemented from RooStats::HypoTestCalculatorGeneric.
Definition at line 50 of file FrequentistCalculator.cxx.
|
protectedvirtual |
configure TestStatSampler for the Alt run
Reimplemented from RooStats::HypoTestCalculatorGeneric.
Definition at line 168 of file FrequentistCalculator.cxx.
|
protectedvirtual |
Reimplemented from RooStats::HypoTestCalculatorGeneric.
Definition at line 38 of file FrequentistCalculator.cxx.
|
protectedvirtual |
configure TestStatSampler for the Null run
Reimplemented from RooStats::HypoTestCalculatorGeneric.
Definition at line 55 of file FrequentistCalculator.cxx.
set given nuisance parameters to a specific value that will be used instead of their profiled value for Alternate toys
Definition at line 70 of file FrequentistCalculator.h.
set given nuisance parameters to a specific value that will be used instead of their profiled value for Null toys
Definition at line 61 of file FrequentistCalculator.h.
|
inline |
set least number of toys in tails
Definition at line 57 of file FrequentistCalculator.h.
|
inline |
set number of toys
Definition at line 54 of file FrequentistCalculator.h.
|
inline |
Definition at line 77 of file FrequentistCalculator.h.
|
protected |
Definition at line 98 of file FrequentistCalculator.h.
|
protected |
Definition at line 97 of file FrequentistCalculator.h.
|
mutableprivate |
Definition at line 109 of file FrequentistCalculator.h.
|
protected |
Definition at line 102 of file FrequentistCalculator.h.
|
protected |
Definition at line 106 of file FrequentistCalculator.h.
|
protected |
Definition at line 101 of file FrequentistCalculator.h.
|
protected |
Definition at line 105 of file FrequentistCalculator.h.
|
private |
Definition at line 110 of file FrequentistCalculator.h.