paulponcet / statip

Miscellaneous statistical functions in R
2 stars 1 forks source link

Squared Hellinger Distance #1

Closed benjones13 closed 4 years ago

benjones13 commented 5 years ago

I may be mistaken, but I think that the hellinger function is returning the square of the hellinger distance, rather than the Hellinger distance itself, as per the definition: https://en.wikipedia.org/wiki/Hellinger_distance i.e H^{2} = 1 - int(sqrt(f(x)g(x)))

paulponcet commented 4 years ago

Thank you very much, this should be fixed now.