RegressRes

Struct that holds the results of a linear regression. It's a plain old data struct.

Members

Functions

toString
string toString()

Print out the results in the default format.

Variables

R2
double R2;

The coefficient of determination.

adjustedR2
double adjustedR2;

The adjusted coefficient of determination.

betas
double[] betas;

The coefficients, one for each range in X. These will be in the order * that the X ranges were passed in.

lowerBound
double[] lowerBound;

The lower confidence bounds of the beta terms, at the confidence level * specificied. (Default 0.95).

overallP
double overallP;

The P-value for the model as a whole. Based on an F-statistic. The * null here is that the model has no predictive value, the alternative * is that it does.

p
double[] p;

The P-value for the alternative that the corresponding beta value is * different from zero against the null that it is equal to zero.

residualError
double residualError;

The root mean square of the residuals.

stdErr
double[] stdErr;

The standard error terms of the X ranges passed in.

upperBound
double[] upperBound;

The upper confidence bounds of the beta terms, at the confidence level * specificied. (Default 0.95).

Meta