VectorExtensions.BoxCoxTransform Method

Returns the Box-Cox transform of the vector for the specified parameter.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public static Vector<double> BoxCoxTransform(
	this Vector<double> vector,
	double lambda
)

Parameters

vector  Vector<Double>
The vector to transform.
lambda  Double
The transformation parameter.

Return Value

Vector<Double>
A vector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<Double>. 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).

Remarks

The Box-Cox transform is often used to remedy the effect of non-normality.

See Also