English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Uncertainty Modeler: URANIE::UncertModeler::TTestAndersonDarling Class Reference
Uranie / Uncertainty Modeler v4.9.0
/* @license-end */
URANIE::UncertModeler::TTestAndersonDarling Class Reference

#include <TTestAndersonDarling.h>

Inheritance diagram for URANIE::UncertModeler::TTestAndersonDarling:
Collaboration diagram for URANIE::UncertModeler::TTestAndersonDarling:

Public Member Functions

Constructor and Destructor
 TTestAndersonDarling (URANIE::DataServer::TDataServer *tds, const char *varexpinput, Option_t *option="")
 Default constructor.
 
virtual ~TTestAndersonDarling ()
 Default constructor.
 
Getter and Setter
void setEpsilon (Double_t depsilon)
 Set the epsilon parameter.
 
Double_t getEpsilon ()
 Get the epsilon parameter.
 
Computes the score
Double_t computeTheCurrentScore (Int_t i, Double_t dzi)
 The true computation with a vector of information and return the current value.
 
void computeModifiedScore (URANIE::DataServer::TStochasticAttribute::ELawType tlaw)
 Compute the modified value of the statistic.
 
const char * getTitleStatistic ()
 Return the name of the statistic.
 
- Public Member Functions inherited from URANIE::UncertModeler::TTester
 TTester (URANIE::DataServer::TDataServer *tds, ETestType nTestType, const char *varexpinput, Option_t *option="")
 Constructor by the type of Test.
 
virtual ~TTester ()
 Default constructor.
 
Int_t getID ()
 
Double_t getScore ()
 Get the score of the last test.
 
Double_t getModifiedScore ()
 Get the modified score of the last test.
 
Double_t getPValue ()
 Get the pValue of the last test.
 
ECase getCase ()
 getCaseOfGoF
 
Double_t computeScore (Option_t *option="")
 Compute the score of the statistic.
 
void addUniformLaw (Double_t min, Double_t max, Color_t color=kBlack, TString stitle="")
 Add in the current graph the CDF of a uniform law defined by theses parameters $ \min, \max $.
 
void addNormalLaw (Double_t mu, Double_t sigma, Color_t color=kBlack, TString stitle="")
 Add in the current graph the CDF of a normal law defined by theses parameters $ {\cal N} ( \mu, \sigma ) $.
 
void addLogNormalLaw (Double_t mu, Double_t sigma, Color_t color=kBlack, TString stitle="")
 Adds in the current graph the CDF of a LogNormal law defined by theses parameters $ \mu, \sigma $ of the $ ln(X) \sim {\cal N} ( \mu, \sigma )$ law.
 
void addWeibullLaw (Double_t beta, Double_t m, Color_t color=kBlack, TString stitle="")
 Add in the current graph the CDF of a Weibull law defined by theses parameters $ {\cal W}( lambda, k) $.
 
void addGammaLaw (Double_t alpha, Double_t beta, Color_t color=kBlack, TString stitle="")
 Adds in the current graph the CDF of a Gamma law defined by theses parameters $ {\cal G}amma ( \alpha, \beta) $.
 
void addBetaLaw (Double_t alpha, Double_t beta, Double_t min, Double_t max, Color_t color=kBlack, TString stitle="")
 Add in the current graph the CDF of a Beta law defined by theses parameters $ \alpha, \beta, \min, \max $.
 
void treatOption (Option_t *option)
 Treats the options of the computeScore method.
 
void computePValue (URANIE::DataServer::TStochasticAttribute::ELawType tlaw)
 Compute the PValue of the test.
 
Double_t computePValue_KS_CaseAll (Double_t dz)
 Compute the PValue of the test KS in all cases (Case0 && Case3)
 
Double_t computePValue_AD_Case0 (Double_t dz)
 Compute the PValue of the test AD in case Case0 (all parameters of the PDF are given)
 
Double_t computePValue_AD_Case3 (Double_t dz, URANIE::DataServer::TStochasticAttribute::ELawType tlaw)
 Compute the PValue of the test AD in case Case3 (all parameters of the PDF are estimated by MLE)
 
