entropy for rv_discrete is incorrect?! #2996

Closed
serbkamu opened this Issue Oct 16, 2013 · 1 comment

Comments

Projects
None yet
2 participants

I could not find any issues about it, so may be I don't understand something, but I think that entropy of uniform distribution on ( 0, 1 ) must be equal to 1.

drv = rv_discrete( values = ( ( 0, 1 ), ( 0.5, 0.5 ) ) )
drv.entropy()
array(0.6931471805599453)

Owner

pv commented Oct 16, 2013

It's base-e, not base 2.

rgommers closed this in #3006 Oct 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment