Constructs a BoxCox object for the given data, finding a value of lambda which maximizes the log-likelihood function over the lambda interval LAMBDA_EPSILON.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public BoxCox(
	DoubleVector data
)
Visual Basic (Declaration)
Public Sub New ( _
	data As DoubleVector _
)
Visual C++
public:
BoxCox(
	DoubleVector^ data
)

Parameters

data
Type: CenterSpace.NMath.Core..::.DoubleVector
The data. Must contain all positive values.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if not all data values are positive.

See Also