Click or drag to resize

BoxCoxTransform(DoubleVector, Double, Double) Method

Performs the Box Cox transformation transformed data[i] = (data[i]^lambda - 1)/lambda.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleVector Transform(
	DoubleVector data,
	double lambda,
	double epsilon
)

Parameters

data  DoubleVector
The data. Must contain positive values.
lambda  Double
Lambda.
epsilon  Double
Values of lambda less than epsilon are considered equal to zero.

Return Value

DoubleVector
Vector containg the transformed data.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if not all data values are positive.
See Also