You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Types > Dew.Stats.TMultiRegressFun Type
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
Dew.Stats.TMultiRegressFun Type

Defines multiple regression function.

Syntax
C#
Visual Basic
public delegate void TMultiRegressFun([In] TVec B, [In] TVecList X, [In] TVec Y);

Regress.cs

The type describes the vectorized regression function of several regression parameters (B array) and multiple independent variables X. The TMultiRegressFun is used in several regression procedure. The X holds a list of independent variables and the result of the function is stored in to the Y parameter. The const parameter of "y" applies to the pointer and not to the contents of the object. When performance is not an issue, the TRegressFun can be easier to use.

"Eckerle4" function from NIST files:

private void Eckerle4(TVec B, TVecList x, TVec y) { //B[0]/B[1] * Exp(-0.5*Sqr((X-B[2])/B[1])); y.Normalize(X[0], B[2], B[1]); y.Sqr(); y.Scale(-0.5); y.Exp(); y.Scale(B[0]/B[1]); }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!