|
gstlearn
0.2.1
Geostatistics & Machine Learning toolbox
|
Functions | |
| VectorDouble | Db::statistics (const VectorString &names, const std::vector< EStatOption > &opers=EStatOption::fromKeys({"MEAN"}), bool flagIso=true, bool flagStoreInDb=false, bool verbose=true, double vmin=TEST, double vmax=TEST, double proba=TEST, const String &title="", const NamingConvention &namconv=NamingConvention("Stats")) |
| VectorDouble | Db::statisticsByLocator (const ELoc &locatorType, const std::vector< EStatOption > &opers=EStatOption::fromKeys({"MEAN"}), bool flagIso=true, bool flagStoreInDb=false, bool verbose=true, double vmin=TEST, double vmax=TEST, double proba=TEST, const String &title="", const NamingConvention &namconv=NamingConvention("Stats")) |
| VectorDouble | Db::statisticsByUID (const VectorInt &iuids, const std::vector< EStatOption > &opers=EStatOption::fromKeys({"MEAN"}), bool flagIso=true, bool flagStoreInDb=false, bool verbose=true, double proba=TEST, double vmin=TEST, double vmax=TEST, const String &title="", const NamingConvention &namconv=NamingConvention("Stats")) |
These functions are meant to calculate several statistics on a set of target variables per sample. The resulting values are stored in variables newly created in the same Db.
| names | Vector of target variable names |
| iuids | Vector of user-designation ranks |
| locatorType | Target Locator |
| opers | Vector of operations to be performed |
| flagIso | The statistics are calculated only for samples where all target variables have defined values |
| flagStoreInDb | When TRUE, the results are stored in the Db; otherwise the statistics are returned |
| verbose | Verbose flag |
| proba | For 'quant': the quantile for this probability is calculated |
| vmin | For 'prop', 'T', 'Q', 'M', 'B': defines the lower bound of the interval to work in |
| vmax | For 'prop', 'T', 'Q', 'M', 'B': defines the upper bound of the interval to work in |
| title | If verbose, the title of the printed statistics. |
| namconv | Naming Convention used as a radix for the variables newly created in the Db (only used when 'flagStoreInDb' is TRUE) |
| VectorDouble Db::statistics | ( | const VectorString & | names, |
| const std::vector< EStatOption > & | opers = EStatOption::fromKeys({"MEAN"}), |
||
| bool | flagIso = true, |
||
| bool | flagStoreInDb = false, |
||
| bool | verbose = true, |
||
| double | proba = TEST, |
||
| double | vmin = TEST, |
||
| double | vmax = TEST, |
||
| const String & | title = "", |
||
| const NamingConvention & | namconv = NamingConvention("Stats") |
||
| ) |
The target variables are referred to by their names
| VectorDouble Db::statisticsByLocator | ( | const ELoc & | locatorType, |
| const std::vector< EStatOption > & | opers = EStatOption::fromKeys({"MEAN"}), |
||
| bool | flagIso = true, |
||
| bool | flagStoreInDb = false, |
||
| bool | verbose = true, |
||
| double | proba = TEST, |
||
| double | vmin = TEST, |
||
| double | vmax = TEST, |
||
| const String & | title = "", |
||
| const NamingConvention & | namconv = NamingConvention("Stats") |
||
| ) |
The target variables are referred to by their locator
| VectorDouble Db::statisticsByUID | ( | const VectorInt & | iuids, |
| const std::vector< EStatOption > & | opers = EStatOption::fromKeys({"MEAN"}), |
||
| bool | flagIso = true, |
||
| bool | flagStoreInDb = false, |
||
| bool | verbose = true, |
||
| double | proba = TEST, |
||
| double | vmin = TEST, |
||
| double | vmax = TEST, |
||
| const String & | title = "", |
||
| const NamingConvention & | namconv = NamingConvention("Stats") |
||
| ) |
The target variables are referred to by their user-designation ranks