1.5.0
CCC
 
Calculating correlations on variables of a Db

Functions

VectorDouble Db::statisticsMulti (const VectorString &names, bool flagIso=true, bool verbose=false, const String &title="")
 

Detailed Description

These functions calculate the correlation matrix based on a set of variables contained in a Db. Although the result stands as a matrix, they are returned as a Vector.

Parameters
namesVector of target variable names
flagIsoThe statistics are calculated only for samples where all target variables have defined values
verboseVerbose flag
titleIf verbose, the title of the printed statistics.
Returns
These functions return a vector containing the correlation matrix.

Function Documentation

◆ statisticsMulti()

VectorDouble Db::statisticsMulti ( const VectorString names,
bool  flagIso = true,
bool  verbose = false,
const String title = "" 
)

The target variables are referred to by their user-designation ranks