{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/9359","repository_url":"https://api.github.com/repos/scipy/scipy","labels_url":"https://api.github.com/repos/scipy/scipy/issues/9359/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/9359/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/9359/events","html_url":"https://github.com/scipy/scipy/issues/9359","id":366932242,"node_id":"MDU6SXNzdWUzNjY5MzIyNDI=","number":9359,"title":"Planck distribution is a geometric distribution","user":{"login":"chrisb83","id":33071866,"node_id":"MDQ6VXNlcjMzMDcxODY2","avatar_url":"https://avatars0.githubusercontent.com/u/33071866?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisb83","html_url":"https://github.com/chrisb83","followers_url":"https://api.github.com/users/chrisb83/followers","following_url":"https://api.github.com/users/chrisb83/following{/other_user}","gists_url":"https://api.github.com/users/chrisb83/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisb83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisb83/subscriptions","organizations_url":"https://api.github.com/users/chrisb83/orgs","repos_url":"https://api.github.com/users/chrisb83/repos","events_url":"https://api.github.com/users/chrisb83/events{/privacy}","received_events_url":"https://api.github.com/users/chrisb83/received_events","type":"User","site_admin":false},"labels":[{"id":37340722,"node_id":"MDU6TGFiZWwzNzM0MDcyMg==","url":"https://api.github.com/repos/scipy/scipy/labels/scipy.stats","name":"scipy.stats","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-04T19:17:00Z","updated_at":"2018-10-06T13:14:32Z","closed_at":null,"author_association":"MEMBER","body":"`stats.planck` is just a geometric distribution `stats.geom` with `p = 1 - exp(-lambda)`. I am not aware that Planck distribution is a known name for it.\r\n\r\nCurrently, `planck` is incorrectly defined for negative `lambda` as well (see #9358).\r\n\r\nShould `planck` be deprecated?"},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/427572849","html_url":"https://github.com/scipy/scipy/issues/9359#issuecomment-427572849","issue_url":"https://api.github.com/repos/scipy/scipy/issues/9359","id":427572849,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzU3Mjg0OQ==","user":{"login":"LuckyPigeon","id":32315294,"node_id":"MDQ6VXNlcjMyMzE1Mjk0","avatar_url":"https://avatars0.githubusercontent.com/u/32315294?v=4","gravatar_id":"","url":"https://api.github.com/users/LuckyPigeon","html_url":"https://github.com/LuckyPigeon","followers_url":"https://api.github.com/users/LuckyPigeon/followers","following_url":"https://api.github.com/users/LuckyPigeon/following{/other_user}","gists_url":"https://api.github.com/users/LuckyPigeon/gists{/gist_id}","starred_url":"https://api.github.com/users/LuckyPigeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuckyPigeon/subscriptions","organizations_url":"https://api.github.com/users/LuckyPigeon/orgs","repos_url":"https://api.github.com/users/LuckyPigeon/repos","events_url":"https://api.github.com/users/LuckyPigeon/events{/privacy}","received_events_url":"https://api.github.com/users/LuckyPigeon/received_events","type":"User","site_admin":false},"created_at":"2018-10-06T13:14:32Z","updated_at":"2018-10-06T13:14:32Z","author_association":"NONE","body":"In the scipy docs, geom.pmf(k) = (1 - p) ^ (k - 1) * p and planck.pmf(k) = (1 - exp(-lambda)) * exp(-lambda * k) = (1 - (1  - exp(-lambda)) ^ ( k - 1) * (exp(-lambda)) * (1 - exp(-lambda)), so it's just not simple as p = 1 - exp(-lambda), so I think we shouldn't deprecated stats.planck. Thanks!"}}
{"actor":{"display_login":"LuckyPigeon"}}