{"action":"created","issue":{"url":"https://api.github.com/repos/stan-dev/math/issues/914","repository_url":"https://api.github.com/repos/stan-dev/math","labels_url":"https://api.github.com/repos/stan-dev/math/issues/914/labels{/name}","comments_url":"https://api.github.com/repos/stan-dev/math/issues/914/comments","events_url":"https://api.github.com/repos/stan-dev/math/issues/914/events","html_url":"https://github.com/stan-dev/math/issues/914","id":335110949,"node_id":"MDU6SXNzdWUzMzUxMTA5NDk=","number":914,"title":"beta distribution mean/count parameterization","user":{"login":"bob-carpenter","id":3383807,"node_id":"MDQ6VXNlcjMzODM4MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/3383807?v=4","gravatar_id":"","url":"https://api.github.com/users/bob-carpenter","html_url":"https://github.com/bob-carpenter","followers_url":"https://api.github.com/users/bob-carpenter/followers","following_url":"https://api.github.com/users/bob-carpenter/following{/other_user}","gists_url":"https://api.github.com/users/bob-carpenter/gists{/gist_id}","starred_url":"https://api.github.com/users/bob-carpenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bob-carpenter/subscriptions","organizations_url":"https://api.github.com/users/bob-carpenter/orgs","repos_url":"https://api.github.com/users/bob-carpenter/repos","events_url":"https://api.github.com/users/bob-carpenter/events{/privacy}","received_events_url":"https://api.github.com/users/bob-carpenter/received_events","type":"User","site_admin":false},"labels":[{"id":530279665,"node_id":"MDU6TGFiZWw1MzAyNzk2NjU=","url":"https://api.github.com/repos/stan-dev/math/labels/good%20first%20issue","name":"good first issue","color":"1d76db","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/stan-dev/math/milestones/3","html_url":"https://github.com/stan-dev/math/milestone/3","labels_url":"https://api.github.com/repos/stan-dev/math/milestones/3/labels","id":1195697,"node_id":"MDk6TWlsZXN0b25lMTE5NTY5Nw==","number":3,"title":"Future","description":"For tasks and features not scheduled for the next release. ","creator":{"login":"syclik","id":425751,"node_id":"MDQ6VXNlcjQyNTc1MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/425751?v=4","gravatar_id":"","url":"https://api.github.com/users/syclik","html_url":"https://github.com/syclik","followers_url":"https://api.github.com/users/syclik/followers","following_url":"https://api.github.com/users/syclik/following{/other_user}","gists_url":"https://api.github.com/users/syclik/gists{/gist_id}","starred_url":"https://api.github.com/users/syclik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syclik/subscriptions","organizations_url":"https://api.github.com/users/syclik/orgs","repos_url":"https://api.github.com/users/syclik/repos","events_url":"https://api.github.com/users/syclik/events{/privacy}","received_events_url":"https://api.github.com/users/syclik/received_events","type":"User","site_admin":false},"open_issues":62,"closed_issues":1,"state":"open","created_at":"2015-07-06T20:56:33Z","updated_at":"2018-07-13T15:29:33Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-06-23T15:55:24Z","updated_at":"2018-08-06T16:56:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"#### Summary:\r\n\r\nImplemement a paramterization of the `beta(a, b)` in terms of `p = a / (a + b)` and `c = a + b`.\r\n\r\n\r\n\r\n#### Description:\r\n\r\nFor `p` in [0, 1], `c > 0` and `y` in [0, 1], \r\n\r\n```\r\nbeta_proportion(y | p, c) = beta(y | p * c, (1 - p) * c)\r\n```\r\n\r\nThis will require a `beta_proportion`\r\n\r\n* [ ] `_lpmf`\r\n* [ ] `_lcdf`\r\n* [ ] `_lccdf`\r\n* [ ] `_rng`\r\n\r\nAny or all of these `beta_proportion_X` functions may be implemented in `prim` by delegating to the equivalent `beta_X` function.  \r\n\r\nIt is not a requirement for completing this issue, but it would be worth implementing `beta_proportion_lpmf` directly with analytic gradients for the speed and memory savings.\r\n\r\n#### Current Version:\r\nv2.17.0"},"comment":{"url":"https://api.github.com/repos/stan-dev/math/issues/comments/410776045","html_url":"https://github.com/stan-dev/math/issues/914#issuecomment-410776045","issue_url":"https://api.github.com/repos/stan-dev/math/issues/914","id":410776045,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDc3NjA0NQ==","user":{"login":"roualdes","id":3252729,"node_id":"MDQ6VXNlcjMyNTI3Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/3252729?v=4","gravatar_id":"","url":"https://api.github.com/users/roualdes","html_url":"https://github.com/roualdes","followers_url":"https://api.github.com/users/roualdes/followers","following_url":"https://api.github.com/users/roualdes/following{/other_user}","gists_url":"https://api.github.com/users/roualdes/gists{/gist_id}","starred_url":"https://api.github.com/users/roualdes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roualdes/subscriptions","organizations_url":"https://api.github.com/users/roualdes/orgs","repos_url":"https://api.github.com/users/roualdes/repos","events_url":"https://api.github.com/users/roualdes/events{/privacy}","received_events_url":"https://api.github.com/users/roualdes/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T16:56:28Z","updated_at":"2018-08-06T16:56:28Z","author_association":"CONTRIBUTOR","body":"I'm working on this issue and wondering, from where do you get the 22 decimal places of precision to use in the tests of, for instance, `math/test/prob/beta/beta_test.hpp`?\r\n\r\nMy first thought was R or Python, but despite their willingness to print 22 decimal places, they start to disagree starting at the 17 decimal place, and neither R nor Python agrees with the full number(s) given in the file above.\r\n\r\nThanks."}}
{"actor":{"display_login":"roualdes"}}