#include <mat_tools.h>
|
| CSG_Regression (void) |
|
virtual | ~CSG_Regression (void) |
|
void | Destroy (void) |
|
bool | Set_Values (int nValues, double *x, double *y) |
|
bool | Add_Values (double x, double y) |
|
int | Get_Count (void) const |
|
double | Get_xValue (int i) const |
|
double | Get_yValue (int i) const |
|
bool | Get_Values (int i, double &x, double &y) const |
|
double | Get_xMin (void) const |
|
double | Get_xMax (void) const |
|
double | Get_xMean (void) const |
|
double | Get_xVariance (void) const |
|
double | Get_x (double y) const |
|
double | Get_yMin (void) const |
|
double | Get_yMax (void) const |
|
double | Get_yMean (void) const |
|
double | Get_yVariance (void) const |
|
double | Get_y (double x) const |
|
double | Get_Constant (void) const |
|
double | Get_Coefficient (void) const |
|
double | Get_R (void) const |
|
double | Get_R2 (void) const |
|
double | Get_R2_Adj (void) const |
|
double | Get_P (void) const |
|
double | Get_StdError (void) const |
|
const SG_Char * | asString (void) |
|
TSG_Regression_Type | Get_Type (void) const |
|
bool | Calculate (TSG_Regression_Type Type=REGRESSION_Linear, bool bStdError=false) |
|
bool | Calculate (int nValues, double *x, double *y, TSG_Regression_Type Type=REGRESSION_Linear, bool bStdError=false) |
|
Definition at line 1599 of file mat_tools.h.
◆ CSG_Regression()
CSG_Regression::CSG_Regression |
( |
void |
| ) |
|
◆ ~CSG_Regression()
CSG_Regression::~CSG_Regression |
( |
void |
| ) |
|
|
virtual |
◆ _X_Transform()
double CSG_Regression::_X_Transform |
( |
double |
y | ) |
|
|
inlineprotected |
◆ _Y_Transform()
double CSG_Regression::_Y_Transform |
( |
double |
x | ) |
|
|
inlineprotected |
◆ Add_Values()
bool CSG_Regression::Add_Values |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
◆ asString()
const SG_Char * CSG_Regression::asString |
( |
void |
| ) |
|
Definition at line 161 of file mat_regression.cpp.
References CSG_String::Clear(), CSG_String::Format(), Get_Count(), m_R, m_R2, m_RCoeff, m_RConst, m_Type, m_xMax, m_xMean, m_xMin, m_xVar, m_yMax, m_yMean, m_yMin, m_yVar, REGRESSION_Exp, REGRESSION_Linear, REGRESSION_Log, REGRESSION_Pow, REGRESSION_Rez_X, REGRESSION_Rez_Y, and SG_T.
◆ Calculate() [1/2]
◆ Calculate() [2/2]
Definition at line 317 of file mat_regression.cpp.
References _X_Transform(), _Y_Transform(), CSG_Simple_Statistics::Create(), Get_Count(), CSG_Test_Distribution::Get_F_Tail_from_R2(), CSG_Simple_Statistics::Get_Maximum(), CSG_Simple_Statistics::Get_Mean(), CSG_Simple_Statistics::Get_Minimum(), CSG_Simple_Statistics::Get_Variance(), Get_y(), m_P, m_R, m_R2, m_R2_Adj, m_RCoeff, m_RConst, m_SE, m_Type, m_x, m_xMax, m_xMean, m_xMin, m_xVar, m_y, m_yMax, m_yMean, m_yMin, m_yVar, REGRESSION_Exp, REGRESSION_Log, REGRESSION_Pow, REGRESSION_Rez_X, REGRESSION_Rez_Y, and SG_Regression_Get_Adjusted_R2().
Referenced by Calculate().
◆ Destroy()
void CSG_Regression::Destroy |
( |
void |
| ) |
|
◆ Get_Coefficient()
double CSG_Regression::Get_Coefficient |
( |
void |
| ) |
const |
|
inline |
◆ Get_Constant()
double CSG_Regression::Get_Constant |
( |
void |
| ) |
const |
|
inline |
◆ Get_Count()
int CSG_Regression::Get_Count |
( |
void |
| ) |
const |
|
inline |
◆ Get_P()
double CSG_Regression::Get_P |
( |
void |
| ) |
const |
|
inline |
◆ Get_R()
double CSG_Regression::Get_R |
( |
void |
| ) |
const |
|
inline |
◆ Get_R2()
double CSG_Regression::Get_R2 |
( |
void |
| ) |
const |
|
inline |
◆ Get_R2_Adj()
double CSG_Regression::Get_R2_Adj |
( |
void |
| ) |
const |
|
inline |
◆ Get_StdError()
double CSG_Regression::Get_StdError |
( |
void |
| ) |
const |
|
inline |
◆ Get_Type()
◆ Get_Values()
bool CSG_Regression::Get_Values |
( |
int |
i, |
|
|
double & |
x, |
|
|
double & |
y |
|
) |
| const |
|
inline |
◆ Get_x()
double CSG_Regression::Get_x |
( |
double |
y | ) |
const |
◆ Get_xMax()
double CSG_Regression::Get_xMax |
( |
void |
| ) |
const |
|
inline |
◆ Get_xMean()
double CSG_Regression::Get_xMean |
( |
void |
| ) |
const |
|
inline |
◆ Get_xMin()
double CSG_Regression::Get_xMin |
( |
void |
| ) |
const |
|
inline |
◆ Get_xValue()
double CSG_Regression::Get_xValue |
( |
int |
i | ) |
const |
|
inline |
◆ Get_xVariance()
double CSG_Regression::Get_xVariance |
( |
void |
| ) |
const |
|
inline |
◆ Get_y()
double CSG_Regression::Get_y |
( |
double |
x | ) |
const |
◆ Get_yMax()
double CSG_Regression::Get_yMax |
( |
void |
| ) |
const |
|
inline |
◆ Get_yMean()
double CSG_Regression::Get_yMean |
( |
void |
| ) |
const |
|
inline |
◆ Get_yMin()
double CSG_Regression::Get_yMin |
( |
void |
| ) |
const |
|
inline |
◆ Get_yValue()
double CSG_Regression::Get_yValue |
( |
int |
i | ) |
const |
|
inline |
◆ Get_yVariance()
double CSG_Regression::Get_yVariance |
( |
void |
| ) |
const |
|
inline |
◆ Set_Values()
bool CSG_Regression::Set_Values |
( |
int |
nValues, |
|
|
double * |
x, |
|
|
double * |
y |
|
) |
| |
◆ m_P
double CSG_Regression::m_P |
|
protected |
◆ m_R
double CSG_Regression::m_R |
|
protected |
◆ m_R2
double CSG_Regression::m_R2 |
|
protected |
◆ m_R2_Adj
double CSG_Regression::m_R2_Adj |
|
protected |
◆ m_RCoeff
double CSG_Regression::m_RCoeff |
|
protected |
◆ m_RConst
double CSG_Regression::m_RConst |
|
protected |
◆ m_SE
double CSG_Regression::m_SE |
|
protected |
◆ m_Type
◆ m_x
◆ m_xMax
double CSG_Regression::m_xMax |
|
protected |
◆ m_xMean
double CSG_Regression::m_xMean |
|
protected |
◆ m_xMin
double CSG_Regression::m_xMin |
|
protected |
◆ m_xVar
double CSG_Regression::m_xVar |
|
protected |
◆ m_y
◆ m_yMax
double CSG_Regression::m_yMax |
|
protected |
◆ m_yMean
double CSG_Regression::m_yMean |
|
protected |
◆ m_yMin
double CSG_Regression::m_yMin |
|
protected |
◆ m_yVar
double CSG_Regression::m_yVar |
|
protected |
The documentation for this class was generated from the following files: