Returns the Box-Cox transform of the vector for the specified parameter.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<double> BoxCoxTransform(
this Vector<double> vector,
double lambda
)
<ExtensionAttribute>
Public Shared Function BoxCoxTransform (
vector As Vector(Of Double),
lambda As Double
) As Vector(Of Double)
public:
[ExtensionAttribute]
static Vector<double>^ BoxCoxTransform(
Vector<double>^ vector,
double lambda
)
[<ExtensionAttribute>]
static member BoxCoxTransform :
vector : Vector<float> *
lambda : float -> Vector<float>
Parameters
- vector
- Type: Extreme.MathematicsVectorDouble
The vector to transform. - lambda
- Type: SystemDouble
The transformation parameter.
Return Value
Type:
VectorDoubleA vector.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
VectorDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
The Box-Cox transform is often used to remedy the effect of non-normality.
Reference