gstlearn  0.3.3
CCC
Correlation Matrix on variables

Compute correlation matrix on variables contained in a Db and produce the results in a convenient output format (Vector or a Matrix). More...

Functions

GSTLEARN_EXPORT VectorDouble dbStatisticsCorrelByUID (Db *db, const VectorInt &iuids, bool flagIso=true)
 Compute correlation matrix on variables contained in a Db and produce the results in a convenient output format (Vector or a Matrix). More...
 
GSTLEARN_EXPORT VectorDouble dbStatisticsCorrel (Db *db, const VectorString &names, bool flagIso=true)
 Compute correlation matrix on variables contained in a Db and produce the results in a convenient output format (Vector or a Matrix). More...
 
GSTLEARN_EXPORT MatrixSquareSymmetric dbStatisticsCorrelT (Db *db, const VectorString &names, bool flagIso=true)
 Compute correlation matrix on variables contained in a Db and produce the results in a convenient output format (Vector or a Matrix). More...
 

Detailed Description

Compute correlation matrix on variables contained in a Db and produce the results in a convenient output format (Vector or a Matrix).

Parameters
dbDb structure
flagIsoRestrain statistics to isotopic samples

Function Documentation

◆ dbStatisticsCorrel()

GSTLEARN_EXPORT VectorDouble dbStatisticsCorrel ( Db db,
const VectorString names,
bool  flagIso 
)

Compute correlation matrix on variables contained in a Db and produce the results in a convenient output format (Vector or a Matrix).

Parameters
dbDb structure
flagIsoRestrain statistics to isotopic samples
namesVector of names for the target variables
Returns
A vector of values containing the correlation matrix

◆ dbStatisticsCorrelByUID()

GSTLEARN_EXPORT VectorDouble dbStatisticsCorrelByUID ( Db db,
const VectorInt iuids,
bool  flagIso 
)

Compute correlation matrix on variables contained in a Db and produce the results in a convenient output format (Vector or a Matrix).

Parameters
dbDb structure
flagIsoRestrain statistics to isotopic samples
iuidsVector of UIDs for the target variables
Returns
A vector of values containing the correlation matrix

◆ dbStatisticsCorrelT()

GSTLEARN_EXPORT MatrixSquareSymmetric dbStatisticsCorrelT ( Db db,
const VectorString names,
bool  flagIso 
)

Compute correlation matrix on variables contained in a Db and produce the results in a convenient output format (Vector or a Matrix).

Parameters
dbDb structure
flagIsoRestrain statistics to isotopic samples
namesVector of names for the target variables
Returns
A square symmetric matrix