Click or drag to resize

QuickLinearArbitraryBaseRegression Class

Class for doing a quick and dirty linear regression with arbitrary base functions provided by the user. Numerical precision is limited, as it keeps only the XtX matrix; however, it is very fast and needs only little memory. Cannot handle very large differences between the base functions.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.RegressionQuickLinearArbitraryBaseRegression

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class QuickLinearArbitraryBaseRegression

The QuickLinearArbitraryBaseRegression type exposes the following members.

Constructors
 NameDescription
Public methodQuickLinearArbitraryBaseRegression(FuncDouble, Double) Initializes a new instance of the QuickLinearArbitraryBaseRegression class.
Public methodQuickLinearArbitraryBaseRegression(ActionDouble, VectorDouble, Int32) Initializes a new instance of the QuickLinearArbitraryBaseRegression class.
Public methodQuickLinearArbitraryBaseRegression(ActionDouble, VectorDouble, NullableDouble) Initializes a new instance of the QuickLinearArbitraryBaseRegression class. Here, some parameters can be fixed to given values (null means not fixed).
Public methodQuickLinearArbitraryBaseRegression(FuncDouble, Double, NullableDouble) Initializes a new instance of the QuickLinearArbitraryBaseRegression class. Here, some parameters can be fixed to given values.
Top
Properties
 NameDescription
Public propertyN Gets the number of entries added.
Top
Methods
 NameDescription
Public methodAdd Adds a data point to the regression.
Public methodAddRange Adds a sequence of data points to the regression.
Public methodAdjustedRSquared Gets the adjusted R squared value.
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 methodGetConfidenceBand(Double, Double) Gets the confidence band of the prediction at the specified x value.
Public methodGetConfidenceBand(IEnumerableDouble, Double) Gets the confidence band of the prediction for multiple x values.
Public methodGetCovarianceMatrix Gets the covariance matrix.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetÎnverseXtXMatrix Gets the inverse of the XtX matrix.
Public methodGetParameter Gets the parameter with the specified index.
Public methodGetParameterError Gets the standard error of the specified parameter.
Public methodGetParameters Gets the parameters of the regression.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetYErrorOfX Gets the mean prediction error of y at the specified x value.
Public methodGetYOfX Evaluates the fitted model at the specified x value.
Public methodGetYOfXFunction Creates a function that evaluates the fitted model y(x).
Public methodGetYVarianceOfX Gets the prediction variance in dependence on x.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRSquared Gets the coefficient of determination (R²).
Public methodSigma Returns the standard deviation of the regression.
Public methodSigmaSquared Returns the squared standard deviation of the regression.
Public methodSumChiSquared Gets the residual sum of squares.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also