Numerics is a free and open-source library for .NET developed by USACE-RMC, providing a comprehensive set of methods and algorithms for numerical computations and statistical analysis.
In the BoxCox.cs there was a LogLikelihood() method with no current references. In the FitLamba() method right above, it seemed to be using the log likelihood as the function to fit lambda to. I'm assuming the LogLikelihood() function was written to be used in FitLamba() to make it easier to read and break down. I wrote another version that uses the LogLikelihood() function instead of rewriting the same code. I've left the original method commented out right above it.
In the BoxCox.cs there was a LogLikelihood() method with no current references. In the FitLamba() method right above, it seemed to be using the log likelihood as the function to fit lambda to. I'm assuming the LogLikelihood() function was written to be used in FitLamba() to make it easier to read and break down. I wrote another version that uses the LogLikelihood() function instead of rewriting the same code. I've left the original method commented out right above it.