Struct RegressRes

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

struct RegressRes ;

Fields

NameTypeDescription
adjustedR2 doubleThe adjusted coefficient of determination.
betas double[]The coefficients, one for each range in X. These will be in the order that the X ranges were passed in.
lowerBound double[]The lower confidence bounds of the beta terms, at the confidence level specificied. (Default 0.95).
overallP doubleThe 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[]The P-value for the alternative that the corresponding beta value is different from zero against the null that it is equal to zero.
R2 doubleThe coefficient of determination.
residualError doubleThe root mean square of the residuals.
stdErr double[]The standard error terms of the X ranges passed in.
upperBound double[]The upper confidence bounds of the beta terms, at the confidence level specificied. (Default 0.95).

Methods

NameDescription
toString Print out the results in the default format.