#include <Regression.hpp>
Regression::Regression |
( |
| ) |
|
Regression::~Regression |
( |
| ) |
|
|
virtual |
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 |
|
) |
| |
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 |
double Regression::getCoeff |
( |
int |
i | ) |
const |
|
inline |
int Regression::getCount |
( |
| ) |
const |
|
inline |
int Regression::getNvar |
( |
| ) |
const |
|
inline |
double Regression::getVariance |
( |
| ) |
const |
|
inline |
double Regression::getVarres |
( |
| ) |
const |
|
inline |
void Regression::setCount |
( |
int |
count | ) |
|
|
inline |
void Regression::setFlagCst |
( |
bool |
flagCst | ) |
|
|
inline |
void Regression::setNvar |
( |
int |
nvar | ) |
|
|
inline |
void Regression::setVariance |
( |
double |
variance | ) |
|
|
inline |
void Regression::setVarres |
( |
double |
varres | ) |
|
|
inline |
The documentation for this class was generated from the following files: