Click or drag to resize

BoxCoxLogLikelihood(DoubleVector, 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
)

Parameters

data  DoubleVector
The data. Must contain positve values.
lambda  Double
Lambda value.

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