Click or drag to resize

BoxCox(DoubleVector, Interval, Double) Constructor

Constructs a BoxCox object for the given data. A value for lambda which maximizes the log-likelihood function for the given interval for lambda is computed.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public BoxCox(
	DoubleVector data,
	Interval lambdaInterval,
	double lambdaEpsilon
)

Parameters

data  DoubleVector
The data. Must contain all positive values.
lambdaInterval  Interval
The interval to search for a value of lambda which maximizes the log-likelihood function.
lambdaEpsilon  Double
Lambda values less than lambdaEpsilon are considered equal to zero.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if not all data values are positive.
See Also