nimble-dev / nimble

The base NIMBLE package for R
http://R-nimble.org
BSD 3-Clause "New" or "Revised" License
156 stars 23 forks source link

Fix RW_multinomial sampler #1341

Closed danielturek closed 9 months ago

danielturek commented 1 year ago

Fixes dubious results in RW_multinomial sampler, by correcting the reverse proposal probability in the MH acceptance probability calculation.

This addresses NCT issue # 486.

danielturek commented 1 year ago

I'm fine with anyone merging this any time, I have confidence in the (updated) RW_multinomial sampler. Presumable if I just leave this open, @paciorek will merge it at some point.

paciorek commented 9 months ago

Merged manually to deal with conflicts.