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.StatsAssembly: 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
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if not all data values are positive. |