Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void CalculateRegResults(TVec *Y, TMtx *V, bool Constant = true, TVec *Weights = null, double Alpha = 0.05); | Calculates additional parameters from multiple linear regression. |
| 2 | void CalculateRegResults(TVec *Y, TMtx *V, TRegStatsClass *RegStats, bool Constant = true, TVec *Weights = null, double Alpha = 0.05); | Calculates regression coefficient confidence intervals, standard deviation of regression coefficients, residuals and (optional) basic regression statistics. |
Overload 1: void CalculateRegResults(TVec *Y, TMtx *V, bool Constant = true, TVec *Weights = null, double Alpha = 0.05);
Calculates additional parameters from multiple linear regression.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | TVec * | |
| 2 | V | TMtx * | |
| 3 | Constant = true | bool | |
| 4 | Weights = null | TVec * | |
| 5 | Alpha = 0.05 | double |
Declared in Dew::Stats::TRegResultClass · Dew.Stats/StatTools.h · Cross-compiler
Overload 2: void CalculateRegResults(TVec *Y, TMtx *V, TRegStatsClass *RegStats, bool Constant = true, TVec *Weights = null, double Alpha = 0.05);
Calculates regression coefficient confidence intervals, standard deviation of regression coefficients, residuals and (optional) basic regression statistics.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | TVec * | Vector of dependent variable. |
| 2 | V | TMtx * | inverse matrix of normal equations. |
| 3 | RegStats | TRegStatsClass * | Returns regression statistics. |
| 4 | Constant = true | bool | If true then include intercept term b(0) in calculations. If false - set intercept term (0) to 0.0. |
| 5 | Weights = null | TVec * | Weights (optional). |
| 6 | Alpha = 0.05 | double | Desired significance probability. |
Remarks:
The results are stored to:
- TRegResultClass::BConfInt : regression coefficients 100(1-Alpha) confidence intervals.
- TRegResultClass::BStdDev : standard deviation of regression coefficients.
- TRegResultClass::Residuals : Residuals.
- RegStats : Regression statistics.
Declared in Dew::Stats::TRegResultClass · Dew.Stats/StatTools.h · Cross-compiler