#include <HypoTestResult.h>
Inheritance diagram for RooStats::HypoTestResult:
Definition at line 28 of file HypoTestResult.h.
HypoTestResult::HypoTestResult | ( | const char * | name = 0 |
) | [explicit] |
Definition at line 56 of file HypoTestResult.cxx.
Definition at line 68 of file HypoTestResult.cxx.
HypoTestResult::~HypoTestResult | ( | ) | [virtual] |
Definition at line 80 of file HypoTestResult.cxx.
RooStats::HypoTestResult::HypoTestResult | ( | const char * | name = 0 |
) | [explicit] |
virtual RooStats::HypoTestResult::~HypoTestResult | ( | ) | [virtual] |
void HypoTestResult::Append | ( | const HypoTestResult * | other | ) | [virtual] |
Definition at line 87 of file HypoTestResult.cxx.
References RooStats::SamplingDistribution::Add(), fAltDistr, fAlternatePValue, fNullDistr, fNullPValue, fPValueIsRightTail, fTestStatisticData, GetAltDistribution(), GetNullDistribution(), GetTestStatisticData(), IsNaN, and UpdatePValue().
virtual Double_t RooStats::HypoTestResult::NullPValue | ( | ) | const [inline, virtual] |
Definition at line 45 of file HypoTestResult.h.
References fNullPValue.
Referenced by CLb(), DoHypothesisTest(), NullPValueError(), Print(), rs_numberCountingCombination_observed(), and Significance().
virtual Double_t RooStats::HypoTestResult::AlternatePValue | ( | ) | const [inline, virtual] |
Definition at line 48 of file HypoTestResult.h.
References fAlternatePValue.
Referenced by CLsplusb().
virtual Double_t RooStats::HypoTestResult::CLb | ( | ) | const [inline, virtual] |
Definition at line 51 of file HypoTestResult.h.
References NullPValue().
Referenced by CLbError(), CLs(), CLsError(), and Print().
virtual Double_t RooStats::HypoTestResult::CLsplusb | ( | ) | const [inline, virtual] |
Definition at line 54 of file HypoTestResult.h.
References AlternatePValue().
Referenced by CLs(), CLsplusbError(), and Print().
virtual Double_t RooStats::HypoTestResult::CLs | ( | ) | const [inline, virtual] |
Definition at line 57 of file HypoTestResult.h.
References CLb(), and CLsplusb().
Referenced by CLsError(), and Print().
virtual Double_t RooStats::HypoTestResult::Significance | ( | ) | const [inline, virtual] |
Definition at line 68 of file HypoTestResult.h.
References NullPValue(), and RooStats::PValueToSignificance().
Referenced by DoHypothesisTest(), Print(), and rs_numberCountingCombination_observed().
SamplingDistribution* RooStats::HypoTestResult::GetNullDistribution | ( | void | ) | const [inline] |
SamplingDistribution* RooStats::HypoTestResult::GetAltDistribution | ( | void | ) | const [inline] |
Double_t RooStats::HypoTestResult::GetTestStatisticData | ( | void | ) | const [inline] |
Definition at line 72 of file HypoTestResult.h.
References fTestStatisticData.
Referenced by Append().
Bool_t HypoTestResult::HasTestStatisticData | ( | void | ) | const |
Definition at line 136 of file HypoTestResult.cxx.
References fTestStatisticData, and IsNaN.
Referenced by CLbError(), CLsplusbError(), NullPValueError(), and Print().
void HypoTestResult::SetAltDistribution | ( | SamplingDistribution * | alt | ) |
Definition at line 111 of file HypoTestResult.cxx.
References fAltDistr, fAlternatePValue, fPValueIsRightTail, and UpdatePValue().
void HypoTestResult::SetNullDistribution | ( | SamplingDistribution * | null | ) |
Definition at line 116 of file HypoTestResult.cxx.
References fNullDistr, fNullPValue, fPValueIsRightTail, TMVA::null(), and UpdatePValue().
void HypoTestResult::SetTestStatisticData | ( | const Double_t | tsd | ) |
Definition at line 121 of file HypoTestResult.cxx.
References fAltDistr, fAlternatePValue, fNullDistr, fNullPValue, fPValueIsRightTail, fTestStatisticData, and UpdatePValue().
void HypoTestResult::SetPValueIsRightTail | ( | Bool_t | pr | ) |
Definition at line 128 of file HypoTestResult.cxx.
References fAltDistr, fAlternatePValue, fNullDistr, fNullPValue, fPValueIsRightTail, and UpdatePValue().
Bool_t RooStats::HypoTestResult::GetPValueIsRightTail | ( | void | ) | const [inline] |
Double_t HypoTestResult::CLbError | ( | ) | const |
The error on the "confidence level" of the null hypothesis.
Definition at line 177 of file HypoTestResult.cxx.
References CLb(), entries, fNullDistr, RooStats::SamplingDistribution::GetSampleWeights(), HasTestStatisticData(), i, size_t, and sqrt().
Referenced by CLsError(), and Print().
Double_t HypoTestResult::CLsplusbError | ( | ) | const |
The error on the "confidence level" of the alternative hypothesis.
Definition at line 212 of file HypoTestResult.cxx.
References CLsplusb(), entries, fAltDistr, RooStats::SamplingDistribution::GetSampleWeights(), HasTestStatisticData(), i, size_t, and sqrt().
Referenced by CLsError(), and Print().
Double_t HypoTestResult::CLsError | ( | ) | const |
The error on the ratio CLs+b/CLb.
Definition at line 248 of file HypoTestResult.cxx.
References CLb(), CLbError(), CLs(), CLsplusbError(), fAltDistr, fNullDistr, RootCsg::infinity, pow(), and TMath::Sqrt().
Referenced by Print().
Double_t HypoTestResult::NullPValueError | ( | ) | const |
Definition at line 140 of file HypoTestResult.cxx.
References entries, fNullDistr, RooStats::SamplingDistribution::GetSampleWeights(), HasTestStatisticData(), i, NullPValue(), size_t, and sqrt().
Referenced by Print().
void RooStats::HypoTestResult::Print | ( | const Option_t * | = "" |
) | const [inline] |
Definition at line 94 of file HypoTestResult.h.
References CLb(), CLbError(), CLs(), CLsError(), CLsplusb(), CLsplusbError(), fAltDistr, fNullDistr, fTestStatisticData, TNamed::GetName(), RooStats::SamplingDistribution::GetSize(), HasTestStatisticData(), NullPValue(), NullPValueError(), and Significance().
void HypoTestResult::UpdatePValue | ( | const SamplingDistribution * | distr, | |
Double_t * | pvalue, | |||
Bool_t | pIsRightTail | |||
) | [private] |
Definition at line 273 of file HypoTestResult.cxx.
References distr(), fPValueIsRightTail, fTestStatisticData, RooNumber::infinity(), IsNaN, kFALSE, and kTRUE.
Referenced by Append(), SetAltDistribution(), SetNullDistribution(), SetPValueIsRightTail(), and SetTestStatisticData().
virtual void RooStats::HypoTestResult::Append | ( | const HypoTestResult * | other | ) | [virtual] |
virtual Double_t RooStats::HypoTestResult::NullPValue | ( | ) | const [inline, virtual] |
virtual Double_t RooStats::HypoTestResult::AlternatePValue | ( | ) | const [inline, virtual] |
virtual Double_t RooStats::HypoTestResult::CLb | ( | ) | const [inline, virtual] |
virtual Double_t RooStats::HypoTestResult::CLsplusb | ( | ) | const [inline, virtual] |
virtual Double_t RooStats::HypoTestResult::CLs | ( | ) | const [inline, virtual] |
virtual Double_t RooStats::HypoTestResult::Significance | ( | ) | const [inline, virtual] |
Definition at line 68 of file HypoTestResult.h.
References NullPValue(), and RooStats::PValueToSignificance().
SamplingDistribution* RooStats::HypoTestResult::GetNullDistribution | ( | void | ) | const [inline] |
SamplingDistribution* RooStats::HypoTestResult::GetAltDistribution | ( | void | ) | const [inline] |
Double_t RooStats::HypoTestResult::GetTestStatisticData | ( | void | ) | const [inline] |
Bool_t RooStats::HypoTestResult::HasTestStatisticData | ( | void | ) | const |
void RooStats::HypoTestResult::SetAltDistribution | ( | SamplingDistribution * | alt | ) |
void RooStats::HypoTestResult::SetNullDistribution | ( | SamplingDistribution * | null | ) |
void RooStats::HypoTestResult::SetTestStatisticData | ( | const Double_t | tsd | ) |
void RooStats::HypoTestResult::SetPValueIsRightTail | ( | Bool_t | pr | ) |
Bool_t RooStats::HypoTestResult::GetPValueIsRightTail | ( | void | ) | const [inline] |
Double_t RooStats::HypoTestResult::CLbError | ( | ) | const |
The error on the "confidence level" of the null hypothesis.
Double_t RooStats::HypoTestResult::CLsplusbError | ( | ) | const |
The error on the "confidence level" of the alternative hypothesis.
Double_t RooStats::HypoTestResult::CLsError | ( | ) | const |
The error on the ratio CLs+b/CLb.
Double_t RooStats::HypoTestResult::NullPValueError | ( | ) | const |
void RooStats::HypoTestResult::Print | ( | const Option_t * | = "" |
) | const [inline] |
Definition at line 94 of file HypoTestResult.h.
References CLb(), CLbError(), CLs(), CLsError(), CLsplusb(), CLsplusbError(), fAltDistr, fNullDistr, fTestStatisticData, TNamed::GetName(), RooStats::SamplingDistribution::GetSize(), HasTestStatisticData(), NullPValue(), NullPValueError(), and Significance().
void RooStats::HypoTestResult::UpdatePValue | ( | const SamplingDistribution * | distr, | |
Double_t * | pvalue, | |||
Bool_t | pIsRightTail | |||
) | [private] |
Double_t RooStats::HypoTestResult::fNullPValue [mutable, protected] |
Definition at line 124 of file HypoTestResult.h.
Referenced by Append(), NullPValue(), SetNullDistribution(), SetPValueIsRightTail(), and SetTestStatisticData().
Double_t RooStats::HypoTestResult::fAlternatePValue [mutable, protected] |
Definition at line 125 of file HypoTestResult.h.
Referenced by AlternatePValue(), Append(), SetAltDistribution(), SetPValueIsRightTail(), and SetTestStatisticData().
Double_t RooStats::HypoTestResult::fTestStatisticData [protected] |
Definition at line 126 of file HypoTestResult.h.
Referenced by Append(), GetTestStatisticData(), HasTestStatisticData(), Print(), SetTestStatisticData(), and UpdatePValue().
SamplingDistribution* RooStats::HypoTestResult::fNullDistr [protected] |
Definition at line 127 of file HypoTestResult.h.
Referenced by Append(), CLbError(), CLsError(), GetNullDistribution(), NullPValueError(), Print(), SetNullDistribution(), SetPValueIsRightTail(), and SetTestStatisticData().
SamplingDistribution* RooStats::HypoTestResult::fAltDistr [protected] |
Definition at line 128 of file HypoTestResult.h.
Referenced by Append(), CLsError(), CLsplusbError(), GetAltDistribution(), Print(), SetAltDistribution(), SetPValueIsRightTail(), and SetTestStatisticData().
Bool_t RooStats::HypoTestResult::fPValueIsRightTail [protected] |
Definition at line 129 of file HypoTestResult.h.
Referenced by Append(), GetPValueIsRightTail(), SetAltDistribution(), SetNullDistribution(), SetPValueIsRightTail(), SetTestStatisticData(), and UpdatePValue().
SamplingDistribution* RooStats::HypoTestResult::fNullDistr [protected] |
Definition at line 127 of file HypoTestResult.h.
SamplingDistribution* RooStats::HypoTestResult::fAltDistr [protected] |
Definition at line 128 of file HypoTestResult.h.