Open
Description
The implementation of the Entropy for the Pareto distribution -> (https://github.com/mathnet/mathnet-numerics/blob/master/src/Numerics/Distributions/Pareto.cs) line 167 has the wrong sign:
public double Entropy => Math.Log(_shape/_scale) - (1.0/_shape) - 1.0;
should be:
public double Entropy => Math.Log(_scale/_shape) + (1.0/_shape) + 1.0;
as, e.g., found in https://en.wikipedia.org/wiki/Pareto_distribution
Metadata
Metadata
Assignees
Labels
No labels