new RW_multinomial sampler#1478
Conversation
|
A more complete description of this PR, for posterity, and for when @paciorek reads these to update NEWS (prior to release). This PR reinstates a
Details of the new sampler:
A variety of tests, those which were added to |
|
Thanks @danielturek . I like this and it would provide a basic functionality. I am wondering about a couple of aspects.
|
|
Not getting into substance here, but we need submission of 1.2.1 to CRAN as of 2024-07-31. That means I'd like anything on this front in a passing PR by, say, this weekend. I agree that ideally we'd at least have a basic fix/functionality in the release. |
|
@perrydv I agree we can envision ways in which >1 observations are proposed to be moved on each "try", perhaps simply as some fraction of Noting that the I agree also, the notion of "jointly sample @perrydv Do you want to discuss other ideas? My main ideas are in the first paragraph above. |
|
@perrydv Update to the Addition of On each independent "try", a random (non-empty) category is selected. From this category, we propose moving Again, each independent proposal is to move The default value of An additional (more stringent) test is also added, for asymptotic correctness. |
|
@danielturek @paciorek OK if the goal is to get a basic sampler that at least works for latent multinomials, we can go with this. We know there is some risk that other priorities will get in the way of improving on the basic version in the future, so we'll have to keep it on the radar. A technical detail is that the |
|
@perrydv I believe that case is handled correctly by the calculations. |
|
Merging this in. |
The title says it all.