gstlearn  0.3.3
CCC
Monovariate Statistics on variables

Compute several monovariate statistics (opers) on variables contained in a Db and produce the results in a convenient output format (Vector of values or Table). More...

Functions

GSTLEARN_EXPORT VectorDouble dbStatisticsMonoByUID (Db *db, const VectorInt &iuids, const std::vector< EStatOption > &opers=EStatOption::fromKeys({ "MEAN" }), bool flagIso=true, double proba=TEST, double vmin=TEST, double vmax=TEST)
 Compute several monovariate statistics (opers) on variables contained in a Db and produce the results in a convenient output format (Vector of values or Table). More...
 
GSTLEARN_EXPORT VectorDouble 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)
 Compute several monovariate statistics (opers) on variables contained in a Db and produce the results in a convenient output format (Vector of values or Table). More...
 
GSTLEARN_EXPORT Table dbStatisticsMonoT (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)
 Compute several monovariate statistics (opers) on variables contained in a Db and produce the results in a convenient output format (Vector of values or Table). More...
 

Detailed Description

Compute several monovariate statistics (opers) on variables contained in a Db and produce the results in a convenient output format (Vector of values or Table).

Parameters
dbDb structure
opersList of the operator ranks
flagIsoRestrain statistics to isotopic samples
probaProbability value (between 0 and 1)
vminMinimum threshold
vmaxMaximum threshold

Function Documentation

◆ dbStatisticsMono()

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

Compute several monovariate statistics (opers) on variables contained in a Db and produce the results in a convenient output format (Vector of values or Table).

Parameters
dbDb structure
opersList of the operator ranks
flagIsoRestrain statistics to isotopic samples
probaProbability value (between 0 and 1)
vminMinimum threshold
vmaxMaximum threshold
namesVector of n describing the target variables
Returns
A Vector of values containing the statistics

◆ dbStatisticsMonoByUID()

GSTLEARN_EXPORT VectorDouble dbStatisticsMonoByUID ( Db db,
const VectorInt iuids,
const std::vector< EStatOption > &  opers,
bool  flagIso,
double  proba,
double  vmin,
double  vmax 
)

Compute several monovariate statistics (opers) on variables contained in a Db and produce the results in a convenient output format (Vector of values or Table).

Parameters
dbDb structure
opersList of the operator ranks
flagIsoRestrain statistics to isotopic samples
probaProbability value (between 0 and 1)
vminMinimum threshold
vmaxMaximum threshold
iuidsVector of UIDs describing the target variables
Returns
A Vector of values containing the statistics

◆ dbStatisticsMonoT()

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

Compute several monovariate statistics (opers) on variables contained in a Db and produce the results in a convenient output format (Vector of values or Table).

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