gstlearn  0.3.3
CCC
Multivariate Statistic on variables

Compute a Multivariate statistic on variables contained in a Db and return the results. More...

Functions

GSTLEARN_EXPORT VectorDouble dbStatisticsMultiByColIdx (Db *db, const VectorInt &cols, const EStatOption &oper=EStatOption::MEAN, bool flagMono=true, bool verbose=false)
 Compute a Multivariate statistic on variables contained in a Db and return the results. More...
 
GSTLEARN_EXPORT VectorDouble dbStatisticsMulti (Db *db, const VectorString &names, const EStatOption &oper=EStatOption::MEAN, bool flagMono=true, bool verbose=false)
 Compute a Multivariate statistic on variables contained in a Db and return the results. More...
 
GSTLEARN_EXPORT Table dbStatisticsMultiT (Db *db, const VectorString &names, const EStatOption &oper=EStatOption::MEAN, bool flagMono=true, bool verbose=false)
 Compute a Multivariate statistic on variables contained in a Db and return the results. More...
 

Detailed Description

Compute a Multivariate statistic on variables contained in a Db and return the results.

Parameters
dbDb structure
operStatistical operator
flagMonoWhen True, statistics by variable; otherwise, statistics by pair of variables
verboseVerbosity flag
Returns
the vector of results

Function Documentation

◆ dbStatisticsMulti()

GSTLEARN_EXPORT VectorDouble dbStatisticsMulti ( Db db,
const VectorString names,
const EStatOption &  oper,
bool  flagMono,
bool  verbose 
)

Compute a Multivariate statistic on variables contained in a Db and return the results.

Parameters
dbDb structure
operStatistical operator
flagMonoWhen True, statistics by variable; otherwise, statistics by pair of variables
verboseVerbosity flag
Returns
the vector of results
Parameters
namesVector of target variable names
Returns
the vector of results

◆ dbStatisticsMultiByColIdx()

GSTLEARN_EXPORT VectorDouble dbStatisticsMultiByColIdx ( Db db,
const VectorInt cols,
const EStatOption &  oper,
bool  flagMono,
bool  verbose 
)

Compute a Multivariate statistic on variables contained in a Db and return the results.

Parameters
dbDb structure
operStatistical operator
flagMonoWhen True, statistics by variable; otherwise, statistics by pair of variables
verboseVerbosity flag
Returns
the vector of results
Parameters
colsVector of columns of the Target variables
Returns
the vector of results

◆ dbStatisticsMultiT()

GSTLEARN_EXPORT Table dbStatisticsMultiT ( Db db,
const VectorString names,
const EStatOption &  oper,
bool  flagMono,
bool  verbose 
)

Compute a Multivariate statistic on variables contained in a Db and return the results.

Parameters
dbDb structure
operStatistical operator
flagMonoWhen True, statistics by variable; otherwise, statistics by pair of variables
verboseVerbosity flag
Returns
the vector of results
Parameters
namesVector of target variable names
Returns
the Table containing the results