1.9.0
CCC
 
Loading...
Searching...
No Matches
Statistics on variables of a Db

Functions

Table gstlrn::dbStatisticsMono (Db *db, const VectorString &names, const std::vector< EStatOption > &opers, bool flagIso, double proba, double vmin, double vmax, const String &title)
 
Table gstlrn::dbStatisticsCorrel (Db *db, const VectorString &names, bool flagIso, const String &title)
 
void gstlrn::dbStatisticsPrint (const Db *db, const VectorString &names, const std::vector< EStatOption > &opers, bool flagIso, bool flagCorrel, const String &title, const String &radix)
 
Table gstlrn::dbStatisticsMulti (Db *db, const VectorString &names, const EStatOption &oper, bool flagMono, 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()

Table gstlrn::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()

Table gstlrn::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()

Table gstlrn::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()

void gstlrn::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