Replies: 1 comment
-
I am not a specialist of statistics, but your reasoning seems correct to me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Shouldn't the "convention" be, that if
kernel.density(x)
equals0.0
theEmpiricalDistribution#density()
method should also return0.0
and notNaN
ifkB(binIndex)==0.0
?hipparchus/hipparchus-stat/src/main/java/org/hipparchus/stat/fitting/EmpiricalDistribution.java
Line 581 in a8fe2cf
So the patch could be something like this?
Beta Was this translation helpful? Give feedback.
All reactions