nimble-dev / nimble

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

warning in CAR_normal sampler when zero_mean causes a problem #1400

Closed danielturek closed 10 months ago

danielturek commented 10 months ago

Adds a warning to the CAR_normal sampler, which is triggered when zero_mean = 1 (centering of the CAR process values), and this centering causes an invalid model state, at some point during the MCMC sampling.

Fixes #1387