Quick |
public class QuickLinearRegression
The QuickLinearRegression type exposes the following members.
Name | Description | |
---|---|---|
QuickLinearRegression | Initializes a new instance of the QuickLinearRegression class |
Name | Description | |
---|---|---|
MeanX | ||
MeanY | ||
N | Returns the number of entries added. | |
PearsonCorrelationCoefficient |
Name | Description | |
---|---|---|
Add | Adds a data point to the regression. | |
AddRange | Adds data points to the statistics. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetA0 | Gets the intercept value of the linear regression. Returns NaN if not enough data points entered. | |
GetA1 | Gets the slope value of the linear regression. Returns NaN if not enough data points entered. | |
GetDeterminant | Returns the determinant of regression. If zero, not enough data points have been entered. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
GetX0 | Gets the intercept of the linear regression with the X-axis. Returns NaN if not enough data points entered. | |
GetYOfX | 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. | |
GetYOfXFunction | 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. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |