Weight Functions Class
Contains a set of standard weight functions that can be used in linear and nonlinear curve fitting.
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public abstract class WeightFunctions
- Inheritance
- Object → WeightFunctions
Remarks
A weight function is a function that takes two parameters: the X and Y values of an observation, and returns the weight associated with that observation. The function is encapsulated in a function of two variables delegate.
The WeightFunctions class defines a set of commonly used weight functions for use in linear and nonlinear least squares fitting.
Constructors
Weight | Initializes a new instance of the WeightFunctions class |
Methods
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) |
Get | Returns a weight vector corresponding to the supplied error values using Tukey's bisquare estimator. |
Get | Returns a weight vector corresponding to the supplied error values using Tukey's bisquare estimator. |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Returns a weight vector corresponding to the supplied error values using Huber's M-estimator. |
Get | Returns a weight vector corresponding to the supplied error values using Huber's M-estimator. |
Get | Gets the Type of the current instance. (Inherited from Object) |
Get | Returns a weight vector corresponding to the supplied error values. |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Fields
None | There is no weight function. All weights are assumed to be equal. |
One | The weight is equal to the reciprocal of the x-value. |
One | The weight is equal to the reciprocal of the square of the x-value. |
One | The weight is equal to the reciprocal of the y-value. |
One | The weight is equal to the reciprocal of the square of the y-value. |