1.3.2
CCC
 
Statistics on variables of a Db

Functions

GSTLEARN_EXPORT Table dbStatisticsMono (Db *db, const VectorString &names, const std::vector< EStatOption > &opers=EStatOption::fromKeys({ "MEAN" }), bool flagIso=true, double proba=TEST, double vmin=TEST, double vmax=TEST, const String &title="")
 
GSTLEARN_EXPORT Table dbStatisticsCorrel (Db *db, const VectorString &names, bool flagIso=true, const String &title="")
 
GSTLEARN_EXPORT void dbStatisticsPrint (const Db *db, const VectorString &names, const std::vector< EStatOption > &opers=EStatOption::fromKeys({ "MEAN" }), bool flagIso=false, bool flagCorrel=false, const String &title="", const String &radix="")
 
GSTLEARN_EXPORT Table dbStatisticsMulti (Db *db, const VectorString &names, const EStatOption &oper=EStatOption::fromKey("MEAN"), bool flagMono=true, const String &title="")
 

Detailed Description

Parameters
dbDb structure
namesVector of n describing the target variables
titleTitle given to the output (if defined)

Function Documentation

◆ dbStatisticsCorrel()

GSTLEARN_EXPORT Table dbStatisticsCorrel ( Db db,
const VectorString names,
bool  flagIso,
const String title 
)

Parameters
dbDb structure
namesVector of n describing the target variables
titleTitle given to the output (if defined)
flagIsoRestrain statistics to isotopic samples
Returns
A Table containing the correlation matrix

◆ dbStatisticsMono()

GSTLEARN_EXPORT Table dbStatisticsMono ( Db db,
const VectorString names,
const std::vector< EStatOption > &  opers,
bool  flagIso,
double  proba,
double  vmin,
double  vmax,
const String title 
)

Parameters
dbDb structure
namesVector of n describing the target variables
titleTitle given to the output (if defined)
opersList of the operator ranks
flagIsoRestrain statistics to isotopic samples
probaProbability value (between 0 and 1)
vminMinimum threshold
vmaxMaximum threshold
Returns
A Table containing the results

◆ dbStatisticsMulti()

GSTLEARN_EXPORT Table dbStatisticsMulti ( Db db,
const VectorString names,
const EStatOption &  oper,
bool  flagMono,
const String title 
)

Parameters
dbDb structure
namesVector of n describing the target variables
titleTitle given to the output (if defined)
operOperator
flagMonoWhen True, statistics by variable; otherwise, statistics by pair of variables
Returns
A Table containing the results

◆ dbStatisticsPrint()

GSTLEARN_EXPORT void dbStatisticsPrint ( const Db db,
const VectorString names,
const std::vector< EStatOption > &  opers,
bool  flagIso,
bool  flagCorrel,
const String title,
const String radix 
)

Parameters
dbDb structure
namesVector of n describing the target variables
titleTitle given to the output (if defined)
opersList of the operator ranks
flagIsoRestrain statistics to isotopic samples
flagCorrelPrint the correlation matrix
radixRadix given to the printout