You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Classes > TRegResultClass Class > TRegResultClass Methods > CalculateRegResults Method > TRegResultClass.CalculateRegResults Method (TVec, TMtx, TRegStatsClass, bool, TVec, double)
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
TRegResultClass.CalculateRegResults Method (TVec, TMtx, TRegStatsClass, bool, TVec, double)

Calculates regression coefficient confidence intervals, standard deviation of regression coefficients, residuals and (optional) basic regression statistics.

Syntax
C#
Visual Basic
public void CalculateRegResults(TVec Y, TMtx V, TRegStatsClass RegStats, bool Constant, TVec Weights, double Alpha);
Parameters 
Description 
TVec Y 
Vector of dependent variable. 
TMtx V 
inverse matrix of normal equations. 
TRegStatsClass RegStats 
Returns regression statistics. 
bool Constant 
If true then include intercept term b(0) in calculations. If false - set intercept term (0) to 0.0. 
TVec Weights 
Weights (optional). 
double Alpha 
Desired significance probability. 

The results are stored to:

  • crefBConfInt : regression coefficients 100(1-Alpha) confidence intervals.
  • crefBStdDev : standard deviation of regression coefficients.
  • crefResiduals : Residuals.
  • RegStats : Regression statistics.
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!