{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/4604","labels_url":"https://api.github.com/repos/scipy/scipy/issues/4604/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/4604/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/4604/events","html_url":"https://github.com/scipy/scipy/pull/4604","id":60152402,"number":4604,"title":"scipy.stats: generalized normal distribution","user":{"login":"jonycgn","id":7364820,"avatar_url":"https://avatars.githubusercontent.com/u/7364820?v=3","gravatar_id":"","url":"https://api.github.com/users/jonycgn","html_url":"https://github.com/jonycgn","followers_url":"https://api.github.com/users/jonycgn/followers","following_url":"https://api.github.com/users/jonycgn/following{/other_user}","gists_url":"https://api.github.com/users/jonycgn/gists{/gist_id}","starred_url":"https://api.github.com/users/jonycgn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonycgn/subscriptions","organizations_url":"https://api.github.com/users/jonycgn/orgs","repos_url":"https://api.github.com/users/jonycgn/repos","events_url":"https://api.github.com/users/jonycgn/events{/privacy}","received_events_url":"https://api.github.com/users/jonycgn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/enhancement","name":"enhancement","color":"bfe5bf"},{"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":7,"created_at":"2015-03-06T20:12:32Z","updated_at":"2015-03-06T22:50:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scipy/scipy/pulls/4604","html_url":"https://github.com/scipy/scipy/pull/4604","diff_url":"https://github.com/scipy/scipy/pull/4604.diff","patch_url":"https://github.com/scipy/scipy/pull/4604.patch"},"body":"hi,\r\n\r\nfirst time contributing to scipy for me, so please don't slap me for breaking any conventions. i'm trying to follow the rules.\r\n\r\nthis is an implementation of the generalized normal distribution for scipy.stats. this distribution is widely used in signal processing and in neuroscience.\r\n\r\nthe other distribution is the same, except that the lower half has been cut off. if i find the time, i might work out entropy/stats for it, but for now this is what i have.\r\n\r\ni've done some manual testing. how do i include this in the unit tests/run the unit tests? also, i'd be glad to receive input/comments.\r\n\r\nthanks!"},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/77650992","html_url":"https://github.com/scipy/scipy/pull/4604#issuecomment-77650992","issue_url":"https://api.github.com/repos/scipy/scipy/issues/4604","id":77650992,"user":{"login":"jonycgn","id":7364820,"avatar_url":"https://avatars.githubusercontent.com/u/7364820?v=3","gravatar_id":"","url":"https://api.github.com/users/jonycgn","html_url":"https://github.com/jonycgn","followers_url":"https://api.github.com/users/jonycgn/followers","following_url":"https://api.github.com/users/jonycgn/following{/other_user}","gists_url":"https://api.github.com/users/jonycgn/gists{/gist_id}","starred_url":"https://api.github.com/users/jonycgn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonycgn/subscriptions","organizations_url":"https://api.github.com/users/jonycgn/orgs","repos_url":"https://api.github.com/users/jonycgn/repos","events_url":"https://api.github.com/users/jonycgn/events{/privacy}","received_events_url":"https://api.github.com/users/jonycgn/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T22:50:42Z","updated_at":"2015-03-06T22:50:42Z","body":"thanks for the pointers! i'll look at that when i find the time, and meanwhile wait for the standard tests to fail ;)\r\n\r\non a side note, regarding comparing to the normal/laplacian, i did some manual tests earlier and found the laplacian sf to be inaccurate. see my comment here:\r\nhttps://github.com/scipy/scipy/issues/2509#issuecomment-77610250\r\nso this would probably have to be fixed too to make that test pass ...\r\n"}}