Functions | |
| double | Db::getMinimum (const String &name, bool useSel=false) const |
| double | Db::getMaximum (const String &name, bool useSel=false) const |
| VectorDouble | Db::getRange (const String &name, bool useSel=false) const |
| double | Db::getMean (const String &name, bool useSel=false) const |
| double | Db::getVariance (const String &name, bool useSel=false) const |
| double | Db::getStdv (const String &name, bool useSel=false) const |
| double | Db::getCorrelation (const String &name1, const String &name2, bool useSel=false) const |
Calculate some basic statistics on the active samples of variables stored in a Db.
| name | Target variable name |
| name1 | First target variable name |
| name2 | Second target variable name |
| useSel | When TRUE, the statistics are derived from the only active samples |
Returns the correlation coefficient between two target variables
| double Db::getMaximum | ( | const String & | name, |
| bool | useSel = false |
||
| ) | const |
Returns the maximum of the target variable
| double Db::getMean | ( | const String & | name, |
| bool | useSel = false |
||
| ) | const |
Returns the mean of the target variable
| double Db::getMinimum | ( | const String & | name, |
| bool | useSel = false |
||
| ) | const |
Returns the minimum of the target variable
| VectorDouble Db::getRange | ( | const String & | name, |
| bool | useSel = false |
||
| ) | const |
Returns a vector containing the minimum and maximum of the target variable
| double Db::getStdv | ( | const String & | name, |
| bool | useSel = false |
||
| ) | const |
Returns the standard deviation (square root of the variance) of the target variable
| double Db::getVariance | ( | const String & | name, |
| bool | useSel = false |
||
| ) | const |
Returns the variance of the target variable