{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/6011","repository_url":"https://api.github.com/repos/scipy/scipy","labels_url":"https://api.github.com/repos/scipy/scipy/issues/6011/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/6011/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/6011/events","html_url":"https://github.com/scipy/scipy/issues/6011","id":144108953,"number":6011,"title":"The von-Mises entropy is broken","user":{"login":"NeilGirdhar","id":730137,"avatar_url":"https://avatars.githubusercontent.com/u/730137?v=3","gravatar_id":"","url":"https://api.github.com/users/NeilGirdhar","html_url":"https://github.com/NeilGirdhar","followers_url":"https://api.github.com/users/NeilGirdhar/followers","following_url":"https://api.github.com/users/NeilGirdhar/following{/other_user}","gists_url":"https://api.github.com/users/NeilGirdhar/gists{/gist_id}","starred_url":"https://api.github.com/users/NeilGirdhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeilGirdhar/subscriptions","organizations_url":"https://api.github.com/users/NeilGirdhar/orgs","repos_url":"https://api.github.com/users/NeilGirdhar/repos","events_url":"https://api.github.com/users/NeilGirdhar/events{/privacy}","received_events_url":"https://api.github.com/users/NeilGirdhar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/defect","name":"defect","color":"e11d21"},{"url":"https://api.github.com/repos/scipy/scipy/labels/scipy.stats","name":"scipy.stats","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-28T23:21:46Z","updated_at":"2016-03-28T23:52:09Z","closed_at":null,"body":"`ss.vonmises(2, 0).entropy()`\r\n\r\nShould be 1.2663212919642859, but gives some crazy error instead that suggests that the calculation is being done numerically.  The calculation should be done analytically:\r\n\r\n```\r\nfrom scipy.special import iv\r\n\r\n                kappa = scipy_distribution.args[0]\r\n                scipy_entropy = (\r\n                    -kappa * iv(1, kappa) / iv(0, kappa)\r\n                    + math.log(2 * math.pi * iv(0, kappa)))\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/202631154","html_url":"https://github.com/scipy/scipy/issues/6011#issuecomment-202631154","issue_url":"https://api.github.com/repos/scipy/scipy/issues/6011","id":202631154,"user":{"login":"NeilGirdhar","id":730137,"avatar_url":"https://avatars.githubusercontent.com/u/730137?v=3","gravatar_id":"","url":"https://api.github.com/users/NeilGirdhar","html_url":"https://github.com/NeilGirdhar","followers_url":"https://api.github.com/users/NeilGirdhar/followers","following_url":"https://api.github.com/users/NeilGirdhar/following{/other_user}","gists_url":"https://api.github.com/users/NeilGirdhar/gists{/gist_id}","starred_url":"https://api.github.com/users/NeilGirdhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeilGirdhar/subscriptions","organizations_url":"https://api.github.com/users/NeilGirdhar/orgs","repos_url":"https://api.github.com/users/NeilGirdhar/repos","events_url":"https://api.github.com/users/NeilGirdhar/events{/privacy}","received_events_url":"https://api.github.com/users/NeilGirdhar/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T23:52:09Z","updated_at":"2016-03-28T23:52:09Z","body":"@ev-br Ah, good point!  In my code, I coded the VonMises Fisher distribution for which k can be larger."}}