English Français

Documentation / Developer's manual

Available modules

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

#include <TTestCramerVonMises.h>

Inheritance diagram for URANIE::UncertModeler::TTestCramerVonMises:
Collaboration diagram for URANIE::UncertModeler::TTestCramerVonMises:

Public Member Functions

Constructor and Destructor
 TTestCramerVonMises (URANIE::DataServer::TDataServer *tds, const char *varexpinput, Option_t *option="")
 Default constructor.
 
virtual ~TTestCramerVonMises ()
 Default constructor.
 
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="")
 

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

◆ TTestCramerVonMises()

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

Default constructor.

Referenced by ClassImp().

◆ ~TTestCramerVonMises()

virtual URANIE::UncertModeler::TTestCramerVonMises::~TTestCramerVonMises ( )
virtual

Default constructor.

Referenced by ClassImp().

Member Function Documentation

◆ computeModifiedScore()

void URANIE::UncertModeler::TTestCramerVonMises::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::TTestCramerVonMises::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().

◆ getTitleStatistic()

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

Return the name of the statistic.

Implements URANIE::UncertModeler::TTester.