Calculate some basic statistics on the active samples of variables stored in a Db.
- Parameters
-
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 |
◆ 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