Click or drag to resize

BoxCoxLogLikelihood(DoubleVector, Double, Double) Method

Calculates the Box Cox log-likelihood function for the given data and and lambda value.

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

Parameters

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

Return Value

Double
The log-likelihood function value for the given data and lambda value.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if not all data values are positive.
See Also