{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaStats/GLM.jl/issues/121","labels_url":"https://api.github.com/repos/JuliaStats/GLM.jl/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/GLM.jl/issues/121/comments","events_url":"https://api.github.com/repos/JuliaStats/GLM.jl/issues/121/events","html_url":"https://github.com/JuliaStats/GLM.jl/issues/121","id":126802558,"number":121,"title":"Negative binomial regression","user":{"login":"ahwillia","id":636625,"avatar_url":"https://avatars.githubusercontent.com/u/636625?v=3","gravatar_id":"","url":"https://api.github.com/users/ahwillia","html_url":"https://github.com/ahwillia","followers_url":"https://api.github.com/users/ahwillia/followers","following_url":"https://api.github.com/users/ahwillia/following{/other_user}","gists_url":"https://api.github.com/users/ahwillia/gists{/gist_id}","starred_url":"https://api.github.com/users/ahwillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahwillia/subscriptions","organizations_url":"https://api.github.com/users/ahwillia/orgs","repos_url":"https://api.github.com/users/ahwillia/repos","events_url":"https://api.github.com/users/ahwillia/events{/privacy}","received_events_url":"https://api.github.com/users/ahwillia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-15T03:45:29Z","updated_at":"2016-01-15T03:45:29Z","closed_at":null,"body":"I've been doing a little work with negative binomial regressions lately and noticed that they weren't supported by this package yet. Looking through the source code, I'm not 100% certain what I would need  to add to support this functionality. I gather I need to define functions for `canonicallink`, `glmvar`, `mustart`, `devresid`... but I'll admit that I'm not 100% sure what a couple of these refer to.\r\n\r\nAs a corollary to this, it would be nice to add some comments to the `glmtools.jl` so that it is more understandable for an outside observer (like myself!). Or even some documentation that explains the guts, though this would be more involved."}}