Double_t computePValue_CvM_Case3 (Double_t dz, URANIE::DataServer::TStochasticAttribute::ELawType tlaw)
 Compute the PValue of the test CvM in case Case3 (all parameters of the PDF are estimated by MLE)
 
void setLog ()
 
void unsetLog ()
 
void changeLog ()
 
Bool_t getLog ()
 
virtual void printLog (Option_t *option="")
 

Private Attributes

Double_t _dEpsilon
 

Additional Inherited Members

- Public Types inherited from URANIE::UncertModeler::TTester
enum  ETestType { kKolmogorovSmirnov , kAndersonDarling , kCramerVonMises , kUnknown }
 
enum  ECase {
  kCase0 , kCase1 , kCase2 , kCase3 ,
  kCaseUnknown
}
 
- Public Attributes inherited from URANIE::UncertModeler::TTester
ETestType _nTestType
 The type of test.
 
ECase _nCase
 
URANIE::DataServer::TDataServer * _tds
 Pointer to a TDS.
 
Bool_t _blog
 Boolean for edit the log.
 
Bool_t _bquiet
 Boolean for being quiet.
 
- Protected Member Functions inherited from URANIE::UncertModeler::TTester
void findParametersLaw (TString soption, TVectorD &vec)
 Finds the parameters in the option string.
 
Int_t nTimesValueLTvalVector (Double_t dval, TVectorD vecValues)
 
TGraph * createGraph (Color_t color=kBlack)
 
- Protected Attributes inherited from URANIE::UncertModeler::TTester
Long64_t _nS
 the size of selected values
 
Double_t _pValue
 The pValue of the last test.
 
Double_t _dScore
 The score of the last test.
 
Double_t _dModifiedScore
 The Modified value score of the last test.
 
TString _sAttributes
 The string of attributes separated by the colon ":" character.
 
TList * _listOfLaws
 The list of law to test.
 
Bool_t _bDrawSame
 Boolean for drawing in the current pad.
 

Constructor & Destructor Documentation

◆ TTestAndersonDarling()

URANIE::UncertModeler::TTestAndersonDarling::TTestAndersonDarling ( URANIE::DataServer::TDataServer *  tds,
const char *  varexpinput,
Option_t *  option = "" 
)

Default constructor.

Referenced by ClassImp().

◆ ~TTestAndersonDarling()

virtual URANIE::UncertModeler::TTestAndersonDarling::~TTestAndersonDarling ( )
virtual

Default constructor.

Referenced by ClassImp().

Member Function Documentation

◆ computeModifiedScore()

void URANIE::UncertModeler::TTestAndersonDarling::computeModifiedScore ( URANIE::DataServer::TStochasticAttribute::ELawType  tlaw)
virtual

Compute the modified value of the statistic.

Implements URANIE::UncertModeler::TTester.

Referenced by ClassImp().

◆ computeTheCurrentScore()

Double_t URANIE::UncertModeler::TTestAndersonDarling::computeTheCurrentScore ( Int_t  i,
Double_t  dzi 
)
virtual

The true computation with a vector of information and return the current value.

Implements URANIE::UncertModeler::TTester.

Referenced by ClassImp().

◆ getEpsilon()

Double_t URANIE::UncertModeler::TTestAndersonDarling::getEpsilon ( )
inline

Get the epsilon parameter.

References _dEpsilon.

◆ getTitleStatistic()

const char * URANIE::UncertModeler::TTestAndersonDarling::getTitleStatistic ( )
inlinevirtual

Return the name of the statistic.

Implements URANIE::UncertModeler::TTester.

◆ setEpsilon()

void URANIE::UncertModeler::TTestAndersonDarling::setEpsilon ( Double_t  depsilon)
inline

Set the epsilon parameter.

References _dEpsilon.

Member Data Documentation

◆ _dEpsilon

Double_t URANIE::UncertModeler::TTestAndersonDarling::_dEpsilon
private

Referenced by ClassImp(), getEpsilon(), and setEpsilon().