CurveFit Class

Linear regression algorithm.

Definition

Namespace: Gemstone.Numeric.Analysis
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.169 -- Release Build+8ea56ff35548d526d505b6c30a0e7b1d71cedef9
public static class CurveFit
Inheritance
Object    CurveFit

Methods

Compute(Int32, IEnumerablePoint) Computes linear regression over given values.
Compute(Int32, IListDouble, IListDouble) Computes linear regression over given values.
LeastSquares(Double, Double, Double, Double) Uses least squares linear regression to estimate the coefficients a and b from the given (x,y) data points for the equation y = a + bx.
LeastSquares(Double, Double, Double, Double, Double, Double) Uses least squares linear regression to estimate the coefficients a, b, and c from the given (x,y,z) data points for the equation z = a + bx + cy.

See Also