#include <Regression.hpp>
◆ Regression() [1/2]
Regression::Regression |
( |
| ) |
|
◆ Regression() [2/2]
◆ ~Regression()
Regression::~Regression |
( |
| ) |
|
|
virtual |
◆ apply()
int Regression::apply |
( |
Db * |
db1, |
|
|
int |
iptr0, |
|
|
const String & |
nameResp, |
|
|
const VectorString & |
nameAux, |
|
|
int |
mode = 0 , |
|
|
bool |
flagCst = false , |
|
|
Db * |
db2 = nullptr , |
|
|
const Model * |
model = nullptr |
|
) |
| const |
Evaluate the regression
- Returns
- Error return code
- Parameters
-
[in,out] | db1 | Db descriptor (for target variable) |
[in] | iptr0 | Storing address (already allocated) |
[in] | nameResp | Name of the target variable |
[in] | nameAux | Vector of names of the explanatory variables |
[in] | mode | Type of calculation
- 0 : standard multivariate case
- 1 : using external drifts
- 2 : using standard drift functions (mode==2)
|
[in] | flagCst | The constant is added as explanatory variable] |
[in] | db2 | Db descriptor (for auxiliary variables) |
[in] | model | Model descriptor |
◆ getCoeff()
double Regression::getCoeff |
( |
int |
i | ) |
const |
|
inline |
◆ getCoeffs()
◆ getCount()
int Regression::getCount |
( |
| ) |
const |
|
inline |
◆ getNvar()
int Regression::getNvar |
( |
| ) |
const |
|
inline |
◆ getVariance()
double Regression::getVariance |
( |
| ) |
const |
|
inline |
◆ getVarres()
double Regression::getVarres |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ setCoeffs()
◆ setCount()
void Regression::setCount |
( |
int |
count | ) |
|
|
inline |
◆ setFlagCst()
void Regression::setFlagCst |
( |
bool |
flagCst | ) |
|
|
inline |
◆ setNvar()
void Regression::setNvar |
( |
int |
nvar | ) |
|
|
inline |
◆ setVariance()
void Regression::setVariance |
( |
double |
variance | ) |
|
|
inline |
◆ setVarres()
void Regression::setVarres |
( |
double |
varres | ) |
|
|
inline |
◆ toString()
The documentation for this class was generated from the following files: