Click or drag to resize

QuickLinearRegression Methods

The QuickLinearRegression type exposes the following members.

Methods
 NameDescription
Public methodAdd Adds a data point to the regression.
Public methodAddRange Adds data points to the statistics.
Public methodAdjustedRSquared Returns the adjusted squared correlation coeffient.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetA0 Gets the intercept value of the linear regression. Returns NaN if not enough data points entered.
Public methodGetA0Error Gets the error of the parameter A0.
Public methodGetA1 Gets the slope value of the linear regression. Returns NaN if not enough data points entered.
Public methodGetA1Error Gets the error of the parameter A1.
Public methodGetConfidenceBand(IEnumerableDouble, Double) Gets the confidence band of the prediction for multiple x-values.
Public methodGetConfidenceBand(Double, Double, MatrixDouble) Gets the confidence band of the prediction.
Public methodGetCovarianceMatrix Gets the covariance matrix of the fit.
Public methodGetDeterminant Returns the determinant of regression. If zero, not enough data points have been entered.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetIntersectionPoint Gets the intersection point of two linear regressions
Public methodStatic memberGetRelativeYBetweenRegressions Gets the relative distance of a point (x, y) between two regression lines.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetX0 Gets the intercept of the linear regression with the X-axis. Returns NaN if not enough data points entered.
Public methodGetYErrorOfX Gets the mean prediction error of y in dependence on x.
Public methodGetYOfX Gets the y value for a given x value. Note that in every call of this function the coefficients a0 and a1 are calculated again. For repeated calls, better use GetYOfXFunction, but note that this function represents the state of the regression at the time of this call.
Public methodGetYOfXFunction Returns a function to calculate y in dependence of x. Please note note that the returned function represents the state of the regression at the time of the call, i.e. subsequent additions of data does not change the function.
Public methodGetYVarianceOfX Gets the prediction variance in dependence on x.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRSquared Returns the squared (Pearson) correlation coefficient R².
Public methodSigma Returns the standard deviation of the regression.
Public methodSigmaSquared Returns the squared standard deviation of the regression.
Public methodSumChiSquared Returns the sum of squared errors between the original y and the predicted y.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also