1.8.0
CCC
 
Loading...
Searching...
No Matches
Calculating basic Statistics

Functions

double gstlrn::Db::getMinimum (const String &name, bool useSel=false) const
 
double gstlrn::Db::getMaximum (const String &name, bool useSel=false) const
 
 gstlrn::Db::getRange (const String &name, bool useSel=false) const
 
double gstlrn::Db::getMean (const String &name, bool useSel=false) const
 
double gstlrn::Db::getVariance (const String &name, bool useSel=false) const
 
double gstlrn::Db::getStdv (const String &name, bool useSel=false) const
 
double gstlrn::Db::getCorrelation (const String &name1, const String &name2, bool useSel=false) const
 

Detailed Description

Calculate some basic statistics on the active samples of variables stored in a Db.

Parameters
nameTarget variable name
name1First target variable name
name2Second target variable name
useSelWhen TRUE, the statistics are derived from the only active samples

Function Documentation

◆ getCorrelation()

double gstlrn::Db::getCorrelation ( const String name1,
const String name2,
bool  useSel = false 
) const

Returns the correlation coefficient between two target variables

◆ getMaximum()

double gstlrn::Db::getMaximum ( const String name,
bool  useSel = false 
) const

Returns the maximum of the target variable

◆ getMean()

double gstlrn::Db::getMean ( const String name,
bool  useSel = false 
) const

Returns the mean of the target variable

◆ getMinimum()

double gstlrn::Db::getMinimum ( const String name,
bool  useSel = false 
) const

Returns the minimum of the target variable

◆ getRange()

gstlrn::Db::getRange ( const String name,
bool  useSel = false 
) const

Returns a vector containing the minimum and maximum of the target variable

◆ getStdv()

double gstlrn::Db::getStdv ( const String name,
bool  useSel = false 
) const

Returns the standard deviation (square root of the variance) of the target variable

◆ getVariance()

double gstlrn::Db::getVariance ( const String name,
bool  useSel = false 
) const

Returns the variance of the target variable