Support negative-binomial observations in the Horseshoe sampler#101
Conversation
edc2700 to
d4483d4
Compare
|
I've pushed some of the updates mentioned in my comments. |
brandonwillard
left a comment
There was a problem hiding this comment.
While updating the tests, I noticed that there's an unsupported observation distribution case for HSStep that isn't raising an exception (i.e. the second test in test_HSStep_unsupported).
46c079b to
ead5a00
Compare
ead5a00 to
8ff2394
Compare
brandonwillard
left a comment
There was a problem hiding this comment.
I just added the missing polyagamma requirement to the CI test setup. We still need coverage for some lines, though. @xjing76, can you add tests for those cases?
Yes! |
24d79cf to
cab572e
Compare
|
Did some additional exploration of the convergence issue with NB expansion. So I did some more exploration, on the NegativeBinomial portion itself. And I set up the problem without the HSstep. For N_draws = 50 However, with Metropolis sampling on https://gist.github.com/xjing76/1fe297253adb5a58c721c6cc4f38b446 |
05c4804 to
98698e2
Compare
bd463d3 to
e5e02cd
Compare
d94e4ca to
892fe52
Compare
brandonwillard
left a comment
There was a problem hiding this comment.
Looks good; just needs to be rebased and squashed (there are two commits with the same title).
892fe52 to
c5a0cec
Compare
Here is a functionally working branch of HSstep with NB expansion. However, in terms of sampling results of betas. the result is still a bit off.