{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/117","labels_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/117/comments","events_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/117/events","html_url":"https://github.com/JuliaStats/StatsBase.jl/pull/117","id":87034212,"number":117,"title":"wquantile","user":{"login":"matthieugomez","id":6223837,"avatar_url":"https://avatars.githubusercontent.com/u/6223837?v=3","gravatar_id":"","url":"https://api.github.com/users/matthieugomez","html_url":"https://github.com/matthieugomez","followers_url":"https://api.github.com/users/matthieugomez/followers","following_url":"https://api.github.com/users/matthieugomez/following{/other_user}","gists_url":"https://api.github.com/users/matthieugomez/gists{/gist_id}","starred_url":"https://api.github.com/users/matthieugomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthieugomez/subscriptions","organizations_url":"https://api.github.com/users/matthieugomez/orgs","repos_url":"https://api.github.com/users/matthieugomez/repos","events_url":"https://api.github.com/users/matthieugomez/events{/privacy}","received_events_url":"https://api.github.com/users/matthieugomez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-06-10T16:49:32Z","updated_at":"2015-09-16T08:15:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/pulls/117","html_url":"https://github.com/JuliaStats/StatsBase.jl/pull/117","diff_url":"https://github.com/JuliaStats/StatsBase.jl/pull/117.diff","patch_url":"https://github.com/JuliaStats/StatsBase.jl/pull/117.patch"},"body":"This function implements a weighted quantile. It is a generalization of quantile type 7 as implemented in Julia base (by that I mean results are the same with w = 1). \r\n\r\nThe function follows the notation in the R help file for quantile, which hopefully will make it easy to add more quantile types. Only non negative weights are allowed.\r\n\r\nI've added some tests and documentation.\r\n\r\nThis is my first pull request so I may be doing some things incorrectly. In particular, I'm not sure about the order of arguments (weight vs quantiles)."},"comment":{"url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/comments/140665654","html_url":"https://github.com/JuliaStats/StatsBase.jl/pull/117#issuecomment-140665654","issue_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/117","id":140665654,"user":{"login":"aviks","id":378918,"avatar_url":"https://avatars.githubusercontent.com/u/378918?v=3","gravatar_id":"","url":"https://api.github.com/users/aviks","html_url":"https://github.com/aviks","followers_url":"https://api.github.com/users/aviks/followers","following_url":"https://api.github.com/users/aviks/following{/other_user}","gists_url":"https://api.github.com/users/aviks/gists{/gist_id}","starred_url":"https://api.github.com/users/aviks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviks/subscriptions","organizations_url":"https://api.github.com/users/aviks/orgs","repos_url":"https://api.github.com/users/aviks/repos","events_url":"https://api.github.com/users/aviks/events{/privacy}","received_events_url":"https://api.github.com/users/aviks/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T08:15:30Z","updated_at":"2015-09-16T08:15:30Z","body":"Bump?"}}