Add propose/accept/reject logic to prior_samples sampler - #1624
Conversation
|
This looks good to me. |
|
@paciorek Are you able to re-generate the MCMC gold file using this branch |
|
Yes, I can look at that. |
|
@danielturek just to make sure.... Previously in the gold file, I see this pertaining to prior_samples sampler: """ Now when I manually run lines 2888-2931, I only see: """ Is that what you expect? I guess the omission of the previous message makes sense given the new correct behavior, but I don't understand why the "No samplers" message would only now appear in the last MCMC configuration where 'b' is not assigned a sampler. |
|
@paciorek Yes, this looks correct to me. The MCMC configuration created on line 2926 specifies |
This adds MH propose/accept/reject logic for the
prior_samplessampler.There is no longer an option for "sequential" draws from the provided
samples, but rather on every MCMC iteration, a random draw from the providedsamplesis used as the proposal value(s).